Automate

 View Only
  • 1.  BUP2 Customer Master - Change Goods receiving hours

    Posted 02-19-2024 14:12

    I need some advice. I am working on a script to change a customers' Goods receiving hours(KNVA-WANID) in our MDG system using the BUP2 transaction. The tricky part is to choose the correct unloading point(I want to choose the Goods receiving Hours for that unloading point, we can have many) to match up with the one in my worksheet. In the past I created a script for this in our ECC system using XD02 and GUI SCRIPT recording. I used the If 'Index field' option, but I dont see that option available anymore. I tried recording the script in GUIScript as well as Standard mode. I used an if statement, as well as a loop statement with an  if statement. But I am not able to update this correctly. also looked for a BAPI or a Remote enabled function to update the customer days of service, but could not find one either. Has anyone been able to update to record a script for this? Or have some advice?



    ------------------------------
    thersha cowley
    Systems analyst/programmer
    Flowers Foods
    Thomasville FL
    ------------------------------


  • 2.  RE: BUP2 Customer Master - Change Goods receiving hours

    Posted 02-20-2024 04:48

    A workaround I can think of is to make a download of the unloading points per partner first. And sort those smaller to larger or alphabetically depending on your system. In your script you include the same sorting of the unloading points. In my ecc system I have an option to sort the unloading points. Button below the grid, or right mouse click can bring you there. Hope in MDG is also there to help you.

    In that case your download/template matches with what you see on screen.

    Add an additional column with the rown number in your template and use if statements in your script to select the correct line. 



    ------------------------------
    Rick Compen
    Data Engineer
    Lumileds Netherlands B.V.
    Eindhoven
    ------------------------------



  • 3.  RE: BUP2 Customer Master - Change Goods receiving hours

    Posted 02-20-2024 08:13

    Thank you Rick! I will give it a try.



    ------------------------------
    thersha cowley
    Systems analyst/programmer
    Flowers Foods
    Thomasville FL
    ------------------------------