on 12-14-2005 6:15 PM
Hi
Please share your inputs about my scenrio..
There is 3 validations in my scenrio:
In target side I should validate some conditions based on my input..those are:
1. Validate customer existance check
if 'yes
2. Customer Update
if 'no'
3. Customer Create
please let me know how to approach in XI point of view.
My sender system is JDBC and receiver system is BAPI(SAPR/3)
It would be appreciated ..if you give logical steps about this scenrio..
My questions are:
1. Is it possible to create with in one scenrio?
2. Does it required BPM?
Thank you,
Regards..rambarki
Rambarki-
Here is one way to do this by avoiding BPM.
1) Create a wrapper RFC function module in your R/3 system say 'Z_CUSTOMER_CREATE' which has same import/export/tables structure as BAPI_CUSTOMER_CREATEFROMDATA1.
2) Inside 'Z_CUSTOMER_CREATE', first call BAPI_CUSTOMER_CHECKEXISTENCE. If customer is available call BAPI_CUSTOMER_CHANGEFROMDATA1 else call BAPI_CUSTOMER_CREATEFROMDATA1. Remember to commit.
Hope this helps.
KK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thats fine..KK
and Is it possible for create wrapper module for RFC together BAPI. because right now we are using Custom developed RFC for Customer Creation and Updation, for Customer Existance check ..we are using default bapi ..BAPI_Customer_ExistanceCheck.
Its really appreciated if you provide steps for create wrapper module, because i dont have much idea about BAPI and RFCs.
Thank you for sparing your valuble time.
Regards..rambarki
Rambarki-
Yes it is possible. Infact BAPIs are inturn RFC module themselves.
You have to create a 'Z' function module in SE37 and in this module call your customer creation BAPI or customer update BAPI using CALL FUNCTION statement. You would use function module BAPI_CUSTOMER_EXISTANCE_CHECK to check if the customer already exists and suitably decide whether to call the create or update module.
Thanks
KK
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.