on 08-11-2008 10:27 AM
hi
im my BDC program,my code is:
DATA: ITAB TYPE TABLE OF BDCMSGCOLL WITH HEADER LINE.
call transaction 'J1IJ' using bdcdata mode 'A' update 'S' messages into itab.
please tell me how to read the TEXT from ITAB.I want to display it later at end, after BDC os done.
regards
Hi,
use the function module: FORMAT_MESSAGE
then pass your parameters of ITAB to this function module.
then populate the message.
Regards,
venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use the function module of the format_message.
Regards,
Mani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
try this below code.
data: v_message_v1 TYPE SYMSGV,
v_message_v2 type symsgv,
v_message_number TYPE SYMSGNO.
LOOP AT i_itab INTO wa_itab
IF wa_messtab-msgtyp = c_e .
*--fill the error in app., log table
v_message_number = wa_itab-msgnr.
v_message_v1 = wa_itab-msgv1.
v_message_v2 = wa_itab-msgv2.
wa_itab-msgty = wa_itab-msgtyp.
wa_itab-msgid = wa_messtab-msgid.
wa_itab-msgno = v_message_number.
wa_itab-msgv1 = v_message_v1.
wa_itab-msgv2 = v_message_v2.
wa_itab-msgv3 = ''.
wa_itab-msgv4 = ''.
APPEND wa_itab TO i_itab.
endif.
endloop.
regards,
bhupal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Since all you messages are inside your itab, now loop your itab based on you message id according to your requirment.
close the thread once your question is answered.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.