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

Function Module BUPA_INBOUND_MAIN_SAVE

Former Member
0 Likes
2,658

Hi,

I'm trying to use the functionmodule BUPA_INBOUND_MAIN_SAVE to get business partner data into the bank analyzer:

DATA: input_data TYPE bus_ei_extern_t.

CALL FUNCTION 'BUPA_INBOUND_MAIN_SAVE'

EXPORTING

data = input_data

IMPORTING

return = output_data.

afterwards i have to call the function module BAPI_TRANSACTION_COMMIT. Is this right?

what do i have to usa as importing parameter for this FM?

thanks!

Margit

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,936

hiii

no need to pass any parameter but check the return parameter and call Bapi commit FM if the BUPA_INBOUND_MAIN_SAVE returns 0.

regards

twinkal

11 REPLIES 11
Read only

Former Member
0 Likes
1,936

just call it no need to pass

Read only

Former Member
0 Likes
1,937

hiii

no need to pass any parameter but check the return parameter and call Bapi commit FM if the BUPA_INBOUND_MAIN_SAVE returns 0.

regards

twinkal

Read only

0 Likes
1,936

but what exactly is the returnparameter that has to be 0?

Read only

0 Likes
1,936

BAPI_MTYPE?

Read only

0 Likes
1,936

data: ls_return TYPE bapiret2.

pass it to return parameter.

Read only

Former Member
0 Likes
1,936
Just call it no need to pass

Wrong

hiii

no need to pass any parameter but check the return parameter and call Bapi commit FM if the BUPA_INBOUND_MAIN_SAVE returns 0.

Wrong

Since it is Mandatory.

Call IDOC_INPUT_BUPA_INBOUND_MAIN instead of 'BUPA_INBOUND_MAIN_SAVE'

Amit.

Read only

0 Likes
1,936

i am talking about bapi_transaction_commit return parameter.

i think you got it

Read only

0 Likes
1,936

but which is the parameter that i have to check according to twinkal?

Read only

0 Likes
1,936
afterwards i have to call the function module BAPI_TRANSACTION_COMMIT. Is this right?

And dont much bother about this FM.you problem is with your FM BUPA_INBOUND_MAIN_SAVE in importing parameter.

Did you actually tried with other FM which i suggest above.

BAPI_MTYPE?

Yes

Values can be S Success, E Error, W Warning, I Info, A Abort

instead of 0

Amit.

Edited by: Amit Gujargoud on Aug 27, 2008 2:08 PM

Edited by: Amit Gujargoud on Aug 27, 2008 2:09 PM

Read only

0 Likes
1,936

she wants you to check return parameter of BUPA_INBOUND_MAIN_SAVE and then call bapi for commit

Read only

0 Likes
1,936
i am talking about bapi_transaction_commit return parameter.

i think you got it

I reported Abuse for My self

Cheers