Skip to main content
Nintex Community Menu Bar

K2 SAP - Workflow - Pass a GetList method to a BAPI Table

  • April 1, 2020
  • 1 reply
  • 2 views

Hi,

I've created a BAPI that contains a table as Input that needs to be sent to SAP

I've defined a smartobject in K2 as GetList with same structure of the above BAPI input table.

In the workflow definition, I want to pass the refernced smartobject of the GetList to the SmartObject method created with K2 SAP Connector that has the table as Input.

When try to do it, it's like K2 sends all the rows of tbles concatenated at column level.

Can anybody help on this subject?

Is there an easy way to pass this getlist smartobject and map correctly in the BAPI method?

Your help would be really appreciated.

Thanks

GaeMax

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

adithepo
Forum|alt.badge.img+4
  • Rookie
  • April 3, 2020

Hi GaeMax,

 

If you need to send all rows from your SMO, you need to change input type property in Visual Studio (K2 connect) as XML type.

 

Then you have to create XML with array serialized method or use stored procedure to manual generate for XML and send to K2 BAPI SmartObject which created from Visual Studio

 

You can find K2 Connect reference at : https://help.k2.com/pdf/k2connect/5-1

 

Hope this help,

 

O.Adithep


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