on 09-15-2009 9:33 AM
Hi all,
I think it's a stupid question, but I am very new in form printing, and I need some base information I cannot find searching here on SDN. I am writing some program for printout, and I understood how report write data in form in sapscript, and I also understood that in smartforms, there is an interface that function fills and where the form retrieve data needs for printing. What now I need to understand is how printing report know which data need to print. For example, if I am printing data about order 123456, and in SPRO I set my program as print program, how do I retrieve the order number?
thanks in advance and sorry if the question is too idiot.
Gabriele
Hi,
Check for tables NAST and TNAPR. Also, you have to do some configuration in NACE transaction, where you would specify print program name (if not using standard), entry point and smartform name (if not using standard) for a particular OUTPUT type. And if you are going to develop custom print porgram and smartform then read about function module SSF_FUNCTION_MODULE_NAME.
I hope it will guide you to explore more. Please revert for any further clarification.
Regards,
Sambaran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sounds like you've done some research and tried to find the info. Congratulations, there are many on this site that don't even bother. Look up 'Output Determination' in the help files and you'll find some more useful information. Basically, when you configure an output type and associate it with an application, the object key field from table NAST (NAST-OBJKY) will hold the value for the document number and possibly other information (such as the item number) if relevant. For SAPScript, you may also find the document number in a global structure field that's available in the print program and for Smartforms, you will find the document number in a field or structure in the form interface.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.