Automate

 View Only
  • 1.  CG02

    Posted 03-09-2021 05:54
    Hello ,
    does someone know how to create WS recording in CG02?
    thank you  , Rado

    ------------------------------
    Radoslav Magal |
    PPG Industries International, Inc. – Hong Kong Branch |
    ------------------------------


  • 2.  RE: CG02

    Posted 03-09-2021 08:22
    Hi Rado -

    These workbench types of transactions allow you to do many things in the same transaction. What specific scenario are you trying to capture here? 

    Thank you!

    ------------------------------
    Jennifer Hwang | SE
    Winshuttle North America
    ------------------------------



  • 3.  RE: CG02

    Posted 03-10-2021 06:00
    Hi Jennifer,
    1. I would need to create substance with some values in below tabs
    2. and assign different classification  values to the substance
    I was able to create recording for the first step(substance creation) but in second step I fail

    ------------------------------
    Radoslav Magal |
    PPG Industries International, Inc. – Hong Kong Branch |
    ------------------------------



  • 4.  RE: CG02

    Posted 03-10-2021 11:22
    Hi Rado -

    Unfortunately, this is going to be a challenging one. In the navigation section on the left, the buttons do not have any OK codes associated with them, so they cannot be captured in regular non-batch or batch recording mode. You could attempt to use Gui Scripting recording mode to navigate the left side and select the classifications you want to maintain, since that mode does not rely on regular OK Codes. You could also split this up into two different steps, 1 where you create it first in regular standard recording mode, and then a second script that just does the class assignments using Gui Scripting.

    Thank you!

    ------------------------------
    Jennifer Hwang | SE
    Winshuttle North America
    ------------------------------



  • 5.  RE: CG02

    Posted 03-11-2021 04:10

    Hi Rado,

    Maybe you can use BAPI_BUS1077_CREATE.

    This blog may be helpfull: https://blogs.sap.com/2013/07/05/complete-document-for-creating-specificationcg02-with-property-tree/



    ------------------------------
    Jan van Asseldonk | Consultant
    CTAC | +31629078169
    ------------------------------



  • 6.  RE: CG02

    Posted 03-11-2021 04:28
    Hi Jan,
    thank you , but unfortunately my WS studio doesn't allow me to create recordings using BAPI, this option is grey out to me.

    ------------------------------
    Radoslav Magal |
    PPG Industries International, Inc. – Hong Kong Branch |
    ------------------------------