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

How to pass the data base profile (field PROF_DB) while using submit

Former Member
0 Likes
796

Dear All

How to pass the value to the filed database profile (PROF_DB) while using the submit statement for calling report (RM06EKPS) i.e. via ME2J transaction

Also, how to get all the fields (especilally WBSE number and Quantity to be delivered which are not captured when I use Submit statement) ?

Thank you

Dear All

How to pass the value to the filed database profile (PROF_DB) while using the submit statement for calling report (RM06EKPS) i.e. via ME2J transaction

Also, how to get all the fields (especilally WBSE number and Quantity to be delivered which are not captured when I use Submit statement) ?

Thank you

2 REPLIES 2
Read only

Former Member
0 Likes
657

Hi Srini,

yoy can use the submit statement for going to the other program from the your main program.

Before submit statement , if want to carry any field value from your main program to the submiting program ,at that time ,

in main program , you have to store that field values in a momory using statement export .

Suppose you want to carry matnr , ebeln in other program , then use following code.

Data : i(4),

matnr type matnr ,

ebeln type ebeln .

matnr = '121212'.

ebeln = '001000'.

export matnr ebeln into memory id i .

submit zprogram and return .

codes for zprogram.

Data : i(4),

matnr type matnr ,

ebeln type ebeln .

import matnr ebeln from memory id i.

hope this will hepl you.

Read only

0 Likes
657

Hi prasad,

Thanks for u'r reply, my first query is cleared but the second one while am using SUBMIT statement for report (ME2J) transaction am unable to get normal output fields in to the memory.

Please help in this regard.

Regards.