on 01-27-2011 12:04 PM
Hi experts,
We are aware that we can print billing document from VF03.
My client want a separate program which takes document number
as input and produces the same form which we find in VF03.
I copied the form to a zform.
I tried giving as separate import parameter PARA_BIL_NUMBER
in the form interface.
Initialize IS_BIL_INVOICE-HD_GEN-BIL_NUMBER toPARA_BIL_NUMBER
But this throws an error message saying that value of
IS_BIL_INVOICE-HD_GEN-BIL_NUMBER cannot be changed.
Can some one suggest the best method to acheive this.
Thanks
Joshi
In a previous assignment, all custom forms I created could be called from an application transaction or from stand-alone transaction code or Sx38.
In SAP's forms driver programs, you have an entry point....the application enters the program there supplying some value. In my customer version for stand-alone execution, I had a start-of-selection routine that got the document number from the screen parameter, did the necessary setup, such as obtaining the form name, or reading NAST, etc., and passed that document number and any additional fields (named in using parameters) to the entry point subroutine. Or, SAP entered at the entry point subroutine, supplying NAST, etc.
From that point on, the program essentially is the same.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
See the 'pass by value' checkbox setting for the parameter in the interface. It's not marked for performance reasons but you could check it since it's a custom form. However, it doesn't sound like your approach is correct. The IS_BIL_INVOICE structure and all of its subcomponents are pre-populated by the driver program; simply switching the invoice number in the form initialization isn't going to work. You need to trigger the output externally with your invoice number.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.