cancel
Showing results for 
Search instead for 
Did you mean: 

problem in data source mapping - CAF entity service.

Former Member
0 Kudos

Hi,

I created an external service for the bapi given below.

It has 2 tables as input parameters.

In entity service I created attributes(for input parameters) for table1 and table2. but in data source i couldn't map more than one attribute to the MATNRSELECTION and PLANTSELECTION.The attributes of the bapi are under the same collection.

I'm using NWDS version 7.0.06.

BAPI_MATERIAL_GETLIST (To List all Materials for a Particular Plant)

Input Parameters:

Table1: MATNRSELECTION

MATNRSELECTION-SIGN

MATNRSELECTION-OPTION

MATNRSELECTION-MATNR_LOW

Table 2: PLANTSELECTION

PLANTSELECTION-SIGN

PLANTSELECTION-OPTION

PLANTSELECTION-PLANT_LOW

Regards,

Shobhendra

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

in your entity if you did create 2 attributes for one material number and one for plant, you can map them to the corresponding MATNRSELECTION-MATNR_LOW and PLANTSELECTION-PLANT_LOW.

For the sign and option, you should uncheck the IsNull parameter in the "Entity to External Operation parameters" mapping window of the Datasource Tab of your entity. And you should set default values like sign = I and option = EQ or something like that.

But if you want to pass a list of material numbers or plants, I do have a recollection from last year experiments of some limitation using collections as input parameters. maybe somebody else had better success with that

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Andre,

Thanks

Can you expalin this a bit more ---

For the sign and option, you should uncheck the IsNull parameter in the "Entity to External Operation parameters"

What exactly happpens when I check/ uncheck button

Also just a cross check----

setting default values like sign = I and option = EQ or something like that.to the Datasource Tab of your entity , will pass these values as input to the external service(bapi)?

Former Member
0 Kudos

you need to uncheck Isnull if you want to set default values. The values you set will be pass to the bapi