cancel
Showing results for 
Search instead for 
Did you mean: 

problem with main window

Former Member
0 Kudos

hii frnds

i am using the standard sap acsript pm_common

in the main window i want to display the no of work centres and ther description

i have displayed it in the script as

protect

<S2>&AFVGD-ARBPL&</> <S2>&AFVGD-LTXA1&</>

endprotect under the text element TITLE_PAGE

so in this i am just getting 1 line item and i cant c the other line items .

can any body help me how to c all the line items .

thanks

rohit

Accepted Solutions (1)

Accepted Solutions (1)

former_member193831
Active Participant
0 Kudos

hi Rohit,

The Text element title_page is called only once so you get only one line item.

Use the text element "Operation"

Regards,

Vivek

Reward points if helpful.

Former Member
0 Kudos

hii vivek

when i am calling displaying my text in operation thn i am not able to c any thing .

in title_page i am just able to c 1 line item .

do u have any other solution . i am usinf the standard driver program RIPRGI00.

thanks

rohit

former_member193831
Active Participant
0 Kudos

Hi Rohit,

Are you getting multiple pages in the output.

Because you have put PROTECT there. Remove the protect and see if there are actuallly multiple lines in output.

Regards,

Vivek.

Former Member
0 Kudos

hii vivek i have found 1 thng that

under the text element MATERIAL if i am displaying

<S2>&AFVGD-ARBPL&</> <S2>&AFVGD-LTXA1&</>

&RESBD-MENGE(C)&</> <B2>&RESBD-EINHEIT&</>

now in this case i am getting all the line item for materials and the work centre but i am getting it in alternate way . like first line for workcentre and 2nd line for material .

can u say somethng about this . how to get the details displayed together and not in alternate form .

thanx

rohit

former_member193831
Active Participant
0 Kudos

You can comment the lines

<B2>Material </> ,,<B2>&RESBD-MATNR(C)&</> ,,<B2>

&RESBD-MENGE(C)&</> <B2>&RESBD-EINHEIT&</>

givern under /E MATERIAL text element.

Then it should not display the Material data.

Regards,

Vivek.

Former Member
0 Kudos

ya but i want the material data to be displayed . it has to be displayed after the work centre line items

former_member193831
Active Participant
0 Kudos

As MATERIAL text element is called from the print program in a loop; if you keep both the data under that it will be always together.

So try any other Text element like OPERATION or OPERATION_SHORT.

Regards,

Vivek

Former Member
0 Kudos

HII VIVEK I HAVE TRIED EVERYTHNG BUT STILL NOTHING IS WORKING .

THE DATA IS COMING IN ALTERNATE WAY ONLY . CAN GIBE ANYOTHER SOLUTION.

former_member193831
Active Participant
0 Kudos

Did you try this:

Separate the two texts in OPERATION and MATERIAL.

In OPERATION text element:

Put the Work centre related texts

In MATERIAL text elemet:

Keep the Material text elements ONLY.

This will help.

Regards,

Vivek.

Former Member
0 Kudos

YA I HAVE DONE THAT . I HAVE TRIED IT PLACING THEM IN DIFRNT TEXT ELEMENTS BUT IN SOME CAESE THE DATA IS NOT COMING AND IN SOME CASES THE ITS COMING IN ALTERNATIVE WAY .

I AM TRYING THE PASS A TABLE TO A PROGRAM . AND GET IT CALCULATED AND DISPLAY IT IN MY SCRIPT

I HAVE POESTED A Q HOW TO PASS A TABLE TO A PROGRAM AND TO GET IT BACK JUST C .

THANKS

ROHIT

Answers (1)

Answers (1)

Former Member
0 Kudos

Please Check your Print Program ,

The record that is getting Displayed on the form either the first record or the last record .

Make sure that WRITE_FORM is called in loop to print all the items , & in WRITE Form you are passing the text element TITLEPAGE

  • Please mark useful answers