on 10-25-2010 10:11 AM
D/ Friends,
In VA41, Iu2019ve configured PO as an incompletion log with warning indicator. So u201CEnter PO numberu201D is coming as a warning (message no. VU001). Iu2019ve also checked PO in VOV8 for the contract type. But I want to convert it into error message. How to do this?
Thanks.
Hi,
In the document type configuration (VOV8) for contract document type, tick the checkbox ''Incomplet. messages''. This will ensure that you cannot save the contract if the document is incomplete,i.e., without PO number in your case.
Hope this helps.
Regards,
Palani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks to all specially to Palanisami Nach...
Issue solved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry Mr R S,
My understanding was incorrect,
sorry to deviate from your requirement. As said by mates, system triggers only warning message though you maintain in incompletion log & allows you to save the sales order. That is what you dont want I guess.
If Yes,
You want system should not save the sale order without PO number.
By using the Transaction Variant make this field as mandatory(Tx:SHD0) & assign this variant in your Contract type details in VOV8. So whenever you use this contract type, without PO number system will not allow to save the contract.
Hope I routed to correct direction now.
Let me know, if my understanding deviates from yours.
Regards,
Reazuddin MD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maintain this field name BSTKD in your incompletion log (TCode OVA2) and assign this to your contract type in VOV8. You cannot save the contract without maintaining the PO number
thanks
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In standard error message will not come. If you want to make error message. you have to modify the program from 'W' warning
message to "E" error message. hardcoded
hi,
please follow this steps:
Main Program SAPLV45F
Source code of LV45FFUV
FORM FEHLER_BESTIMMEN
INTERNAL_ERROR = 2
OTHERS = 3.
SET CURSOR FIELD DA_FIELD LINE SY-STEPL.
IF SY-SUBRC = 0.
DA_FIELD = DA_DFIES-SCRTEXT_L.
ENDIF.
MESSAGE W001 WITH MESSAGETEXT DA_FIELD. <<<<<<<<< E
VBUV_DIA = VBUV_TAB.
APPEND VBUV_DIA.
ENDIF.
ENDIF.
regards,
balajia
Please test in test system first
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
its simple abap task he will remove W and there and Keep E so that your task is complete
regards,
balajia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi R S,
This is standard SAP functionality, Whether duplication of PO number can be allowed or not - is given in VOV8 - document type controls , check in "Messages" / Outling messagesfield.
Regards,
Reazuddin MD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.