Skip to main content
Nintex Community Menu Bar
Solved

Service Object with SAP BAPI

  • January 16, 2018
  • 2 replies
  • 46 views
  • Translate

Forum|alt.badge.img+6

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.

Best answer by Ziqing

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


 


 


 

View original
Did this topic help you find an answer to your question?

2 replies

Forum|alt.badge.img+9
  • 158 replies
  • Answer
  • January 19, 2018

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


 


 


 

Translate

Forum|alt.badge.img+6
  • Author
  • 25 replies
  • January 29, 2018

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.

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings