Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Populating DFT table in PAYin_result

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

4 REPLIES 4

Former Member
0 Kudos

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.

0 Kudos

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

0 Kudos

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.

0 Kudos

Hi Nagarajan,

Thanks a lot for your guidance. Am done with my work.

Regards,

Sakkthiss