2010 Dec 15 9:13 AM
Hi ,
I have a deep structure "LBBIL_INVOICE"
iam using this in smartforms
HD_GEN
HD_GEN_DESCRIPT
HD_ORG
HD_REF
HD_KOMK
HD_ADR
HD_PART_ADD
HD_CARD
HD_PAY
HD_KOND
HD_FIN
HD_TECH
HD_DOWNPAY
IT_GEN
IT_ADR
IT_PRICE
IT_KONDthese are some internal structure in deep structure
now i need some fields in IT_GEN and IT_REF to my custom internal table
how to create internal table and how to move the values to my internal table
Thanks
Surendra
Hi ,
I have a deep structure "LBBIL_INVOICE"
iam using this in smartforms
HD_GEN
HD_GEN_DESCRIPT
HD_ORG
HD_REF
HD_KOMK
HD_ADR
HD_PART_ADD
HD_CARD
HD_PAY
HD_KOND
HD_FIN
HD_TECH
HD_DOWNPAY
IT_GEN
IT_ADR
IT_PRICE
IT_KONDthese are some internal structure in deep structure
now i need some fields in IT_GEN and IT_REF to my custom internal table
how to create internal table and how to move the values to my internal table
Thanks
Surendra
2010 Dec 15 9:17 AM
Hello Surendra
This task is quite simple:
DATA:
ls_billing_data TYPE lbbil_invoice,
ls_gen LIKE LINE OF ls_billing_data-it_gen, " or TYPE LBBIL_IT_GEN
ls_ref LIKE LINE OF ls_billing_data-it_ref. " or TYPE LBBIL_IT_REF
LOOP AT ls_billing_data-it_gen INTO ls_gen.
...
ENDLOOP.
LOOP AT ls_billing_data-it_ref INTO ls_ref.
...
ENDLOOP.
Regards
Uwe
2010 Dec 15 9:19 AM
Come on this is really very basic abap knowledge.
you need some basic statments like loop, read, append, modify. I dont want to be a jerk, but really if you struggle on this one already i would propose to take some ABAP training before continuing to work on the system.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |