on 03-14-2007 12:18 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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)?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.