Automate

 View Only
  • 1.  Update Payment Terms with BP

    Posted 10-27-2023 06:51
      |   view attached

    Dear all,
    For some days now, I am struggeling with updating Payment Terms (LFM1-ZTERM) with TCODE BP (Business Partner) in S4 Retail and I hope, that someone might experienced the same and could lead me to a solution.
    The error messages after running the recorded transaction script vary between:

    Batchinput-Data for Dynpro (SAPLBUS_LOCATOR 3000 Locator Dialog Mainscreen) SAPLSPO1 0100 does not exist
    SAPLBUS_LOCATOR 3000 (Values are not valid)

    I found the related step-by-step approach with TCODE BUP2 (see appendix) and changed the recording mode to "BATCH INPUT mode", ticked "Start SAP GUI" on Run tab and followed the steps to return to the state when entered the transaction at the start. 
    The first entry to be updated in the script works fine, the errors start from second line item.
    My best guess is, that this comes from last-mentioned approach to get back to initial settings, which is special for TCODE BP.

    Thank you very much for your support and efforts.

    Kind regards
    Maik



    ------------------------------
    Maik Wienkötter
    Process Manager Material Master Data
    ZWILLING J. A. Henckels AG
    ------------------------------

    Attachment(s)



  • 2.  RE: Update Payment Terms with BP
    Best Answer

    Employee
    Posted 10-30-2023 12:25

    Hi Maik,

    If the first record works and the records after that don't work, I recommend changing the "Renew session after [n] transactions" setting to 1. You can find this in the Map tab and in the properties panel on the right. Here is a screenshot:

    If that doesn't resolve the issue, please share the script you created so we can take a look.

    Thanks,



    ------------------------------
    Maria Ebner
    Precisely Software Inc.
    ------------------------------



  • 3.  RE: Update Payment Terms with BP

    Posted 11-22-2023 06:46
    Edited by Maik Wienkötter 11-22-2023 06:51

    Hi Maria,
    Thank you very much for your response and I am sorry for the late reply.
    It worked just fine after recording all messy transaction scripts again and changing this particular entry to 1.

    Kind regards
    Maik



    ------------------------------
    Maik Wienkötter
    Process Manager Material Master Data
    ZWILLING J. A. Henckels AG
    ------------------------------



  • 4.  RE: Update Payment Terms with BP

    Employee
    Posted 10-30-2023 12:40

    Perhaps you can get some inspiration from similar templates for BP Sales Org data (You are looking for Purchase Org data but same concept) 

    https://community.precisely.com/viewdocument/bp-sales-data-round-trip?CommunityKey=e1f0c200-ca7e-46e7-b5c7-01855e5120c7&tab=librarydocuments

    You can review the included transaction script and you will notice steps to set the BP Role, Tab and Edit/Display Mode are needed only the First time the BP transaction is opened. For every other row below, SAP remembers the previous selections and therefore we need to account for this behavior from SAP. 

    This will ensure your remaining data also posts correctly.



    ------------------------------
    Jayasri Varyani
    SE
    Winshuttle North America
    ------------------------------



  • 5.  RE: Update Payment Terms with BP

    Posted 11-22-2023 06:49
    Edited by Maik Wienkötter 11-22-2023 06:51

    Dear 

    Hi Jayasri,
    Thank you very much for your response and I am sorry for the late reply.
    As I did successfully try first what Maria proposed I am happy with the solution.
    However, I will check out your proposal, because it is new to me, too.

    Kind regards
    Maik



    ------------------------------
    Maik Wienkötter
    Process Manager Material Master Data
    ZWILLING J. A. Henckels AG
    ------------------------------



  • 6.  RE: Update Payment Terms with BP

    Posted 10-31-2023 02:46

    I don't know S4 Retail but with tcode BP0 in S4 Industry you will start always from the initial starting point. In that way you don't have to work with If statement "If first transaction".



    ------------------------------
    Ed Meiners
    Teamlead MDIM
    Wessanen Nederland Holding BV
    Utrecht
    ------------------------------



  • 7.  RE: Update Payment Terms with BP

    Posted 11-22-2023 06:51

    Hi Ed,
    Thank you very much for your response and I am sorry for the late reply.
    I am going to check the TCODE, as I haven't been working with it so far.

    Kind regards
    Maik



    ------------------------------
    Maik Wienkötter
    Process Manager Material Master Data
    ZWILLING J. A. Henckels AG
    ------------------------------