Driver program for sales order in smartforms?
whatst he driver prog for sales order in smartforms?
how to attach my smart form to driver prog
thanks & regards
lakshmi
Hi,
Driver Program is the program which is used to link the form and the ABAP program.
U have to use the FM 'SSF_FUNCTION_MODULE_NAME' to give the form name.
Here 'Z_TRNG_SMART_MUL_PURCH_T012' is the form name.
sf_formname = 'Z_TRNG_SMART_MUL_PURCH_T012'.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = sf_formname
IMPORTING
fm_name = sf_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CALL FUNCTION sf_fm_name
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
v_ekpo = v_ekpo
v_adrnr = v_adrnr
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
it_ekko = it_ekko
it_ekpo = it_ekpo
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Thanks & Regards,
Roja Velagapudi.
Similar Messages
-
Standard Driver Program for Sales Order Confirmation
Hi,
My requirement is to develop smartforms and driver program for Sales Order Confirmation.
For doing this, I found there is a standard smartforms R2RBL_SDORC_L for Sales Order Confirmation. So I thought I can take a Z copy of this smartform and modify it to my requirement. So that we can use the Import parameters (Form Interface parameters) of the form R2RBL_SDORC_L. This will also reduce the work of writing the code in Driver program.
Now, I need to know what is the standard driver program for this form R2RBL_SDORC_L. If I can find the program name, I can take a Z copy of that and enhance it to my requirement.
Ultimately I believe I can reduce the work of writing code to fetch all Sales order details.
Can anyone let me know the standard driver program name for the form R2RBL_SDORC_L?Can anyone share how you approached in developing smartforms and driver program for Sales order confirmation?
Note: This program and smartforms will be assigned in the NACE transaction. -
Hi all,
Can any body tell me Standard Driver program for Sale Order Smart form?
Useful answer will be rewarded
Thanks in advance,
Sachin.Hi Sachin,
you can do this by,
<b> NACE</b> (tocde) --> select <b>Sales</b> --> click <b>output types</b> -->
select any standard output type --> double click on processing routines.
You can see the program name
For this it is -
<b>RVADOR01</b>
Reply me if there is any queries -
Standard driver program for sale order
i am working with sale order confirmation,(smartforms)
is there any pre defined driver program for this.Not RVador01/
and i need to display the output in the form of a print out or PDF for sending the mail.
So please give me the logic for this.Hi,
have a look at table <b>TNAPR</b> to check the print program assigned to your smartform/sapscript.
Best regards. -
Smart form and its driver program for sales order
Hi Experts,
Please give me the standard Smart Form name along with its Standard driver program.
I already have RVADOR01 program which is a driver program for SAP Script RVORDER01.
But I need standard smart form with its standard driver program for VA02, VA03 (Sales order) transaction.
<REMOVED BY MODERATOR>
Thanks In Advance
Ram
Edited by: Alvaro Tejada Galindo on Apr 8, 2008 12:10 PMHi Ramachandra Babu,
Welcome To SDN!!
Check output types in NACE tcode...
Sample example,
Goto Transaction NACE --> Select Application V1(Sales) --> Click on Output Types --> Select the output type as BA00 (as generally BA00 is the output type associated with Sales Order ) --> Double click on the Processing Routines folder on the left and it will display the Form name and the corresponding driver programs name.
Regards
Kiran -
Dump in smartform driver program for purchase order
i created one smartform with driver program for purchase order.
in smartfrom i gave
form interface: p_ebeln as import,
tables as it_ekpo like ekpo.
global definitions are
wa_ekko type ekko for printing the ekko data in one window,
wa_ekpo type ekpo .
in main window i took the one table and loop the ekpo table for printing the item details.
no errors is there.but ; when i call this generated function module to my driver program it goes to dump.
in driver program i declare structures,internal tables,work areas, and parameter as p_ebeln .
and also select statements for my table all are good.but its not work.
in function module i pass the details as export p_ebeln = p_ebeln and table it_ekpo = it_ekpo.
and also i done debugging in this data come to the internal table and work areas.
but it goes to dump.
if u dont mind plz solve my problem.
Thanks
Navya.
Moderator message: empty lines removed, subject corrected, please use meaningful subject lines when posting!
Edited by: Thomas Zloch on Mar 24, 2011 10:10 AMHi Navya,
Your smartform is correct. But, as per my understanding, the dump comes when you call the smartform from the driver program. If that is the case, please check the input parameters and all th parameters in the program should be same as used in samrtform. Any deviation would lead to a dump.
Analyse and resolve!!!
Regards
Atul Sachdeva -
Standard(Smartform) Program for Sales order Confirmation
Hi Experts,
I have a new Requirement on Smartforms,
It is Sales order confirmation, Can Any one say what is Revelant program for this Requirement...
(RVORDER01) is for SAP SCript But i Required Smartform Program..???
Thanks,,
ksreddy.I Required a program for sales order confirmation ..
Resolved..!!
Thanks, -
Driver program for BIll of lading smartform
Hi all,
Can you please provide me the standard driver program for bill of lading smartform.
or for purchase order smartform.
Thanks and regards,
RajeevHi,
For Purchase Order - SAPFM06P.
And for future info,
If you Know the Application and Output Type - Then it is very easy to know the Smartform or the Script Used.
1.Go to NACE and Check.
For Ex: PO belong to APP type EF, So click on EF and then click on "Output Type " button.
Then all the output types will be displayed.Then select the required and Click on "Processing Functions". Then you can see the Configuration details done for this ouput type like which smartform, which subroutine.
2.Also, You can check the TNAPR table entries by entring the below information
Output Type, Message transmission medium, Application.
Thanks & Regards,
Vamsi. -
Driver program for Purchase Order form "/SMB40/MMPO_A"
Hi All
Could you please suggest me Driver program for Purchase Order form "/SMB40/MMPO_A" ?
Driver program "/SMB40/FM06P" does not have the same interface structure as this form, hence can not be used.
<< Text removed>>.
Regards
Ansh
Edited by: Matt on Mar 27, 2009 7:22 AM - Please do not offer pointsHi Ansh
see this link
[Driver program |https://forums.sdn.sap.com/click.jspa?searchID=24089230&messageID=6810108]
Regards
HAreesh Menon -
Deletion Utility Program for Sales Order.
Hi Experts,
We decided to have a deletion utility program for Sales orders.
The program should take sales order numbers from a source file, and delete one by one, also the program should generate process log details at the end.
For creating the above program i need to create a new program or there is any BAPI for deleting the Sales Orders.
Thanks & Regards,
RamanaHi,
Possible UPDATEFLAGS:
BAPISDH1X-UPDATEFLAG = 'D'.
U = change
D = delete
I = add
If you go to SE37 give BAPI_SALESORDER_CHANGE --> Display ---> In application tool bar Last Buttion Function Module Documentaion --> Here you get some usefull information.
Dont Change the BAPI Just pass the Header X = 'D'.
Try this Sample Program.
PARAMETERS: p_vbeln TYPE vbap-vbeln OBLIGATORY.
DATA: i_hdrx TYPE bapisdh1x.
i_hdrx-updateflag = 'D'.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = p_vbeln
order_header_inx = i_hdrx
TABLES
return = i_ret.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
LOOP AT i_ret.
WRITE / i_ret-message.
ENDLOOP.
Thanks,
Durai.V
Edited by: Durai V on Aug 19, 2008 8:22 AM -
Driver Program For Withholding tax(USA) Smartform 'idwtcert_us_1099misc1'
Hai friends,
i need to print withholding taxes(USA) by using the smartform 'idwtcert_us_1099misc1'. for this purpose
for driver program i checked in tnapr table. & i have checked in sap Img Path also. but i am unable to find it.
so please help in this regaurd. & i want to know how to find driver programs for standard FI smartforms.Hi Wayne,
We opened a note with SAP and were told that a US 1042s copy could not be used within the standard system. Looking into it further we found that the form name was coded into a selection program. We had an ABAP developer add code that allows us to use a "Z_" copy form.
Regards,
Gregg -
DRiver program for Purchase order smartform
Hi,
I am trying to use "smartform" for purchase order printout.
But not getting any driver program to attach in NACE for this output type(NEU). Is there at all any standard SAP delivered program for this purpose ?
If Yes, then what is it ?
Thanks for your response..
TSHI,
Try this ..
goto the program RS_ABAP_SOURCE_SCAN
in the selection screen give the form name in the search string it will display the all driver programs .
let me know any help.... -
Smartform Driver Program for Purchase Order & Request For Quotation
Hi All,
We are in ECC 6.0 EHP 4
I am unable to find Driver Program /SMB40/FM06P for Smartform
Purchase order = SMB40/MMPO_L.
Request For Quoation = /SMB40/MMRFQ_L
So can anyone help me how to get the Driver Program into my SAP system.
Regards
RakeshWe had a similar problem... The package /SMB40/ is not installed by default with the ECC 6.0 system, so your Basis team should install it now.
See this thread for more information, I hope it can be useful for you.
/SMB40 and /SMB11 -
Program for Sales Order cretaion using BAPI BAPI_SALESORDER_CREATEFROMDAT2
Hi All,
Can any one please give me one modal program which uses the BAPI 'BAPI_SALESORDER_CREATEFROMDAT2' to create Sales Orders...
Thank You very much in advance.....................Hi Krishna ,
Please check the below links .
[http://www.sap-basis-abap.com/abap/bapi-sample-to-upload-data-from-flat-file-to-va01.htm]
[http://abapreports.blogspot.com/2008/06/bapi-sample-code-for.html] -- > Select and Copy from this one. -
Material substitution program for sales order
Hi,
I need to do a program with these requirements:
<<The substitution program (single process) must run for all sales orders as soon as Delivery block is set to VA and also when delivery block is removed.
Advice : Trigger program using an output type determined in the sales order>>
I need to know how to trigger this single process using "output".
Has any of u done this before? I've no idea where to start! Can anyone help me?
Tarick.Hi ajit
In VA05 itself you can see Ordered qty, Open order qty and confirmed quantity , Delivered qty , Delivered date .Even Laxmipathi also said same thing and i also agree with his words.
Regards
Srinath
Maybe you are looking for
-
Adobe Interactive Form problem
I have created a simple Adobe Interactive Form using Netweaver Developer Studio (latest version), and when I try to trigger Deploy New Archive and Run it gives me the following errors: Web Dynpro client: HTML Client Web Dynpro client capabilities: Us
-
Hi Experts, We have a requirement of stopping all the communication channels and reverting back to their previous state. i.e if the channel is in start mode it should go back to start mode. If it is in automatic control mode it should revert back to
-
Freezing Freeview TV on Qosimos in the UK
Hi All, I have read all the threads on the problem of freezing Freeview digital TV . This is a very serious issue here in the UK. It happens on all Qosimo's with the Hybrid DVB-T Tuner. How can it be a Transmitter problem, when other computers [Media
-
Spry:if inside a tr element
Hello, I would like to add a "selected" class to a html table row element if the curRowID == {dsRowID} so I tried the following <tr spry:if="searchBar.searchResults.listDataSet.curRowID == {ds_RowID}" class="selected" spry:select="selected" spry:repe
-
Nokia N97 Camera Flash In The Dark
My N97 is already currently being repaired in a Nokia Service Centre however not for this reason, i have just remembered that when i take a photo in the black or in the dark outside, and i use the flash, it takes the photo and most times not always y