12-11-2007 2:41 PM
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
12-11-2007 4:12 PM
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.
12-11-2007 4:15 PM
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
12-12-2007 8:52 PM
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