on 02-14-2008 4:25 AM
Hi Experts,
Were working with SDN standard templates for 11.5 downloaded from SDN. Transaction WORK_ORDER_CREATE has input parameter IT_METHODS, it requires us to pass parameters
REFNUMBER - 1
OBJECTTYPE - HEADER
METHOD - CREATE
OBJECTKEY - %00000000001
But then it also require SAVE method. How do we make a BAPI to accept both the inputs, since it is not creating work order without SAVE method.
Regards
Ravi shankar
IT_METHODS is defined as a table in the BAPI structure therefore it can accept more than one set (or rows if you will)of parameters.
So in your case the first row will have the method as CREATE & the second row a method SAVE.
Moreover if you look @ the transaction templated on SDN (which you say you are using), it is already doing the job for you, all you need to do is supply it with your specific parameters.All it does is appends the methods (Append XML if you look inside the Link editor) and finally executes the BAPI call.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
7 | |
3 | |
2 | |
2 | |
2 | |
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.