‎2015 Dec 10 7:31 AM
Dear Expertise,
I have developed a report in which I am calling my smartform .
It is working fine .
Now, my requirement is I have to do FORM Routine through Nace.
MB90 is the T-code through which smartform print is coming after giving input Output type and material document number.
I have configured my program name and smartform name in NACE t-code in output type WE01, WE02,WE03.
But How to code my code in standard routine i.e WE01.
I have attached pics also of MB90 t-code and nace as well.
Please give your valuable suggestions...
Waiting for your positive answers.
Thanks
Karan
‎2015 Dec 10 8:03 AM
Hi Karan,
It is advisable to copy WE01 and create a new output type ZWE1 to avoid confusion.
You would need a recreate the program ZMM_RGP and create a Form routine with name 'ENTRY_WE01'. In that you will have to write the logic to call the smartform.
You can refer the program RLB_INVOICE for your development.
Thanks,
Karthikeyan
‎2015 Dec 10 8:15 AM
Hello karthikeyan,
Can you please elaborate for me as I am little confused .
What I have done so far is
I standard output type , WE01, I have copied my source code in which smartform is also called .
But , when executing mb90, selecting WE01 as output type and giving material doc no , it is giving error as -
Please help.
karan
‎2015 Dec 10 9:37 AM
Hi Karan,
Please go through the below link to understand the output message determination.
Message determination in Purchasing - ERP SCM - SCN Wiki
I can see that you have replaced SAPM07DR as ZMM_RGP for WE01 output type in NACE. In the earlier post, I meant, you could create a new output type say ZWE1 by copying WE01 and maintain the custom program which you have created.
As per the error message, Output is not determined for your document. I suggest you to check if the output type, condition table & condition records are correctly maintained.
Thanks,
Karthikeyan
‎2015 Dec 10 10:30 AM
Thanks for the info .
I have resolved at my own .
Thanks once again .
Karan