‎2009 Jun 01 5:13 PM
Hi, i've an include to check conditions of a PO
FORM KOBED_930.
if KOMV-KSCHL eq 'PBXX'.
message e057(zmm) with KOMV-KSCHL .
endif.
ENDFORM.
FORM KOBEV_930.
ENDFORM.
but after error message i need that user can correct KOMV-KSCHL to a valid condition.
How can i do this ? I try with a type w message, but a realy need that condition be changed to a valid one...
Can somebody help me ? ...Thanks
‎2009 Jun 01 7:28 PM
Hi Ricardo,
Probably you can try message type I.
http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbaaaf35c111d1829f0000e829fbfe/content.htm
Thanks and Regards
Srikanth.P
‎2009 Jun 01 5:19 PM
Hi,
write your error message in at selection-screen on field event ..
at selection-screen on KOMV-KSCHL .
if KOMV-KSCHL eq 'PBXX'.
message e057(zmm) with KOMV-KSCHL .
endif.
Regards,
Prabhu
‎2009 Jun 01 6:01 PM
I try this but doesn't work...
I'm doing this in Requirements Pricing...
error message:
Include RV61A930
Incorrect nesting: Before the statement "AT", the structure introduced
by "FORM" must be concluded by "ENDFORM" . . . . . . . .
‎2009 Jun 01 7:21 PM
You must not trigger any kind of message from the Pricing Requriements. If you don't want the user to input any specific pricing condition you can remove it from the Pricing determination.
From the Pricing requirement, you can make the condition inactive by setting the SY-SUBRC = 4.
Like:
FORM KOBED_901.
CHECK condition
SY-SUBRC = 4.
ENDORM.
Regards,
Naimesh Patel
‎2009 Jun 01 7:28 PM
Hi Ricardo,
Probably you can try message type I.
http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbaaaf35c111d1829f0000e829fbfe/content.htm
Thanks and Regards
Srikanth.P