Automate

 View Only
  • 1.  Skip Indicator

    Posted 12-06-2022 11:04
    Hi all,

    does anyone know if 'skip indicator' has any issues in Studio 20.2.8 (32 bit) build 220328002 ?
    We've been using different scripts for a long time now, on of those is a BAPI_MATERIAL_SAVEDATA, and within that BAPI we use parameters that sometimes need to be filled with a 'X', like f.e. Batch Management Required. We tend to use the Skip Indicator when extending existing materials.
    We recently noticed that the Skip Indicator '\' will no longer skip that value but will erase its entry.
    Skip Indicator is correctly filled in  within RUN-tab in Studio, in Studio Options DataSettings, in Excel STUDIO-tab.
    Anything I can  do to use the Skip Indicator as it's supposed to, to skip an entry ?

    Many thanks, Jan

    ------------------------------
    jan ketele | release expert
    Xeikon Manufacturing NV | 003234431875
    ------------------------------


  • 2.  RE: Skip Indicator

    Posted 12-08-2022 05:47
    I 've been trying to have Studio respect the Skip Indicator using different characters ("\", "\\", "/", "@"), with DefaultSkipIndicator (Studio settings) activated and not activated. Nothing helps, whatever SkipIndicator character I use, the entry will be erased.
    I made a small script, just for testing this Skip Indicator, which I added to this post.

    any suggestions ?
    best regards, Jan

    ------------------------------
    jan ketele | release expert
    Xeikon Manufacturing NV | 003234431875
    ------------------------------



  • 3.  RE: Skip Indicator

    Posted 12-09-2022 06:23
    reply from Winshuttle support on this query:
    As we are using a standard FM inside RFM, From the SAP perspective skip indicator will not be handled inside standard FM's. It is not possible to apply it via SE37 either. This is known issue. You can use either of the below 2 solutions/workarounds in this situation.

    Solution:
    1. If we need to update the value for the same field for some material records and not to update for others, we will need to read that field from SAP first. We will need to download that field by processing a different script and then filter out which materials do not need to be updated. BAPI/Direct script can be processed for the material which requires the value to be added/updated.

    2. Use Transaction script instead.

    ------------------------------
    jan ketele | release expert
    Xeikon Manufacturing NV | 003234431875
    ------------------------------



  • 4.  RE: Skip Indicator

    Employee
    Posted 12-09-2022 15:54
    Thanks for sharing that info, Jan.

    Another way is to use IF statements for each of the fields.  If the excel column is not empty, or pick a character like not equal to "\", upload, otherwise skip.   If you have a lot of fields, then this is a bit of work, but it's doable.

    FYI,
    Sigrid

    ------------------------------
    Sigrid Kok
    PSE | Winshuttle NA
    ------------------------------