cancel
Showing results for 
Search instead for 
Did you mean: 

Input parameters for BAPI_ALM_ORDER_MAINTAIN

former_member209705
Participant
0 Kudos

Hi Experts,

We’re 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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

former_member209705
Participant
0 Kudos

Hi Udayan,

Am able to add a row while testing bapi in bapi explorer, but still am getting a error called "Length of internal key is incorrect (actual :69 target:12)".

Any idea why this error is coming.

Regards

Ravi Shankar.

Edited by: Ravi Shankar on Feb 15, 2008 11:51 AM

Former Member
0 Kudos

No.

What version of R/3 or ECC are you on?

former_member209705
Participant
0 Kudos

Hi Udayan,

ECC 6.0.

Regards

Ravi shankar

Answers (0)