2009 Jul 16 5:26 AM
HI experts,
I am Validation storage location for STO for a particular scenario in transaction ME21N in an ENHANCEMENT.
When i press enter, it gives an error for each item.
but when I try to save, the PO gets saved inspite of the error in the item.
please help.
HI experts,
I am Validation storage location for STO for a particular scenario in transaction ME21N in an ENHANCEMENT.
When i press enter, it gives an error for each item.
but when I try to save, the PO gets saved inspite of the error in the item.
please help.
2009 Jul 16 5:44 AM
Hi ,
Can you tell us what error you are getting for the PO line item?
Regards
Vik
2009 Jul 16 5:53 AM
the error is a custom error which is part of my validation.
the point is ...
the STO should get saved if an error of TYPE E occurs, but this is getting saved.
i dont want the STO to get saved.
2009 Jul 16 5:54 AM
Hi,
First which exit are u using??
i used badi me_process_po_cust for my changes in PO...now in this badi ,the message restriction was implemented in a following way::::
write teh code in check method of me_process_po_cust.....
METHOD if_ex_me_process_po_cust~check.
ch_failed = gv_error_exists.
ENDMETHOD.
put gv_error_exists to 'X' after u put the abort or error message.......
gv_error_exists is defined in the private section....
kanishak
2009 Jul 16 6:01 AM
i tried usnig the BADI but the check method is doesnot have parameter for the item level details i guess...
i am using the enhancement point for mepo_item_fill_02 for the scenario where i have entered my error messages.
i have also observed that this BADI is not called when i press enter or save. only the BADI me_process_po is called.
please correct if i am wrong.
2009 Jul 16 6:14 AM
i am using sap 5.0 there this badi works.....the proceesing of th messages i write in method process_item and the check i m puttingin the check method the way i have mentioned.......
i dnt know about 6.0
n one more thing me_process_po is a sap badi so i dnt think we can change it...if it is possible to do the changes in me_process_po then do ur coding in this badi...oth me_process_po & me_process_po_cust are duplicaTES just one is SAP 's n other is customer's
kanishak
2009 Jul 16 6:21 AM
exactly Kanishak,
i tried to use the the BAdI but since it was SAP badi i was not able to do that..and when i tried in the debugging,the program didnt call the BAdI me_process_po_cust.
is there any thing which Iam missing...!!!
2009 Jul 16 6:28 AM
2009 Jul 16 6:35 AM
have u implemented that badi???
if implemented ,,then write the break-point in method process_item n check....
2009 Jul 16 7:22 AM
i have tried putting a break point in the BADI me_process_po_cust method Check and process_item, but in vain.
about me_gui_po_cus
im not able to find a suitable scenario which will help.
is there any other enhancement point which would help.
2009 Jul 16 10:06 AM
2009 Jul 16 10:56 AM
try checking some notes available for this
i think it is a SAP standard giving this error
2009 Jul 16 1:43 PM
are u still finding the difficulties ...i m just asking u how did u put the breakpoint in th ebadi mentioned by me???
2010 Feb 24 11:49 AM
done myself.
created an enhancement and did the validation for save.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |