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

program logic required

Former Member
0 Likes
634

Hi all,

I have requirement saying that transfer data from one program to another transaction selection screen.

Requirement is.

In a programi will l have final data in one internal table.

This data i need to send it for another program selection screen as input.

Please provide me the logic.

Thanks in advance

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
610
SUBMIT RMCB0300 WITH SL_WERKS-LOW EQ SO_WERKS-LOW
WITH SL_MATNR IN SO_MATNR
WITH VA EQ 'X'
WITH SL_SPMON-LOW EQ W_BUDAT1
WITH SL_SPMON-HIGH EQ W_BUDAT1
WITH SL_MTART-LOW EQ 'ROH'
WITH SLV_NO EQ 'STOCK'
EXPORTING LIST TO MEMORY AND RETURN.
5 REPLIES 5
Read only

Former Member
0 Likes
610

u need to use SUBMIT statement....

check the syntax for SUBMIT wherein u can send either data value or internal table data...

Read only

Former Member
0 Likes
610

use the first program as an include for the second program

then in the intilisation of the second program

use the values of the internal table of 1st program.

regards,

srinivas

<b>*reward for useful answers*</b>

Read only

Former Member
0 Likes
611
SUBMIT RMCB0300 WITH SL_WERKS-LOW EQ SO_WERKS-LOW
WITH SL_MATNR IN SO_MATNR
WITH VA EQ 'X'
WITH SL_SPMON-LOW EQ W_BUDAT1
WITH SL_SPMON-HIGH EQ W_BUDAT1
WITH SL_MTART-LOW EQ 'ROH'
WITH SLV_NO EQ 'STOCK'
EXPORTING LIST TO MEMORY AND RETURN.
Read only

marcelo_ramos1
SAP Mentor
SAP Mentor
0 Likes
610

Hi,

Try this way,

<b>SUBMIT zbeisr35 WITH p_rfc EQ 'X' AND RETURN.</b>

Regards,

Marcelo Ramos

Read only

0 Likes
610

HI ,

use the submit stmt and find the syntax in help

the diffrent ways you can pass the data through submit depending on your requirement.