2007 Mar 13 6:51 PM
I am trying to use BAPI_ALM_ORDER_MAINTAIN to change the Profit Center on a pre-existing PM order. I understand this BAPI does what a BDC would do, on the IW32 transaction.
I went through the documentation in the BAPI, but that does not help me. Can anybody give me a simple example of how the parameters need to be passed in IT_METHODS and IT_HEADER to succesfully change the profit center on the PM order?
Your time and effort are sincerely appreciated!
Nagesh
I am trying to use BAPI_ALM_ORDER_MAINTAIN to change the Profit Center on a pre-existing PM order. I understand this BAPI does what a BDC would do, on the IW32 transaction.
I went through the documentation in the BAPI, but that does not help me. Can anybody give me a simple example of how the parameters need to be passed in IT_METHODS and IT_HEADER to succesfully change the profit center on the PM order?
Your time and effort are sincerely appreciated!
Nagesh
2007 Mar 13 6:53 PM
2007 Mar 13 7:08 PM
Amit,
I had a look at this thread before posting this query. I tried a few different combinations on this BAPI, right now I am passing values into my function module this way:
1. IT_METHODS
REFNUM OBJECTTYPE METHOD OBJECTKEY
000001 HEADER SAVE 001000273511
000001 HEADER CHANGE 001000273511
2. In my IT_HEADER
ORDERID ORDERTYPE PLANT PROFIT_CTR
1000273511 PM01 5019 A0045
I am getting this Error Message in IT_RETURN
E IWO_BAPI2 119 BAPI call-up must have a SAVE or DIALOG method
Thanks,
Nagesh
2007 Mar 13 7:14 PM
you have to maintain IT_METHODS table for one of these two value -
SAVE Save all data
DIALOG Call-up dialog.
Check Documentation for the two values.
Regards,
Amit
2007 Mar 13 8:01 PM
As you can see in my post above, I am passing the SAVE option in my IT_METHODS.
If you have used this BAPI before, can you give me an example on how the parameters need to be passed? That might help.
Thanks,
Nagesh
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |