on 01-25-2024 9:25 AM
Hi,
I'm trying to implement a functionality in app "Maintenance Notifications" wherein upon executing the 'Generate Order', it will copy the attached documents of the notification into the created work order.
I'm using BADI 'WORKORDER_UPDATE' and tried implementing it in 'IN_UPDATE' method by calling the following FMs:
1. DOKUMENTE_ZU_OBJEKT: to get the attached documents from the notification
2. BAPI_DOCUMENT_SAVEOBJECTLINKS : to copy the documents from notification to the work order
the problem is upon execution, the order is actually not yet existing in the system, thus BAPI_DOCUMENT_SAVEOBJECTLINKS fails and returns an error 'Object does not exist'. Can you suggest of another approach---badi/exit to implement this?
I think you would want to look into implementing the method NUMBER_SWITCH in combination with one or more other methods to achieve your goal.
Regards,
Ryan Crosby
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.