Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_INTERNALORDER_CREATE problem.

Former Member
0 Likes
700

Hi all,

I trying to populate the custom field of Sponsored program in table AUFK and which is also available in ko01. created a wrapper for the bapi.

i have used the extension parameter in the bapi, populated it with the value and activated the user exit given in the documentation of that parameter and executed it. but the value is not getting populated , if any one of you had same problem in the past, please, help me out.

Thanks and Regards.

3 REPLIES 3
Read only

Former Member
0 Likes
486

This function doesn't do a commit on the database.

TRy to do a explicit commit work after the call transaction, if you haven't done the same.

Regards,

Ravi

Read only

0 Likes
486

HI,

Well, Iam using commit. But the problem is coming when trying to copy the extension parameter value into corresponding wa of the table (in this case COAS).

I think am having trouble in filling the extension parameter in the way it wants to. can you have a look at the extension parameter in the bapi 'BAPI_INTERNALORDER_CREATE' and let me know how it needs to populated?

mine is as follows -

EXTENSIONIN-STRUCTURE = 'BAPI_TE_AUFK'.

EXTENSIONIN-VALUEPART1 = <spn. prg value>. ( iam messing up here)

Thanks in advance.

Read only

Former Member
0 Likes
486

Please use the foll FM to commit after the BAPi.

<b>BAPI_TRANSACTION_COMMIT.</b>

If it still does not work try to give <b>COMMIT WORK AND WAIT.</b>