11-15-2016 7:16 AM - edited 02-03-2024 7:41 PM
Hi guys,
I've created own process code for message type WMMBXY, successfully triggered outbound IDoc generation with own Z-function module using NAST-interface and vendor profile in WE20. So far everything is just fine. The only thing I'm not sure is:
- generation is made in update process.
- I'm trying to retrieve GI/GM data using "old-fashioned" SELECT from MKPF/MSEG - in my FM I have access only to NAST-OBJKY - means material document number and year. There is nothing is in the stack too.
Question 1:
How can I be sure the data is already written to the DB? Or is it retrieved from buffers - after all, this is the same V-process within which the data is prepared to be saved to DB?
In our development environment everything works just fine, but I have some doubts it will behave improperly in a production.
Question 2:
Or should I go for another approach to retrieve data for GI/GM in update task?
Question 3:
Should I worry at all 🙂 ?
Would be highly appreciated to get valuable answers.
Thanks, guys.
Regards,
Ivaylo
Well, covered it.
Did it via Export from BAdI MB_DOCUMENT_BADI->MB_DOCUMENT_UPDATE implementation.
Within FM for IDoc generation IMPORT-ed it back, only in case data is missing in the DB.
Regards,
Ivaylo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.