‎2007 Oct 03 7:45 AM
Hi experts
In one of the smartforms, my collegues has used the following coding.
I don't know what about this IS_BIL_INVOICE, whether its a structure or a internal table.
please clarify me, its done used with output type. see the below coding part also.
SELECT SINGLE WERKS FROM VBRP
INTO (S_WERKS)
WHERE VBELN = IS_BIL_INVOICE-HD_GEN-BIL_NUMBER.
Thanks in advance.
Regards
Rajaram
‎2007 Oct 03 7:48 AM
‎2007 Oct 03 7:48 AM
Raja,
This is the standard form for Invoices. Your frend must have copied it into Z and added his own coding.
SELECT SINGLE WERKS FROM VBRP
INTO (S_WERKS)
WHERE VBELN = IS_BIL_INVOICE-HD_GEN-BIL_NUMBER.
Here he is getting the plant for the given Invoice from VBRP.
‎2007 Oct 03 7:49 AM
May be it would be Work area - IS_BIL_INVOICE
Just check in NACE Transaction to find out print program.
Goto NACE Transaction -> Select V3 application -> click on output type -> select corresponding output type (RD00 Standard type ) -> click on processing routine.
here you will find out the print program.
IS_BIL_INVOICE is work area
Thanks
Seshu
‎2007 Oct 03 8:33 AM
yes its defined as follow, actually what it means, why we are using this,
pls explain briefly.
2 Fax RLB_INVOICE ENTRY LB_BIL_INVOICE
Thank you for all your instant reply.
Regards
Rajaram
‎2007 Oct 03 3:52 PM
what ever output defined in NACE related to v3 Application then it will trigger invoice transaction like VF01,VF02,VF03 ..
So your print program is RLB_INVOICE .. ,if you create any invoice at VF01 ,then output type will trigger,this output calls Print program,print program calls Smart form. Finally you get output via FAX.
Hope you got it.
Thanks
Seshu
‎2007 Oct 03 8:01 AM
<b>IS_BIL_INVOICE</b> is a deep structure of type <b>LBBIL_INVOICE</b>, which is the import parameter of the Smart Form( you can find this in the Global Settings-> Form Interface -> Import parameters list)