09-22-2008 5:15 AM
Hi Experts,
I need to populate DFT table in PAYIN_RESULT.
Its of Line type pc20F.
Pls guide me how to go about this.
TIA.
09-22-2008 7:48 AM
Hi,
You have to declare workarea for both PAYIN_RESULT and PC20F.
First fill that DFT table in workarea and then other fields.
Add that workarea to internal table of PAYIN_RESULT.
The outline of the coding is as follow :
DATA :
GT_PAYIN_RESULT TYPE STANDARD TABLE OF PAYIN_RESULT,
GW_PAYIN_RESULT TYPE PAYIN_RESULT,
GW_PC20F TYPE PC20F.
START-OF-SELECTION.
...
APPEND GW_PC20F TO GW_PAYIN_RESULT-INTER-DFT.
...
APPEND GW_PAYIN_RESULT TO GT_PAYIN_RESULT.
Regards,
R.Nagarajan.
09-22-2008 7:48 AM
Hi,
You have to declare workarea for both PAYIN_RESULT and PC20F.
First fill that DFT table in workarea and then other fields.
Add that workarea to internal table of PAYIN_RESULT.
The outline of the coding is as follow :
DATA :
GT_PAYIN_RESULT TYPE STANDARD TABLE OF PAYIN_RESULT,
GW_PAYIN_RESULT TYPE PAYIN_RESULT,
GW_PC20F TYPE PC20F.
START-OF-SELECTION.
...
APPEND GW_PC20F TO GW_PAYIN_RESULT-INTER-DFT.
...
APPEND GW_PAYIN_RESULT TO GT_PAYIN_RESULT.
Regards,
R.Nagarajan.
09-22-2008 8:10 AM
Hi Nagarajan,
Thanks for your prompt Reply. But my requirement is to make entries in DFT table of PAYin_result itself. Not in the internal table. So how can i go about that.
TIA
09-22-2008 8:16 AM
Hi,
You can't fill any structure in ABAP dictionary. PAYIN_RESULT is a structure.
In SE11, you can do nothing with this.
Regards,
R.Nagarajan.
09-22-2008 8:18 AM
Hi Nagarajan,
Thanks a lot for your guidance. Am done with my work.
Regards,
Sakkthiss