‎2015 Sep 05 4:54 PM
Hi Experts,
This is table control PAI code I need help for FIELD after using structure fields given DUMP. Please send this solution.If you know the correct code send and explain the wrong and give complete solution.
PAI:
Loop at lt_kna1,
field:lw_kna1-kunnr,
lw_kna1-land1,
lw_kna1-name1,
lw_kna1-ort01.
Modeule Modify.
endloop.
‎2015 Sep 05 7:46 PM
Thanks for replay but here using multiple times for coding part that is write in PERFORM
FORM MOVE_DATA_IT_TO_WA.
WA_ST-MATNR = MARA-MATNR.
WA_ST-ERSDA = MARA-ERSDA.
WA_ST-ERNAM = MARA-ERNAM.
WA_ST-LAEDA = MARA-LAEDA.
MOVE-CORRESPONDING WA_ST TO WA_MARA.
ENDFORM.
I did not want write above type code that have more lines because using below type code this is working ,i know but in my program not working.
I want use FIELD: key word
FIELD: wa_st-matnr,
wa_st-ersda,
wa_st-ernam
wa_st_lead.
‎2015 Sep 05 5:07 PM
Hi Sekhar,
Can you share the Dump you are receiving?
Please go through few Tutorials on Table control and then try with your requirement.
I am sure it will help, kindly find samples on Table control :
Learn Making First Table Control - ABAP Development - SCN Wiki
http://www.saptechnical.com/Tutorials/ABAP/TableControl/Demo.htm
Best Regards,
KC
‎2015 Sep 05 7:46 PM
Thanks for replay but here using multiple times for coding part that is write in PERFORM
FORM MOVE_DATA_IT_TO_WA.
WA_ST-MATNR = MARA-MATNR.
WA_ST-ERSDA = MARA-ERSDA.
WA_ST-ERNAM = MARA-ERNAM.
WA_ST-LAEDA = MARA-LAEDA.
MOVE-CORRESPONDING WA_ST TO WA_MARA.
ENDFORM.
I did not want write above type code that have more lines because using below type code this is working ,i know but in my program not working.
I want use FIELD: key word
FIELD: wa_st-matnr,
wa_st-ersda,
wa_st-ernam
wa_st_lead.