create a composite smo for 2 bapi methods

  • 25 January 2019
  • 1 reply
  • 2 views

Hi 

I  have 2 BAPI methods

BAPI_getList and BAPI_getdetail. 

Get list has  ... code, company name 

Get detail has . Code,company name, company 2 

I have created a composite smo for both methods. when i provide Code as parameter  i dont get the  expected result .Assuming its not joining the methods properly .How do i assosciate these 2 methods ?

Help much appreciated

thanks in advance

 

 


1 reply

Badge +11

It sounds like one of your BAPIs returns a list and one returns a single value.  It sounds like the behavior you are looking for would be to lookup one single value for each item in your first list.   That's not the way composite SmartObject methods work.  Composite SmartObject methods must either be list-to-list or single-value-to-single value.

Reply