‎2008 Aug 25 5:49 PM
Hi,
I have this requirement in which the the name of the person with the personnel number (PRPS-VERNR) from CJ20N transaction is to be displayed on the purchase order and the purchase group linked to this name should also be displayed.
For this I was looking for a user exit. Any help on this will be really appreciated, ASAP.
‎2008 Aug 25 6:10 PM
Are you asking for an exit on CJ20N or on ME21-3N, the title of the thread lead to the first option, and the question seems to the second one ?
For Purchase order customer fields, depending on your version, you may (click on links, there are many thread already)
- Look at Enhancement [MM06E005|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=mm06e005&adv=false&sortby=cm_rnd_rankvalue], there are exits to fill and display customer fields in ME21/22/23N
- Look for BADI [ME_GUI_PO_CUST|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=me_gui_po_cust&adv=false&sortby=cm_rnd_rankvalue]
Regards
‎2008 Aug 25 6:59 PM
I am practically new to MM and this is the requirement which I got. Once u order a material the requisition is created and the workflow is involved in this, the person responsible number in CJ20N is the actual responsible person and on the purchase order the name of this person should be display and the purchase group linked to this person should also be displayed. I think purchase group is linked to the person by the name but I am not able to find the table in which it is. RESBD-EKGRP is the field of the purchase group in ME53N transaction but RESBD is the structure. Can you please help me with this.
‎2008 Aug 26 7:06 AM
Purchase group [EKGRP|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=ekgrp&cat=sdn_all], this field come from [RESB-EKGRP 'Reservation/dependent requirements'|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=resb&cat=sdn_all].and is initially copied to [EBAN-EKGRP 'Purchase Requisition'|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=eban&adv=false&sortby=cm_rnd_rankvalue] and [EKKO-EKGRP 'Purchasing Document Header'|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=ekko&adv=false&sortby=cm_rnd_rankvalue]. This field has a value table [T024 'Purchasing Groups'|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=t024&adv=false&sortby=cm_rnd_rankvalue] (Field EKNAM is Description of purchasing group).
[Infotype 0901 'HR Master Record: Infotype 0901 (Purchasing Data)'|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=0901+infotype&adv=false&sortby=cm_rnd_rankvalue] contains a link between PERNR 'Personnel number' and EKGRP 'Purchasing group')
Regards