‎2013 Jun 10 11:01 AM
Hi,
I need the vendor details as follows in SAP SCRIPT format.
| Header 1 | Header 2 |
|---|---|
| account number | 35 |
| country key | in |
| name 1 | sainath |
| name 2 | m |
I created the table format but wen i give the selection of account number all the vendor details are displaying in single screen. But i need the details of vendors in separate pages. How is it possible.
Regards ,
Meenakshi.
‎2013 Jun 10 11:59 AM
‎2013 Jun 10 11:29 AM
‎2013 Jun 10 11:58 AM
Hi,
Your requirement is bit unclear. What I understood is that you need to display each vendor in a page, if so, try calling the SAP script inside inside vendor details internal table and use page break in your SAP script.
Thanks,
‎2013 Jun 10 12:21 PM
Hi Lako,
Pls see the tabular column. if i am giving vendor number from 10 to 20 in the selection screen means , that ten vendor details to be displayed in 10 pages. Using script i need to get the out put like the table i had given
‎2013 Jun 10 11:59 AM
‎2013 Jun 10 12:03 PM
‎2013 Jun 10 12:03 PM
‎2013 Jun 10 12:22 PM
No . NEW-PAGE command is ok. But details of vendor should ne displayed in single page. This is my requirement
‎2013 Jun 11 4:38 AM
Hi,
Thanx for ur comment. Useful answer. But extra one page in top is showing as default dono y?
‎2013 Jun 11 1:05 PM
‎2013 Jun 12 5:05 AM
‎2013 Jun 12 5:48 AM
Hi Ramesh,
Thanx for replying me.......wen i included the condition statement inside the driver program the alignment is in proper condition.
if wa_lfa1-lifnr is INITIAL.
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
COMMAND = 'NEW-PAGE'
EXCEPTIONS
UNOPENED = 1
UNSTARTED = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endif.
inside the loop statement only i included the condition statement.