on 01-15-2007 11:46 AM
hi
i had created a purchase order using smartforms.it is giving output perfectly.
my issue is when my functional consultant is releasing the purchase order in me29n it is giving error as update was terminated. when i checked the
error in sm13 it is showing me the error in zcs_po (this is my print program).
1 ME_UPDATE_DOCUMENT V1 Initial
2 EINKBELEG_WRITE_DOCUMENT V1 Initial
3 ME_REL_EVENT_EKKO V1 Initial
4 MCE_STATISTICS_UPD_V1 V1 Initial
5 MCE_STATISTICS_UPD_V2 V2 Initial
6 MCEX_UPDATE_02_V1 V1 Initial
7 ME_CREATE_MRPRECORD_PO V1 Initial
8 ME_UPDATE_QUOTA_DIALOG V1 Initial
9 OS_UPDATE_CLASS V1 Initial
10 RV_MESSAGE_UPDATE V1 Error
this is urgent
thanks in advance for your help.
points will be awarded.
bala
when i click on the error it shows the error is in function module RV_MESSAGE_UPDATE and Update was terminated
report: ZCS_PO
row : 208
but not able to find the error , needed some help to proceed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
in the program ur function module call might be incorrect.
actually the following fields are to be populated and updated.
CHECK xscreen = space.
Call Function for Protocol Update
CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
EXPORTING
msg_arbgb = syst-msgid
msg_nr = syst-msgno
msg_ty = syst-msgty
msg_v1 = syst-msgv1
msg_v2 = syst-msgv2
msg_v3 = syst-msgv3
msg_v4 = syst-msgv4
EXCEPTIONS
MESSAGE_TYPE_NOT_VALID = 1
NO_SY_MESSAGE = 2
OTHERS = 3
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
hi bala,
may be you r not handleng the exceptions after calling the smartform.. thatswhy it going to dump.. as durgaprasad told you hva to call the FM 'NAST_PROTOCOL_UPDATE' or write your own exception handling..
If you are code is perfect.. please<b> paste the code whre it is giving dump</b> here so that we investgate more on this issue
Please Close this thread.. when u r problem is solved
Reward if Helpful
Regards
Naresh Reddy K
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.