Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP SCRIPT ADDRESS FORMAT

Former Member
0 Likes
1,284

Hi,

I need the vendor details as follows in SAP SCRIPT format.

Header 1Header 2
account number35
country keyin
name 1 sainath
name 2m

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.

1 ACCEPTED SOLUTION
Read only

former_member188827
Active Contributor
0 Likes
1,242

try using NEW-PAGE command.

Regards

11 REPLIES 11
Read only

former_member209120
Active Contributor
0 Likes
1,242

This message was moderated.

Read only

alok_patra
Product and Topic Expert
Product and Topic Expert
0 Likes
1,242

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,

Read only

0 Likes
1,242

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

Read only

former_member188827
Active Contributor
0 Likes
1,243

try using NEW-PAGE command.

Regards

Read only

0 Likes
1,242

This message was moderated.

Read only

0 Likes
1,242

This message was moderated.

Read only

0 Likes
1,242

No . NEW-PAGE command is ok. But details of vendor should ne displayed in single page. This is my requirement

Read only

0 Likes
1,242

Hi,

Thanx for ur comment. Useful answer. But extra one page in top is showing as default dono y?

Read only

Former Member
0 Likes
1,242

Hi,

Command New-page showing extra one page in addition.

Read only

0 Likes
1,242

This message was moderated.

Read only

0 Likes
1,242

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.