How to execute ME22N transaction in background.

Hi experts,
How to execute ME22N and ME23N in background, when execute the transaction in background, , it should generate a spool, with out any printpreview. How can we do this....?
thanks

Hi,
Write a BDC program for updation of tables for u r user-exit.
After that Schedule u r program in back gound job scheduling.
Using  SM36 - Define Background job.
Give the job name and Press job wizard button.
It's asking about job name and job class -prioritty.
press continue and give program name .
Select radiobutton based on u r requirement.
Then specify periodic job or only in holidays.
Then u select hours and all.
In SM37 give u r job name and and press execute.
Reward if useful.
Regards,
Narasimha

Similar Messages

  • How to execute the transaction SCI

    Hi All,
    How to execute the transaction SCI
    Thank you,
    Sridhar.

    Hai ,
    there are two ways to use SCI , one is you open you code in se38 -->display mode --> Program >check>code inspector. here your program is executed with a dafault variant provided in SCI.
    Second method is go to SCI , create a inspection  an choose a variant , here system provide you with a wide range of program checks (security/syntax etc)
    For any further help.
    Do reply.
    Regards
    Jase

  • How to execute a transaction code in prod.Server from development server

    Hi Friends,
    How to execute a transaction code in prod.Server from development server,Pls give me your valuable suggestions...
    Regards,
    V.Balaji

    i have  a program in production system if i type the request and execute its sends a mail to my admin saying to transport the request to production system.....thats y??????
    just tell me ur idea.............

  • Require Job name in SM37 while executing call transaction in background

    Hi all,
    I am executing a report program, which contains Call transaction.
    I have recorded properly. The recording contains background job screen also ( means a separate popup came and i gave the job name and i gave immediately )
    When i execute in this program in foreground its creating job,its showing the job in sm37.
    But when i execute this program in background, it does not showing the job name in sm37.
    Anyone kindly help this out?
    Anandhab

    Hi,
    The job will be created by the step level user.
    Try searching again with jobname and * for username.
    Regards,
    Jovito

  • How to execute a transaction with a different user from the logged user?

    Hello Experts!
    I'm trying to find out a solution about this scenario: our users need to release a Purchase Order (ME28) and/or a Service Entry Sheet (ML85) in SAP from a WEB based application through TIBCO, but the requirement is to execute this operation with the same SAP User name of the user (with his authorization) and not with the TIBCO user that is logged to SAP.
    Is there someone that could suggest me a real time solution and how to develop it? I really appreciate your contribute and I'm at your disposal for any further information.
    Thank you very much!
    Alessandro

    Hi Rob!
    Thank you for your help, but I can't apply this solution, because we need to execute the transaction with a specific user name and not a generic user, besides our user have different authorization, for example the user Mr. Rossi can release only his Purchase Order but not the PO of another user Mr. Bianchi. Moreover we need to see the PO released/modified from a specif user name. So this is our constraint.
    Bye Ale.

  • How to call a transaction in background ?

    hi all,
    i want to call a transaction in background in a user exit which will run a BDC program.
    i am testing CALL FUNCTION 'ZNSTEST' IN BACKGROUND TASK.
    i tried to write to a database table it didn't work .
    can anyone help me on this.
    i want this BDC to executed once the standard transaction is completed so i have added a WAIT UP TO 10 Seconds code in the functional module
    Regards Nafran.

    Hi,
    Write a BDC program for updation of tables for u r user-exit.
    After that Schedule u r program in back gound job scheduling.
    Using  SM36 - Define Background job.
    Give the job name and Press job wizard button.
    It's asking about job name and job class -prioritty.
    press continue and give program name .
    Select radiobutton based on u r requirement.
    Then specify periodic job or only in holidays.
    Then u select hours and all.
    In SM37 give u r job name and and press execute.
    Reward if useful.
    Regards,
    Narasimha

  • How to execute mb31 transaction code

    Hello,
        Please tell me how to execute mb31 tcode for creating a GR for Order.
    Even after giving a destination storage location, the material shows 0 stock in MMBE
    Please reply
    Thanks & regards,
    Priyanka

    give following details
    Document Date in Document : The document date is the date on which the original document was issued.
    Posting Date in the Document :Date which is used when entering the document in Financial Accounting or Controlling.
    Delivery NOTE: if you wish to give its external no range
    Moment type: 261
    Order: if you have order no any
    plant & Storage Location as required

  • How to execute an RFC in background

    Hello People!
    Is there a way of execute an RFC in background without broken the execution after connection timeout? I have a RFC calling another RFC in background mode but the process stops after connection timeout. As far as I know, the sap user connection is done like DIALOG and, after timeout, all processes started are finished.
    I thought to use JCO directly but i'm looking for a better solution.
    Thanks to all.
    Best regards,
    Marcelo

    Process p = Runtime.getRuntime().exec("yourCommand.exe");

  • How to Execute RMDATIND inside another Background Job using a variant?

    Hi,
    It is only possible to start RMDATIND (direct input) in background from transaction BMV0 u2013 it is impossible just to place the program in another job in SM37 or SM36.
    In a related thead I saw : u201DSolved my self by using BI_START_JOB. If I use this function module along with RS_CREATE_VARIANT and RS_VARIANT_DELETE. u201C
    Following is the link to that thread
    Re: Problem in using JOB_OPEN, JOB_SUBMIT & JOB_CLOSE
    RS_CREATE_VARIANT (Creating a variant (not using a selection screen))
    RS_VARIANT_DELETE(Variant to be deleted)
    BI_START_JOB
    Can some one provide me with all the parameters required to execute the above Function Modules?

    Hi,
    Refer below thread:
    Process Control in Confirmation Parameters
    All the relevant details are explained in detail..
    Best Regards,
    Siva

  • How to execute "begin transaction"

    Hi Friends
    I want to execute sql statement
    A) begin trnsaction
    B) do some trnsaction
    c) commit
    d) end transaction
    But i am not able to execute statement A) using JDBC Statement class.
    How to.
    Please help.
    Thanks in advance.

    do this in the connection'
    Connection c = DriverManager.getConnection("jdbc:adburl:\\blahblah");
    c.setAutoCommit(false);// start a transaction
    // do some work with statements here on this connection
    if(success){
      c.commit();  // work is finished commit the changes
    }else{
      // didn't like what happened?
      c.rollback();
    }

  • How to execute SAP Transaction from cmd

    Hi, Dear All,
    How can we execute an SAP Transaction from the command prompt.
    Your inputs are highly appreacited.
    regards

    Go to the command prompt (CMD) and change to the directory where the SAPGUI software is located. Then, run: sapgui <hostname> <instance> Example: sapgui sapprd 00 This is a very fast way to start a SAPGUI session against the indicated SAP system and instance number.
    another way is to locate the file of logon pad
    in my system it was at C:\WINDOWS\SAPwksta\setup\SAL
    after that type saplogon.sal
    It will take you to the logon pad.

  • How to Execute WebDynpro Applications as Background Job ?

    Hi Gurus,
    We have developed a lot of WDJ applications with component reusage; ie,
    quite a lot of business logic are wrapped in WDJ Components which are
    re-used by other WD UIs.
    Now we'd like to automate some of the processes with background jobs
    and faced with a few problems :
    #1. How can we write a background WD application which can be
    triggered by external mechanism and without presenting any UI?
    #2. If we write the background program in a Java DC, how can we
    invoke existing methods in WD components ?
    Anyone got a clue ??
    Ying-Jie Chen

    Hello Amit,
    > Well I can think of a workaround in this case.If you are aware
    > of the suspend-resume functionality of the WD application then
    > its possible to run the WD application virtually in background.
    [ stuffs deleted ...]
    It sounds like a possible alternative to our requirement, I'll
    spend some time to investigate on the WD suspend-resume mechanism !
    > Also let me know why are you preffering the WD if you dont
    > require its UI
    Our application requires the process to be performed with UI interaction;
    with some instances it should be run as a background job. Either case involves
    RFC calls to backend SAP R/3 and it's easy for RFC access with WD
    Component.  Though it's also possible to use CAF application service for
    RFC access; due to some technical constrains, we did not use CAF
    framework. Therefore it ends up where we are now ...
    Thanks for your tip!
    Ying-Jie Chen

  • Not able to execute custom transaction in Background mode

    Dear All,
    There is a custom modele pool program to update the data in info type 9003. We have written a Z program in that we are calling this custom modele pool through CALL TRANSACTION with mode 'N' and update 'S'.
    Z Program is running successfully and updating data in 9003 info type when we run in foreground mode.
    But it is not updating when runs in Background mode.
    Am I need to take any other precautions when run in background mode for custom transaction?
    We are using 4.6C version.
    Thanks in advance.
    Regards,
    Abaper

    For custom transactions you shouldn't have a problem - unless you're trying to do something that needs dialog with the presentation server.
    Set an infinite loop in the custom transaction, launch your program in backround, then from Sm50, go to debug and find out what's going on.
    DATA: debug.
    WHILE debug IS INITIAL. " Debug from SM50 will get you here, change field DEBUG in the
    ENDWHILE.               " debugger to contain 'X', and the loop will end.
    Also, if your custom tx calls any standard SAP programs/FM, there is a chance that those programs work differently in background than foreground.

  • How to execute a transaction in specified user defined screen.

    Hi,
    I have created an alv tree in that I'm calling a transaction after double click on node of that tree. Please help me for to show the called transaction in user defined specified screen.
    Thanks in advance.

    i have  a program in production system if i type the request and execute its sends a mail to my admin saying to transport the request to production system.....thats y??????
    just tell me ur idea.............

  • Debugg VL10 transaction in background mode

    Hi,
    I want to know how to debugg VL10 transaction in background mode. Since the control does not go to the breakpoint when clicked on background.

    Hi,
    Try this option..
    In classical debugger ..Click settings and check the last option,In back ground task.
    Cheers,

Maybe you are looking for