2010 Aug 27 7:07 AM
HI,
I am using the IS_BIL_INVOICE table.
pls tell me how to send data to this table.
READ TABLE IS_BIL_INVOICE-HD_GEN INTO GS_GEN
WITH KEY BIL_NUMBER = IS_BIL_INVOICE-HD_GEN-BIL_NUMBER.
IS_BIL_INVOICE = GS_GEN-LANDTX.
how to declare IS_BIL_INVOICE-HD_GEN in global definitions?
how to get data form this IS_BIL_INVOICE?
Regards,
Wish.
HI,
I am using the IS_BIL_INVOICE table.
pls tell me how to send data to this table.
READ TABLE IS_BIL_INVOICE-HD_GEN INTO GS_GEN
WITH KEY BIL_NUMBER = IS_BIL_INVOICE-HD_GEN-BIL_NUMBER.
IS_BIL_INVOICE = GS_GEN-LANDTX.
how to declare IS_BIL_INVOICE-HD_GEN in global definitions?
how to get data form this IS_BIL_INVOICE?
Regards,
Wish.
2010 Aug 27 5:52 PM
I'm assuming this has something to do with a Smart Form. Please take a look inside the standard invoice form LB_BIL_INVOICE. It has all the related global definitions and some ABAP code.
When I was a beginner, this table used to drive me nuts. It has a very complex structure with some nested structures and tables. HD_GEN is just a structure, so it's a bit easier. In case you don't have access to the Standard Smart Form, here is a fragment:
Definition: GS_HD_GEN TYPE LBBIL_HD_GEN
CLEAR gs_hd_gen.
MOVE-CORRESPONDING is_bil_invoice-hd_gen TO gs_hd_gen.