Skip to main content

Hi guys,

 

I am going to start my first project integrate with SAP.

 

Would like to seek for some advice regarding service object creation.

 

I have 2 SAP BAPI:

1. BAPI_GOODSMVT_CREATE

2. BAPI_TRANSACTION_COMMIT

 

After the data entry using bapi 1, i need to execute the bapi 2 to commit the posting. It had been tested in SAP se37 with test sequence.

 

How can i translate this activity into service object? 1 service object contain 2 bapi? will it execute following the sequence?

 

Thank you.

You can add both methods into the same service object, but to link both methods together in one call, you're going to have to create an advanced smartobject and create a method that calls the service object methods in sequence.


 


K2 connect Service Object:


https://help.k2.com/onlinehelp/K2Connect/UserGuide/5.0/default.htm#Leveraging_Existing_BAPI_Methods.html%3FTocPath%3DDevelop%7CService%2520Object%2520Explorer%2520%253A%2520Design%2520Canvas%7C_____1


 


Advanced SmartObject:


https://help.k2.com/onlinehelp/k2five/userguide/5.0/default.htm#Create/SmartObjects/AdvancedSmartObjects.htm%3FTocPath%3DCreate%7CSmartObjects%7CAdvanced%2520SmartObjects%7C_____0


 


 


 


Hi All,

 

I manage to post to SAP by SAP BAPI BAPI_GOODMVT_CREATE.

 

However, when i have multiple item in my item view. It will post it to SAP as separate document where it suppose to be as one document.

 

Thank you.


Reply