cancel
Showing results for 
Search instead for 
Did you mean: 

Adobe form Purchase order

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

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