Application Development 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: 

How can I set Parameter ID.

Former Member
0 Kudos

In My Report i have pass challn no , challan year, Document No doc Yr to a standard Tcode J1ifq for challan recancellation.

ex: doc no docyr challan no challan yr.

34234435 2007 21 20007

22 20007

23 20007 to J1IFQ.

I am using set parameter ID as

SET PARAMETER ID 'MBN' FIELD IT_BDC-BELNR.<<<<<document No

SET PARAMETER ID 'MJA' FIELD IT_BDC-GJAHR.<<<<document Year

SET PARAMETER ID 'GJR' FIELD IT_BDC-DOCYR. <<<< challan No

SET PARAMETER ID 'J2F' FIELD IT_BDC-EXNUM<<<< challan year.

but document no and document year will pass to J1iFQ But not challan No and Challan Year.

so How can I solve this problem.

I am Using it_bdc as internal table having above data as in example.

plz any body solve this issue

3 REPLIES 3

former_member199581
Active Participant
0 Kudos

Are you sure that standard TCode performs the GET PARAMETER for those fields?

If not, you have to call the TCode using the BDC_DATA method.

Hope this helps,

Roby.

0 Kudos

As the fields Year and Challan number are in the table control in the transaction J1IFQ, you will not able to set the values with help of the parameter ID.

You can use the BDC which can set the values to that screen and table contorl.

Regards,

Naimesh Patel

Former Member
0 Kudos

MIS matching problems...

SET PARAMETER ID 'J2F' FIELD IT_BDC-DOCYR. ><<<< challan No

SET PARAMETER ID 'GJR' FIELD IT_BDC-EXNUM<<<< challan year.

PARAmeter id for challan no is J2F

and for Challan year 'GJR'

cehck it , it will work