‎2006 Sep 19 11:32 AM
Hi experts,
i am working on smartform.
the form contains purchase order number in header and below that respective line items.
for one form only one PO number should be there .
then how to get one form for evry new PO number.
could u plz suggest me how to code for this requirement.
regards,
siri.
‎2006 Sep 19 11:39 AM
‎2006 Sep 19 11:35 AM
Hi,
In the driver program ( Print program ),
LOOP AT ITAB.
CALL the SMARTFORM and pass the data.
ENDLOOP.
Best regards,
Prashant
‎2006 Sep 19 11:38 AM
then if the PO number changes ?
how to get the form for that particular PO num.
regards,
siri.
‎2006 Sep 19 11:39 AM
‎2006 Sep 19 11:39 AM
While looping at itab.
use the
AT NEW fieldname event to check for new PO number.
‎2006 Sep 19 11:42 AM
in ME22n/ME21N,for each PO you should create an OUTPUT TYPE like PRINT OUTPUT. then only you can see the output for that PO.
Let me know,if you need any further help in this regard.
Regards
srikanth.
‎2006 Sep 19 11:46 AM
in ME22n/ME21N,for each PO you should create an OUTPUT TYPE(like PRINT OUTPUT etc..). then only you can see the output for that PO.
i am not getting why you are talking about multiple PO's in 1 smartform ?
Let me know,if you need any further help in this regard.
Regards
srikanth.
‎2006 Sep 19 11:57 AM
hi srikanth,
could u please tell me how to do this
Header Purchase Order Number Get EBELN from MSEG where MSEG-MBLNR (material document) = LQUA-WENUM.
Header Goods Receipt Date LQUA-WDATU
Header ID Number LQUA-MATNR
Item Batch Number LQUA-CHARG
Item Inspection Lot Number LQUA-QPLOS
i have little bit confusion
help me how to do
regards
siri
‎2006 Sep 19 11:55 AM
Hi,
For page break you can use "Command", where you can provide the page No also you can use condition.
Regards,
Cili