03-15-2007 3:22 AM
Hi All,
I am creating a Smartform and a report program which is to be attached to the transaction J1IV by creating an output message through NACE.
Now when the user will enter the document number in the initial screen of the transaction J1IV , I have to pick up the address of the vendor associated with that document number and year.
Now I am not getting how to get the name of the parameter of the initial screen of transaction J1IV which I can use in the query to retrive the data.
Please Suggest
Thanks
03-15-2007 4:39 AM
Hi Rahul,
J1IV Program submits to program J_1IPRNE_OUTPUT which actually collects data for printing purpose,
You can add code for getting vendor address there.
Alternatively for new output type try to read memory id "DOCNO" and "DOCYR" which wil give you document number & year which is being print by user.
Hope that helps.
Regards
Kapadia
***Assigning points is the way to say thanks in SDN.***
03-15-2007 5:39 AM
Hi Mr Kapadia
Thanks for ur reply
But can you please tell me how to capture the values of the screen parameters of the transaction j1iv.
I want to use the query as below
select * from j_1iexchdr into itab
where docno = ?
and docyr = ?
What to write at the place of ?
Thanks.