04-05-2013 8:55 AM
Hi Guru s,
I have one requirement i.e
Ø The flag “NO limit” must be un-ticked for all PO with document type MISC, even PO is created with reference to other existing PO/PR and on which flag “No limit” is ticked.
Ø Now setting for flag “No Limit” is in display mode for (ME21N, ME22N and ME23N) for document type MISC.
for this i have to use the user exit to get above mentioned requirement. Can any one please let me know wihich is the correct exit for this requirement.
Thanks in Advance
04-05-2013 2:49 PM
Hi,
If you are making use of the BAPI to create(BAPI_PO_CREATE) and change PO ( BAPI_PO_CHANGE) then the structures for PO Items have a field UNLIMITED_DLV (if this is what u mean by NO lIMIT FLAG).
As far as User exits are concerned you can use
EXIT_SAPLEINR_001, EXIT_SAPLEINR_003, EXIT_SAPMM06E_004
For BADI you can use - ME_PROCESS_PO_CUST. Also if you need to find any otehr BDI's then use the below steps for the finding the same
Put break-point in method GET_INSTANCE of class CL_EXITHANDLER.
Now create a PO, after saving find which BADIs are triggereing and see those BADIs which are capturing EKPO details or not.
Thanks & Regards
Vinay
04-05-2013 2:49 PM
Hi,
If you are making use of the BAPI to create(BAPI_PO_CREATE) and change PO ( BAPI_PO_CHANGE) then the structures for PO Items have a field UNLIMITED_DLV (if this is what u mean by NO lIMIT FLAG).
As far as User exits are concerned you can use
EXIT_SAPLEINR_001, EXIT_SAPLEINR_003, EXIT_SAPMM06E_004
For BADI you can use - ME_PROCESS_PO_CUST. Also if you need to find any otehr BDI's then use the below steps for the finding the same
Put break-point in method GET_INSTANCE of class CL_EXITHANDLER.
Now create a PO, after saving find which BADIs are triggereing and see those BADIs which are capturing EKPO details or not.
Thanks & Regards
Vinay
04-05-2013 4:34 PM
Thanks for reply vinay . but along with EKPO-BSART i need ESUH- SUMNOLIM
04-05-2013 7:26 PM
Hi,
The ESUH-SUMNOLIM can be found in BAPIESUHC structure of BAPI_PO_CREATE. The field is SSC_NOLIM and in the same structuer you have your NO_LIMIT Flag also.
The BSART is found in BAPIEKKOC-DOC_TYPE.
Regards
Vinay Parab
04-08-2013 6:33 AM
This is not for Z program. I am looking for standard transcations ME21N ME22N ME23N
04-08-2013 1:37 PM
Hi Srava,
but then are you manually creating the PO or it is been created using IDOC.
04-09-2013 9:46 AM
04-15-2013 6:31 AM
Hi ,
I have done it my self. i was made changes in standard include using enhancement spots.
04-15-2013 11:33 AM
04-15-2013 11:46 AM