‎2008 Dec 09 3:29 AM
Hi experts, pls help solve. Thx.
Request: Use BAPI to create or change sales rep. (T code VPE1, VPE2). Sales data for sales rep. must be contained.
Question: Which FM is appropriate?
ps. HR is not customized. It seems many FMs do not contain sales data.
‎2008 Dec 09 5:16 AM
Hi,
As per my understanding from this forum, you want to create/Change the Sale Resp. Details, right?
I found there is no such a FM available for such a purpose, better you can used the BDC Program for the same purpose.
Thanks & Regards
Jagesh
‎2008 Dec 09 5:16 AM
Hi,
As per my understanding from this forum, you want to create/Change the Sale Resp. Details, right?
I found there is no such a FM available for such a purpose, better you can used the BDC Program for the same purpose.
Thanks & Regards
Jagesh
‎2008 Dec 09 2:42 PM
Hi Jagesh, many thx for your valuable reply. It's just called "create sales representative", "change sales representative". Actions, sales data, personal data and so on can be maintained via them. The T codes are under logistics instead of HR.
Any further advice?
‎2008 Dec 09 4:45 PM
Hi Cathy,
What is your exact requirement? Is it to create or change a Sales representative using a BAPI FM?
If it is so why dont you develop a BDC program to create a Sales representative using tcode SHDB.
Then convert this BDC program into a FM. I think this should do your job.
let me know if you have any queries.
Regards,
Raj
‎2008 Dec 09 5:45 PM
Hi Cathy,
This is correct beause if you use the BDC program then even you can handle the Errors also if any found.
Thanks & Regards
Jagesh
‎2008 Dec 09 7:21 PM
Hi Cathy,
This is correct beause if you use the BDC program then even you can handle the Errors also if any found.
Thanks & Regards
Jagesh
‎2008 Dec 10 6:55 AM
Hi Raj, Jagesh,
Yes, create or change sales rep. by using a BAPI FM. BDC is not preferred according to my technician's request. Thus, I have to try it again & again.
Pls help if any.
‎2008 Dec 10 6:58 AM
hi Cathy,
Can you tell me what is the purpose of using a BAPI FM? See, you do a BDC recording and you can convert the BDC program into a FM. I think then you can change the attributes of FM or with the help of this FM you can write your own BAPI FM.
Revert.
Raj
‎2008 Dec 10 7:39 AM
Hi Raj, the purpose is to transfer sales rep. data between two R/3 systems. If the standard BAPI FM cannot fulfill my request, I have to use BDC according to your suggestion. Thx.
‎2008 Dec 10 7:53 AM
Hi Cathy,
if you want to transfer data from one R/3 to another R/3 you can try using LSMW.
tcode; LSMW.
Hope it works.
Regards,
Raj
‎2008 Dec 11 4:50 AM
hi cathy,
for ur requirement we dont have exact BAPI so u should try with BDC program.
regards,
raju reddy.
‎2008 Dec 13 11:27 AM
Hi Cathy,
I searched for the FM in BOR uing the Tcode:- BAPI, but i have not found any related FM.
and what i think even if u find any FM then u have to check whether it will server ur reuirement or not.
so according to me , BDC is a better option for you.
Thanks & Regards
Jagesh
‎2008 Dec 13 8:22 AM
Hi Cathy,
U have to find the related BAPI FMs in tcode "BAPI".
in this tcode there r 2 tabs. one is Alphabetical and another one is Hierarchical.
In Hierarchical tab u have to see according to module wise. in that u will get sales rep. If u double click this, then u will get FM which is related to ur reqmt.
In Alphabetical tab, u will find topics according to alpbabets. In this, u have to go to sales rep and double click u will get the FM which is related to ur reqmt.
I think it is ok for u.