on 08-06-2008 5:54 AM
hi all,
Please, let me know some details of..How to attach a smartform to the flow sequence.
I have prepared a SF with a driver prog and it is having a selection screen exporting the quotation number to the fome interface.
but , my doubt is i want to attach this to the business flow by removing the selection screen so that the program have to pick the quotation number dynamicall when the qutation is saved and print the quotation.
i need ur suggestion/help/idea...
Hello,
Use NACE transaction.
Select V1 (Sales) and press output type .You can create your own output type .
Assign program name and smartform name to output type.
And Form routine as 'entry' .
In your driver program.
Write perform
FORM entry USING return_code TYPE i
us_screen TYPE c.
CLEAR retcode.
xscreen = us_screen.
PERFORM processing. (Write your code here).
IF retcode NE 0.
return_code = 1.
ELSE.
return_code = 0.
ENDIF.
ENDFORM.
Your quotation number will be in nast-objky.
Declare nast globally.
Check program RVADOR01 (for entry routine) .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
PP,
Goto NACE>select application V1>click output types>select AN00 output type>select this line and click on proccesing routine>here you can assingn in program and in form.
Amit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi PP,
You need to configure the print program to the Business flow. Anyhow, in the print program, the SF would be called. So, Ur requirement will be fulfilled.
I think the Quotation number transaction would be a standard one. So, for a particular sequence of execution in the standard transaction, the configuration needs to be done such that the driver program will be called.
Hope this info would be a little bit useful....
Phaniram.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
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.