on 07-17-2009 6:22 AM
Hi Everybody,
I am working on Purchase order form ( ADOBE Form). Need to display PO header and item details.But it is not for a single PO and it is for multiple POs.First i need to display one purchase order and its items after completing the all items of the first PO , the second PO and its' details should come in the next page.
I'm getting all PO details on the same page. How can i get it as above mentioned?
Thanks,
Vinit
Hi,
If you have Adobe designer 7.1 installed in your system, then you will have a PAGINATION tab available when you look at the Layout option of a subform. You can add a condition here to trigger a new page.
I dont think you can achieve this from the driver program as you have tried. One other way, though not effiecient is to find out the number of records that can be printed in a page and add extra empty records in table so that you can have new page for each PO.
Regards,
Susanta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
use control brake statements in the loop and print the PO header and corresponding items
eg: AT NEW for new po and AT END after the end of the line items.
caome back if any querys.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI ,
I have written like this in the driver program but its' not working.
LOOP AT it_final INTO wa_final.
At new vbeln.
NEW-PAGE.
CALL FUNCTION fm_name
EXPORTING
/1BCDWB/DOCPARAMS =
it_final = it_final
wa_final = wa_final
IMPORTING
/1BCDWB/FORMOUTPUT =
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endat.
ENDLOOP.
Thanks,
Vinit
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.