Steps involved to Configure a Smartform for printing TO Item

Hi,
I want to develop a Smartform to print TO for each Item.
Currently it is being done using SAP Script.
I checked the Configuration in OMLV and assigned my print program Z****** .
This thing here is I don't see any values passed to my program like TO Number, Whse Number etc when called through LT31.
Where as I assign the standard program RLVSDR40 and debug it all the details are being passed to this program.
I am not sure if I am missing any configuration.
Please help me to figure out the issue and let me know all the steps involved in configuring the Smartforms to print Transfer Orders.
Thanks in Advance.
MK.

Hi Murali,
The SAP delivers the solution to print the TO item by SAPScript, but we can do it by Smartform as well, as in
You need to create a project for the enhancement MWMD0001, because EXIT_RLVSDR40_001 will fulfill your purpose of doing it the other ways i.e. via Smart from.
For this you have to use CMOD transaction to create the project for the above said enhancement.
Note: If you do this way any configuration done via OMNU wont't be considered.
Then after in teh import parameters you have a table XRLDRI, which contains both the warehouse number and the transfer order number, the same can be passed on to the designed Smartform to fulfill your purpose.
Sample Code, you can refer to:
*local variable declaration.
   DATA: l_wa_fm_name            TYPE rs38l_fnam.
* Local Field Symbols
   FIELD-SYMBOLS : <l_fs_rldri> TYPE rldri.
* Local Constant declaration
   CONSTANTS : lc_fmname TYPE tdsfname   VALUE 'XYXYXYXY',  "Smartform name, here designated by 'XYXYXYXY'
               lc_chk      TYPE rldrudruck VALUE 'X'.
*Moving Transfer Order Print :Item level data into corresponding work area.
   LOOP AT xrldri ASSIGNING <l_fs_rldri>.
* Determine smartform function module
     CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
       EXPORTING
         formname           = lc_fmname
       IMPORTING
         fm_name            = l_wa_fm_name
       EXCEPTIONS
         no_form            = 1
         no_function_module = 2
         OTHERS             = 3.
    IF sy-subrc = 0.
* Call the function module of the smartform
       CALL FUNCTION l_wa_fm_name
         EXPORTING
           user_settings    = lc_chk
           tanum            = <l_fs_rldri>-tanum
           lgnum            = <l_fs_rldri>-lgnum
         EXCEPTIONS
           formatting_error = 1
           internal_error   = 2
           send_error       = 3
           user_canceled    = 4
           OTHERS           = 5.
       IF sy-subrc = 0.
       ENDIF.
     ENDIF.
   ENDLOOP."LOOP AT xrldri ASSIGNING <l_fs_rldri>. 
Please validate the same at your end and let me know in case you require any further inputs from my end.
BR/Thanks
Pranav Agrawal

