Skip to Content
author's profile photo Former Member
Former Member

Call Transaction

Hello All,

I am calling a Tcode(J1IS) from my report.

the thing is , I want to pass my Excise Num from report to that tcode.

my code is

*AT LINE-SELECTION.

GET CURSOR FIELD field VALUE val.

val_exnum = val.

SET PARAMETER ID :

'J2G' FIELD val_exnum.

CALL TRANSACTION 'J1IS' AND SKIP FIRST SCREEN.*

From this code i am able to enter into J1IS but not able to pass EXNUM.How can i get next screen(press F6 for that) of J1IS instead of first screen.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Jan 28, 2008 at 11:55 AM

    Do the partial rcording for this transaction using the SHDB transaction. Then you can write a partial BDC program (Till only the screen you want) and call the transaction in ERROR Mode.

    Regards,

    Ravi kanth Talagana

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 12:00 PM

    Hi Kota,

    The code u develop is correct.But u have to check whether J2G parameter id is correct or not.And also the sytax for SET PARAMETER ID is

    set parameter id 'J2G' field val_exnum.

    Dont use colon after set parameter id ok..

    Reward points if helpful

    Kiran Kumar.G.A

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 12:06 PM

    Hi,

    Record the screen using SHDB and then stop where your requirement meets and pass the value from report to the BDC

    This will help you to solve the problem

    Regards

    Shiva

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 12:09 PM

    set parameter id 'MAT' field 'THAT value u r passing

    After this u can use

    call transaction 'mm01' and skip first screen.

    reward if useful..

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.