on 10-14-2015 8:34 AM
Hi,
I am facing issue with mapping fields to my RFC(BAPI) in service implementation - FOR Get_entity-READ
Lets suppose we have 3 Fields as input for BAPI. 2 of which are mandatory and remaining 1 is optional.
Now, Data model->entity type, allows only Primary keys to be part of input paramters to the BAPI under mapping.
Can anyone share how can we pass this optional parameter (in case of Read-Get_entity) to bapi without setting it as Key under entity type.
Thanks in advance,
PavanG
Hello Pavan,
In that case try as below :
Create model alone in SEGW by setting which ever parameters you need as Keys.
Do not implement any operation in implementation section.
Generate Run-time objects.
Manually implement Get_Entity in DPC_EXT class and add code.
Regards,
Ashwin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ekansh,
Yes error will come.
To use this BAPI for READ, we are forced to make that 3rd field also as key in the GW model. Only then we will be able pass that as part of KEY's to make that BAPI work.
Or else we need to implement QUERY for this so that we can define first 2 as keys and third as non key and pass as filters.
Regards,
Ashwin
Hi Pavan,
You can do it by redefining DPC Class in se80 or se24.
you can get help from bellow link:
Regards
Vivek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.