on 2024 Mar 06 6:21 AM
Hi,I have a requirement to call transaction VA02 from an ABAP program, which will run as a background task. The user will provide input via a selection screen. This input should be populated in VA02, and the sales order should be saved automatically. I'm considering two options for achieving this: BDC (Batch Data Communication) or BAPI_SALESORDER_CHANGE. Which option would be the most suitable for this scenario? Additionally, my VA02 screen has a custom tab with fields populated from a Z table. Is it possible to update this Z table using either BDC or BAPI_SALESORDER_CHANGE? Are there any other alternatives besides BDC or BAPI that I should consider? Your insights and suggestions would be greatly appreciated. Regards,
Request clarification before answering.
Hi, about your custom field, you can try to check the TABLE parameter:EXTENSIONIN in this bapi.
please check this parameter's long text to get how to use.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ryan-Crosby,
In my current process, I manually update sales orders through the on-screen transaction code VA02. The steps involved include:
To automate this process, I am considering two options:
Before proceeding further, I would appreciate your guidance on whether BAPI_SALESORDER_CHANGE can effectively handle the required updates. Additionally, if you have any insights or recommendations on the most efficient approach for this task, please feel free to share them.
]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ryan-Crosby ,
in below screenshot, there is update button, whatever this update button does , whether the same functionality is available in BAPI_SALESORDER_CHANGE?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 18 | |
| 7 | |
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.