cancel
Showing results for 
Search instead for 
Did you mean: 

Sapscript Help WA_SCHEINVERS1

former_member184029
Participant
0 Kudos

Hi experts

I have copied WA_SCHEINVERS1 to a ZWA_SCHEINVERS1 to make some changes, but :

1) Value of two parameters are empty when form is printed, the selection are good but I don't know why data is missing.

On Sapscript I have

a.-


DEFINE &INVAR1& = &MSEG-LGORT&
PERFORM GET_DATA1 IN PROGRAM ZMMR03
USING &INVAR1&
CHANGING &LGOBEX&
ENDPERFORM

DEFINE &INVAR2& = &AM07M-KONTIERUNG&
PERFORM GET_DATA2 IN PROGRAM ZMMR03
USING &INVAR2&
CHANGING &LTEXTX&
ENDPERFORM

b.- These are empty value

 M1	 	Text1  ,,:,,&LGOBEX& 

 M1	 	Text2 ,,:,,&LTEXTX&

2) On T/Code MB90 I send to print two positions, the first printed page contents


SAP Logo
Cliente
Receiver
Department
Spool request
Database ...

How can I do to delete this page and print two positions in one page?

I will appreciate any information.

Regards

Tokio

P.D: Points Rewards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

PERFORM GET_DATA1 IN PROGRAM ZMMR03
USING &MSEG-LGORT&
CHANGING &LGOBEX&
ENDPERFORM
 
DEFINE &INVAR2& = &AM07M-KONTIERUNG&
PERFORM GET_DATA2 IN PROGRAM ZMMR03
USING &AM07M-KONTIERUNG&
CHANGING &LTEXTX&
ENDPERFORM

And in the Program <b>ZMMR03</b>, put a breakpoint and check whether the values are coming or not, if the values are coming then chekc the code and check the Out table at the end of the perform

coming to your second point --> Please explain clearly

Regards

Sudheer

former_member184029
Participant
0 Kudos

Hi, Sudheer

Your answer for my first point was very helpfull, debugging the program code I check that outt_condx-name was missed. I fix it and it works.

About my second point is,

2.a) I try to explain better, I go to T/Code MB90 to print "Output from Good Movements", then execute I have a list with material documents, when I select position 1 and position 2 of same material document and PRINT, the system prints a first page with :

SAP Logo

Client 200

Receiver USSER

Department

Spool request SCRIPT LP01 TFRANCO

Database EDEV (edev)

Owner TFRANCO....

How can I do to this page has not be printed

2.b) I need to print in one page the two position Good Movements. Now after the fist page (point 2.a) one page printed contain first position and next page second position.

Main window of sapscript uses command line PROTECT ENDPROTECT, where data for each position is written.

Regards

Tokio

Answers (0)