on 12-11-2012 11:20 PM
Hello,
I need to replicate alternative data from vendor master to SRM.
I am trying to implemented the BADI BBP_GET_VMDATA_CF but i don't know how to add the needed code in order to accomplish this request.
Is there any code samples that can help me?
Any help would be welcome.
Thanks,
Hazem.
HI,
You can run the program :BBP_VENDOR_SYNC as a job ,the alternative vendpor date will be replicated.
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Hazem,
how are you ?
BBPGETVD transation is only for initial download (vendor creation in SRM) whereas BBP_VENDOR_SYNC report can be used for vendor creation and also for vendor update.
BAdI you mentioned can be called twice by previous process:
- in BBP_VENDOR_GET_UPDATE function module
- in BBP_VENDOR_GET_NON_BAPI function module.
Check BAdI call.
Regards.
Laurent.
Hello Laurent,
Nice to meet you on the forum!
In fact i don't know if i can really use this BADI to copy vendor alternative data. I checked the code in the FM BBP_VENDOR_GET_NON_BAPI which is used to get vendor master data and the BADI is used only to get customer fields and since there are no customer fields in my case, the badi is not called.
How to copy alternative data in this case?
Thanks,
Hazem.
Hello Laurent,
In fact after checking the tables in FM META_VENDOR_GET_DATA, i noticed that the table LFM2 which contain the alternative data is not used.
And the BADI is used only to transfer customer fields.
In this case maybe i have to ask SAP directly for a solution.
What do you think?
Thanks,
HAzem.
Hello Hazem,
you can raise an OSS message. But i do not think SAP will provide an evolution based on your request...
You will need to create your own report for replication data. But you will have also to map those R/3 fields into SRM customer fields. Indedd, i do not think they exist in SRM.
Good luke !
Regards.
Laurent.
Hi Hazem,
You can use t-code: BBPGETVD to copy the vendor master data from R/3 to SRM.
and the t-code:BBPUPDVD to update the vendor master data which is modified in R/3 to SRM.
the badi : BBP_GET_VMDATA_CF is used only when you want to copy the customize fields of the vendor master data. if your system has no customize fields in vendor master data which alwasy begin with 'Z' or 'Y', you need not to implement the badi:BBP_GET_VMDATA_CF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hazem,
Sorry for the late reply.
I don't know what is alternative data you said. Does it begin with 'Z' or 'Y' in table LFA1 of R/3?
The t-cd bbpgetvd and bbpupdvd will copy lfa1's data from r/3 to but000 in srm. But it will only copy the standard fields in LFA1.
If your system has been extended, there will be some customized field begin with 'z' or 'y' in table LFA1. And if you want copy those fields to srm, you should implement the badi BBP_GET_VMDATA_CF.
If you mean you want to copy some data not in LFA1 to srm system, I cannot help you....
Hello,
Any help please...
Thanks,
Hazem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.