Similar Messages

  • What are the steps involved in configuring Oracle EBSR12 after installation

    What are the steps involved in configuring Oracle EBS R12 after installation is complete?
    We have an empty oracle EBS R12 installed and up and running. We do not have anything configured.
    Please direct me to the documents that can be followed to do initial steps for the application functionality to work.
    Thanks,
    SR

    What are the steps involved in configuring Oracle EBS R12 after installation is complete?
    We have an empty oracle EBS R12 installed and up and running. We do not have anything configured.
    Please direct me to the documents that can be followed to do initial steps for the application functionality to work.All Oracle EBS Docs 11i/R12 can be found at:
    Oracle Applications Documentation
    http://www.oracle.com/technetwork/documentation/applications-167706.html
    Thanks,
    Hussein

  • Smartform for printing picklist and control ticket for productiono order

    Hello all,
    Is there any standard smartform for PICK LIST AND CONTROL TICKET for PRODUCTION ORDER....?
    Thanks,
    Chaitanya
    Edited by: oskchaitanya on Aug 23, 2010 3:06 PM

    There is no specific Program for the Control cycle  print.
    You can use the FM PK_KANBANCARD_PRINT.  This is configured using the Transaction PKMC. ( This is like NACE for PP )
    You can copy this and create a cutom one and assign it in PKMC. Take the Help of Functional Consultant for help on this transaction
    Thanks!
    Ashok

  • Error while configuring apache FOP for printing

    Dear All,
    I have a requirement to print a report using custom layout.
    I have installed apex 4.2 by configuring embedded PL/SQL gateway. I used the link:
    http://docs.oracle.com/cd/E37097_01/doc/install.42/e35123/overview.htm#CJABBFIH
    And for printing purpose I am installing apache FOP. I have installed oc4j in standalone mode. I followed the link:
    http://www.oracle.com/technetwork/developer-tools/apex/application-express/configure-printing-093060.html
    But after setting oc4jadmin password, I am getting following error
    13/01/15 12:52:07 WARNING: EJBContainer.postInit Error generating wrappers for f
    ile:/E:/app/OracleDb/j2ee/home/applications/admin_ejb.jarjava.lang.Instantiation
    Exception: javac.exe not found under C:\Program Files\Java\jre7, please use a va
    lid jdk or specify the location of your java compiler in server.xml using the <j
    ava-compiler .../> tag
    I have JAVA_HOME and ORACLE_HOME system environment variables set up as mentioned in the guide.
    I am not well versed with java.
    Can anyone please throw light on this issue and help me resolve this problem. This is an urgent requirement.
    Thanks and regards,
    Deepika.

    Deepika R wrote:
    13/01/15 12:52:07 WARNING: EJBContainer.postInit Error generating wrappers for f
    ile:/E:/app/OracleDb/j2ee/home/applications/admin_ejb.jarjava.lang.Instantiation
    Exception: javac.exe not found under C:\Program Files\Java\jre7, please use a va
    lid jdk or specify the location of your java compiler in server.xml using the <j
    ava-compiler .../> tag
    I have JAVA_HOME and ORACLE_HOME system environment variables set up as mentioned in the guide.
    Seems like the Java EE container is looking for the Java compiler. Try installing the Java Development Kit (JDK) and respecify your JAVA_HOME accordingly. HTH.

  • Configuration of Smartform to print locally

    Hi Gurus,
    I want the output of smartform on my local printer. As I am working in client location offshore no basis guys are there and default printer is that of onsite. Can u Please tell me how LP01 can be configured to get the print on my local printer.
    Thanks in advance.
    Cheers,
    kedia

    Hi,
    go with print you in sp02 you will get the spool request get the spool request no and execute the program RSTXPDFT4 and give the req no in that and the file path and execute the program you will get the pdf generated in your specified path .
    now print the pdf which you got.
    Thanks,
    NN.

  • Smartform for printing Appointment Letters

    Hi All,
    We have a requirement where we need to develop forms for printing Appointment Letters to employees.
    Are there any standard forms/scripts available in SAP for this kind of requirements?
    Regards
    Pavan

    Pavan,
    You can try this Smart form
    HR_MGE_OFFER_SHEET
    Regards,
    Satish

  • SRM 7.0 - Configure Field Control for Shopping Cart Item Overview

    Hi,
    I am able to hide fields in the shopping item details using the "Configure Control for Fields on Item Level" node in the IMG. 
    However, this same configuration does not seem to work for fields that are in the item overview of the shopping cart.  Any advice on how/why this seems to work differently?
    I do want to hide fields via config, not as an end-user.
    Thanks!
    Matt

    Hello Matt,
    You will find this useful.
    https://websmp105.sap-ag.de/~sapidb/011000358700001969972008E.pdf
    Thanks
    Ashutosh

  • Steps involved in Orcale apps 11i for setting a report to run automatically

    I want to run a report automatically every day in oracle apps 11i.
    I have created the rdf file using reports 6i and I have registered it in oracle apps. Now i would to like to know what are the procedures involved in setting this report to run automatically.Pls. help.
    Thanks in advance

    When you are submit your concurrent program to run
    in At These Times section Go to Schedule Button section...
    there you can schedule accordingly

  • Configuration Settings - HR_SGPPP (Smartform) & RPUPBSR8_PRINT (Print Form)

    Hello Experts,
    Can anyone please let me know where HR_SGPPP  smartform and print form is configured(Transaction code and steps to configure the smartform and print program ).
    Kindly do the needul help.
    Thanks & Regards,
    Lakshmi Prasad

    Hello Experts,
    Details :
    For the pensionable employees, the form 'Option for Retirement Benefit' needs to be printed along with pension paper.
    The standard pension paper print program u201CRPUPBSR8_PRINTu201D calls the smatform u201CHR_SGPPPu201D from the routine u201CPRINT_PPu201D.
    Thanks & Regards,
    Lakshmi Prasad

  • Installing and Configuring Adobe Document Services For Print Forms

    Hi,
    I want to use Adobe Document Services,for Print Forms Scenario,on ABAP side.
    I installed the Adobe document Services following the steps in the Installation Guide.I obtained the Credentials file and supplied it during installation.
    Then i followed the steps in the configuration Guide,except for the SSL connection part, as i have chosen Basic Authentication .
    The Web Service is running and on opening the home page,when i test the method rpData,it asks for Username and password,when i supply my username password it says, user does not have rights to method rpData.
    I even tried using J2ee Admin rights,user with SAP_ALL rights, and ADS_AGENT.
    When i test the service from ABAP side,using the RFC destination i created on Client 400,from where i want to use it, the test shows status code OK.
    When i test a form through transaction SFP,it asks for  USERNAME and password,which i tried as my USERID,ADMIN ID with SAP_ALL rights, even with the users i created during Configuration like ADS_AGENT, ADSUser etc.
    Our J2ee Engine is installed on Client 200,i installed the ADS on Client 200 and created the users ADS_AGENt(service user with role SAP_BC_FP_ICF) and ADSuser on Client 200.
    I also activated the ICF services and created the destination for the destination service using Visual Administrator.
    My Issues:
    1)To test the Webservice,what USER ID password needs to be supplied?Do i need some Special role or rights?
    2)During Configuration ,when i create a USer in SAP Web AS ABAP for Basic Authetication,after creating ADSCallers Role and assigning to ADSUSer ,in Visual Administrator,after selecting com.adobe/AdobeDocumentServices*AdobeDocumentServicesAssembly.jar ,under ADSCallers,i ama ble to see the both the users ADSUser(user in j2ee Engine for basic authentication ), and ADSUSER (user type system in ABAP),are visible,
    When try to add ADSUSEr by choosing ADD,from USER Tree , it doesn't do so.So i Added the ADScallers group instead,thus indirectly both users added.Can this be a Problem?
    3)What else do i need to do?Am i missing something?
    Please help.
    Regards,
    Siddhartha

    Hi all,
    I am having an issue in which my ecc could not use properly the ADS on the EP.
    I could properly execute FP_PDF_TEST_00 from se38 transaction which gives the correct version no of ADS.  Also I am able to get the correct version no by giving username and password at http://<J2EE_host>:<J2EE_port>/AdobeDocumentServices/Config  which seems like the ADS is working properly in EP.
    However when the abaper is trying to run his form using spf like ZFORM_VENDOR  it is showing error like
    " Error during activation Message no. EU837 "
    Can you please shed some light on what all steps I need to check to ensure that ADS is working properly ?

  • Configuring smartform for production order printout

    hi geeks,
    my requirement is that i need to replace the standard SAPscript with a new smartform for printing production orders for ca02.I would like to know if any one worked before on this and if yes please let me know the method of doing the same.

    Hi Sharma,
    You have to configure production order O/P through Config.
    Please use T/code "OPK8" > Select your Shop floor List> then assign Print program and form.
    I think you have to create a Zprogram for your smartforms.
    Hope this helps you.
    Lanka

  • Can anybody share the steps involved in Rebuildable in oracle eAM

    Hi,
    Iam enable to do a flow on Rebuildable in oracle eam, Could anybody helps the steps involved in Rebuild able and Preventive Maitenance.
    It will be helps me alot.
    Advanced thanks
    [email protected]

    What are the steps involved in configuring Oracle EBS R12 after installation is complete?
    We have an empty oracle EBS R12 installed and up and running. We do not have anything configured.
    Please direct me to the documents that can be followed to do initial steps for the application functionality to work.All Oracle EBS Docs 11i/R12 can be found at:
    Oracle Applications Documentation
    http://www.oracle.com/technetwork/documentation/applications-167706.html
    Thanks,
    Hussein

  • SmartForm for me23n

    Hi All,
    I just know a little about smartform.But now i should create a smartform to print PO items for me23n.
    So how to connect the standard print program to the created smartform ? In the smartform how can i use the data fields of standard print program.
    If i create a new print program , how can i know what's the current PO?
    Looking forward to your help.
    Thank u very much!!
    Message was edited by:
            andrea yang

    Andrea,
    First of all, for a smartform there is no need to create a print program. Every smartform will have a FM in the background and the code lines you write in the smartform are enough. There is no need of any separate coding to be done.
    As for how to connect the PO and the smartform that you develop, that will be taken care of your functional guys. Give them the smartform name and ask them to configure for the print output for me23n.
    Happy 'Smartform-ing'.
    Regards
    Aneesh.

  • Falied "Configure OLAP cubes for Project Web App" in Project Server 2013

    Hi
    I'm trying to use the PS2013's capability for generate SSAS Cubes; but after I execute
    the steps described on “Configure OLAP cubes for Project Web App (http://technet.microsoft.com/en-us/library/jj943761.asp)”  the only thing
    achieved is that the state being "Processing…" and the log:
    ===== Initiating OLAP database build process =====
    [10/11/2013 2:48 PM] Cube build request message has been added to the Project Server queue
    When I check the jobs, the one who is associated with the cube creation is on "Succeeded" state but the OLAP database is never created. There is no evidence I think on the Sharepoint log.
    For notice:
    10/11/2013 14:36:24.41 w3wp.exe (0x1A70)                       0x1848 
    Project Server                   Analysis Cube Building                       
    8ida        Information        Standard Information:PSI Entry Point:   Project User: PROJECTSERVER\system  Correlation Id: 0cea4e03-a432-e311-9401-001cc094718e  PWA Site
    URL: http://<server-name>/sites/Walkthroughs  SA Name: Project Server Service Application  PSError: NoError (0) Cube build request was placed on the Project Server Queue.  afaf4b9c-57d6-7004-2661-c95edeacab11
    10/11/2013 14:36:24.43 w3wp.exe (0x1A70)                       0x1848 
    Project Server                   Analysis Cube Building                       
    8swo     Medium               PWA:http://<server-name>/sites/Walkthroughs, ServiceApp:Project Server Service Application,
    User:PROJECTSERVER\system, PSI: [CBS] Status message: Cube build request message has been added to the Project Server queue,
    LogLevelManager Warning-ulsID:0x3873776F has no entities explicitly specified.                afaf4b9c-57d6-7004-2661-c95edeacab11

    Seems like an error occurred during site collection provisioning with the project server features. The provisioning process was interrupted from a system error and doesn't recovered after system restart.
    I just created and provisioned a new site collection and everything is working now.
    ===== Initiating OLAP database build process =====
    [10/16/2013 5:57 PM] Cube build request message has been added to the Project Server queue
    ===== Verifying and running pre-build server event handler =====
    [10/16/2013 5:57 PM] Verifying and running pre-build server event handler
    ===== Determining database and OLAP database structure =====
    [10/16/2013 5:57 PM] Cube build initialization started
    ===== Building database and cubes =====
    [10/16/2013 5:57 PM] Cube build session started
    ===== Verifying and running post-build server event handler =====
    [10/16/2013 5:58 PM] Verifying and running post-build server event handler
    ===== Processing OLAP database =====
    [10/16/2013 5:58 PM] Process OLAP database session started
    ===== Verifying and running post-process server event handler =====
    [10/16/2013 5:59 PM] Verifying and running post-process server event handler
    ===== Process Completed =====
    [10/16/2013 5:59 PM] Cube build request completed successfully.

  • Smartforms for MM  po

    Hi All,
    Can any body share the driver program and smartform for printing MM Purchase order.
    The Tcode is ME21n.
    Immediate reply is highly appreciated.
    Thanks.

    hi,
               the  reply  might  be too late  but  it    might  help others.
    just        close your whole  code in  the         subroutine    e,g
    form         entry using    return_code us_screen.
    call function   fsname
    exporting
    tables
    end.
    and at the end o f the function
    clear  return_code.
    clear all the itabs and     structures as well.
    endform.
    go  to      nace
    select purchase    order
    press the change  button
    give  your   source      code   in  the  program  e,g  zh_purchase_order and      ur subroutine  name e,g "entry " in the  form subroutine.
    and   then save        it.
    Edited by: ZAHID HAMEED on Jul 17, 2010 11:56 PM

Maybe you are looking for