Write a program that would schedule another program in background multipul

Hi All,
          I need to write a program that would schedule another program in background multipul times according to input we provided on different application servers.
For ex:- In  table FKKVKP, i am having 2.1 millons contract accounts. I need to write a program(A) that should take 5000 contract accounts at a time as a input and schedule another program(B) in background with input of 5000 contract accounts. And program A ,again schedule program B on differrent application servers , till 2.1 millions contract accounts get used.
Thanx in advance.
Regards,
Dilip Kushwah

hi,
1) Carry out the recording for the required transaction using SHDB.
2) Use batch input method to create session this is done by three FMs
bdc: open_group, bdc_insert, close_group.
3) A session is created , which can be seen in transaction SM 35.
4) Use the standard program RSBDCSUB to configure the session created in SM35.
This way you can achieve your requirement.
Check this links too for more information
Batch input [http://help.sap.com/saphelp_nw04/helpdata/en/fa/097015543b11d1898e0000e8322d00/frameset.htm]
[http://help.sap.com/saphelp_nw04/helpdata/en/4c/4c0e8a725311d396a80004ac96334b/frameset.htm]
[http://help.sap.com/saphelp_nw04/helpdata/en/4c/4c0e8a725311d396a80004ac96334b/content.htm]
Thanks
Sharath

Similar Messages

  • Making a program that depends on another program

    What would I have to do to make a simple program to lets say just type in the phrase "Hello" into another program such as for instance an AOL IM or into a game chat? If anyone could help me that would be great. Thanks.

    Sounds like what you're doing will require native code.
    One program can execute another with Runtime.exec(), or communicate with another using sockets, but you can't just randomly type text into other programs from your Java application.

  • How to schedule another program by giving report name and variant name?

    I want to create a program for Scheduling another program using function 'FASU_V_CREATE_VARIANT_RFC'
    (FASU_V_CREATE_VARIANT_RFC : This function used for creating the variant ) by giving
    1) Report name
    2) varaint name
    Could anybody please help me.??

    Scheduling Background Jobs 
    Use
    You can define and schedule background jobs in two ways from the Job Overview:
    Directly from Transaction SM36. This is best for users already familiar with background job scheduling.
    The Job Scheduling Wizard. This is best for users unfamiliar with SAP background job scheduling. To use the Job Wizard, start from Transaction SM36, and either select Goto ® Wizard version or simply use the Job Wizard button.
    Procedure
    Call Transaction SM36 or choose CCMS ® Jobs ® Definition .
    Assign a job name. Decide on a name for the job you are defining and enter it in the Job Name field.
    Set the job’s priority, or "Job Class":
    High priority: Class A
    Medium priority: Class B
    Low priority: Class C
    In the Target server field, indicate whether to use system load balancing.
    For the system to use system load balancing to automatically select the most efficient application server to use at the moment, leave this field empty.
    To use a particular application server to run the job, enter a specific target server.
    If spool requests generated by this job are to be sent to someone as email, specify the email address. Choose the Spool list recipient button.
    Define when the job is to start by choosing Start Condition and completing the appropriate selections. If the job is to repeat, or be periodic, check the box at the bottom of this screen.
    Define the job’s steps by choosing Step, then specify the ABAP program, external command, or external program to be used for each step.
    Save the fully defined job to submit it to the background processing system.
    When you need to modify, reschedule, or otherwise manipulate a job after you've scheduled it the first time, you'll manage jobs from the Job Overview.
    Note: Release the job so that it can run. No job, even those scheduled for immediate processing, can run without first being released.
    For a simple job scheduling procedure, see the R/3 Getting Started Guide.

  • I have an idea for an iPhone app that I believe would be marketable. However, I have no talent towards writing software. How does I find a reputable programer that would be will to develop and split proceeds?

    I have an idea for an iPhone app that I believe would be marketable. However, I have no talent towards writing software. How does I find a reputable programer that would be will to develop and split proceeds?

    Find an app you like.  Contact the developer of that app and see if they are interested.

  • Hello, I trying to create a program that would run a household furnace. I can't find a way to set timers for the ignitor,flame sensor and blowers. Any thoughts.

    Hello, I'm trying to create a program that would run a household furnace. I can't find a way to set timers foe the ignitor,flame sensor and blowers. Any thoughts would be greatly appreciated. Thanks, primetime

    In the detailed help for the event structure there is a link to caveats and recommendations for using event structures.  It is a good starting point.
    It is courteous to let the Forum know when your questions are related to a school assignment or homework.  We are glad to help you learn LabVIEW, but do not do your homework for you.
    You have learned the major disadvantage of the sequence structure: It must run to completion before anything else can happen.
    If you are building a state machine (typically a while loop with shift registers enclosing a case structure with one case per state) and having trouble with timing, then think about your requirements. Apparently you have some time delays, but under certain conditions you must terminate a delay/wait and do something else.  One way of doing this is to have a Wait state.  The wait state has a short delay, determined by the minimum time you can delay responding to a changed condition, and a check to see if the required elapsed time has occurred.  If the time has not elapsed, the next state is the Wait state again.  The state machine can repeat any state as often as necessary.  So a 15 second delay could be implemented by going to a Wait state with a one second wait 15 times. Any error or new command will see a response in no more than one second.
    Lynn

  • I downloaded itunessetup but when i open it it asks what program to run it with. but none of the programs listed would be a program to run a .exe program?

    so i downloaded itunessetup but when i open it it asks what program to run it with. but none of the programs listed would be a program to run a .exe program? what should i do?

    Maybe it didn't get the EXE extension.  If it does not have the extension, put one on it and see if that helps.
    If it has a DMG extension, it is the Mac version of the software.

  • Can anyone help me write a script that would click "get info" and then "enter" on each movie in my itunes library? I am asking because my itunes 11 repeatedly loses the artwork to my movies in my itunes library.

    Can anyone help me write a script that would click "get info" and then "enter" on each movie in my itunes library? I am asking because my itunes 11 repeatedly loses the artwork to my movies in my itunes library. I can restore the artwork (and make my apple tv see the movie exists as well) by going into the movie library and clicking on each movie by hand, slecting get info, and then selecting enter. Now doing this 10 times in 20 days was fun and all BUT I would really like to automate the process so everytime itunes screws it up I can fix it easier.
    I saw this example of an itunes script that restores artwork for music
    tell application "iTunes" set theSelection to selection repeat with i from 1 to count of theSelection tell (item i of theSelection) set artworkCount to count of artwork repeat artworkCount times set theArtwork to data of artwork 1 delete artwork 1 set data of artwork artworkCount to theArtwork end repeat end tell end repeat end tell
    but I need to tweak this to fit my needs for simply clicking the "get info" button and "enter" in the movie library rather than all the stuff this guy has listed. Any ideas or help on writing this? Thanks.

    Try assigning Queen as the Album Artist on the compilations in iTunes on your computer.

  • How do I write a macro that would look for a string in an entire column

    how do I write a macro that would look for a string in an entire column. If the string is found, it will copy that entire row to a new sheet in that same file?
    I want to look in an entire column lets say "C" for different strings of numbers like 246, 88, 68, 82246 etc... and copy them to a new sheet
    Thanks

    Hello Larbec,
    Try this:
    Option Explicit
    Sub test()
        Dim myNumber As Integer
        Dim myNumbers() As Integer
        Dim i As Integer
        Dim c As Range
        Dim firstAddress As Variant
        myNumbers = Array(246, 88, 68, 82246)
        For i = 0 To UBound(myNumbers)
            myNumber = myNumbers(i)
            With ActiveSheet.Range("C:C")
                Set c = .Find(myNumber, LookIn:=xlValues)
                If Not c Is Nothing Then
                    firstAddress = c.Address
                    Do
        ' Copy c.value to OtherSheet here !!!!
                        Set c = .FindNext(c)
                    Loop While Not c Is Nothing And c.Address <> firstAddress
                End If
            End With
        Next i
    End Sub
    Best regards George

  • Book & software advice for creating a program that would utilize USB.....

    Hey All,
    I've been a mac user for about two years now and have become more and more impressed by the stability offered by Unix.
    However, I still live in both worlds (XP and OSX) and my programming roots are windows based (sorry ).
    Here's the problem:
    I'm trying to determine which direction I should head for writing a program that gives me access to the USB ports on a Mac, and allows me to correlate it to a web atmosphere.
    My thoughts are: I'd have a device attached to a USB port (or multiple), and I'd use a system (OSX) USB driver to write to a database, in turn - use dreamweaver to build a WEB that interfaced with this database.
    I'm not sure what software I should use to write an app that can talk to my USB ports, as well as load them into a chosen database. I think once I have the data collected into a database, I can handle the WEB side of this, but I want to take this one step at a time.
    I installed Xcode and I was ready to take off when I said - "wait a minute, this isn't exactly visual studio." [even though it's somewhat similar]
    My programming background is in C++, VB and ASP (with VB script & Java Script) but I haven't written for about 3 years (hence the ASP and not ASP.net) - So feel free to steer me in the right direction or just give me a general verbal tirade and tell me I'm in over my head! LOL
    I've bounced all over these message boards, and see everything from opinions on Java, C, C++, even Python (which I never heard of until a post yesterday: http://discussions.apple.com/thread.jspa?threadID=133836&tstart=0)
    I'm asking for some advice on what books would be a good aid for me to purchase in order to help me achieve what I'm trying to do. I stopped in at my local Border's bookstore the other night, and there was quite an array to choose from.
    So here is what I almost picked up for a starter:
    http://www.amazon.com/gp/product/0764584111/103-2161547-3122203?v=glance&n=28315 5&n=507846&s=books&v=glance
    Any suggestions?
    Another major thought in my mind is the transition to little endian, which is what Intel uses (vs OSX big endian). Obviously, I don't want to get burned by this if I flip the wrong bit after the architecture changes....
    I realize I may have really 'broad brushed' this, but I really wanted to hear everyone's thoughts since there may be other 'projects' I attempt to tackle on OSX.
    Your suggestions on any books, sites, software, etc will be greatly appreciated......
    Thanks for reading,
    Steve
    Powerbook G4 1.5Ghz   Mac OS X (10.4.2)  
    Powerbook G4 1.5Ghz   Mac OS X (10.4.2)  

    To start learning about writing a USB device driver on OS X, check out:
    http://developer.apple.com/documentation/DeviceDrivers/Conceptual/IOKitFundament als/

  • Desperately need to contact a sales person at ADOBE.  How do I do that via phone.   Need to uninstall and reinstall Lightroom, even if that means purchasing another program.   Program I have has become corrupt since applying update from Adobe 3.1 to 3.5

    BTW - I live in Canada and the 800 # doesn't seem to work.

    Keith - Corruption - Happened about 1 year ago.  I thought it was fixed.  At first didn't know what the problem was.  I have updated to 3.6
    Problem - opening program really slow,  Then it would crash,   Then I had problems opening the Pictures folder in Explorer.
    Found a program that let me look at the photo files im Explorer.  There were several extremely large files that even explorer would let me open.
    In desperation,, I deleted all those photo files.
    Problem fixed....so it seemed, even though I didn't know what was causing the corrupt photo files.
    After 4 months of no use, I opened LR to create sticks for family memebers that are to be part of a will, legacy and I don't have a lot of time.   Last time it took me 2 weeks to get things right,,,,,and I don't have that much time.  And my brain is't what it used to be.
    The things I have that can help me are:
    The original Download of LR 3.3
    A lap top where I can place and reinstall my LR program.
    All my photo files are on 2 external drives.
    Thank you
    Jeri

  • Idea for channel subscription program that would benefit MILLIONS of Verizon subscribers

    Hello, Since Verizon is moving towards allowing customers to create their own TV packages to compete with streaming services, I have an idea that would certainly please millions of users. If I want to subscribe to HBO or the French channel, for example, all I have to do is press a button on my remote. However, if I want to cancel these channels, this necessitates a phone call to customer service. The benefit of streaming services is that we can't watch everything at once, so why pay to subscribe to 10 channels, when you can't possibly watch them all within the same month. I think that each time you subscribe to a channel (be it Showtime or the Russian language package), you should be charged a one-month minimum fee. You can cancel the subscription (online or using your remote) at any time, but you still pay for at least one full month. That way, I, for example, can subscribe to the French channel, watch it for a month, then cancel, then subscribe to the Portuguese and German channels, watch them for a month, then cancel, then sign up for Cinemax, watch it for three months... Each network is still getting the benefit of a full month's subscription, plus people would be more willing to sign up (and try out) more channel options if they know that their minimum commitment is only one month. If you haven't guessed by now, I like to watch TV in multiple languages, but I can't sign up for all the channels at once because 1) it's too expensive and 2) I can't watch all these channels in a month. I'm sure other people would sign up for a movie channel package to catch up on their favorite shows (I think people do this anyway with Game of Thrones, etc.) or a sports package until the season is over, etc. In other words, by making it easier for people to cancel channel/specialty package subscriptions online or using the remote (with the understanding that there is a minimum of one month), more people would subscribe to these channels - and some would keep them for several months. With the addition of streaming TV, DVR programming, etc. there is just too much TV available and we can't watch everything, so fewer people sign up for pay-for-view packages. This model would give people more control over how they watch TV. True there would be a lot of turning channels on and off (I, for example, would probably do this frequently). However, there would also be a huge increase in revenue from these channels, even if people cancel after one-month (then the onus is on the network to provide quality programming to retain the customer). Thank you for your time.

    This is the message I get:
    Please contact the Verizon Local Business Office Your address appears to be part of a home owner's association that has a special agreement with Verizon. We are unable to place your order online, but our National Customer Service Center can help you with your order.
    Please contact the National Customer Service Center at {edited}. Representatives are available Monday through Friday (9am - 9pm EST / 8am- 8pm CST).

  • Help writing a program that uses Add/Remove programs

    Hey everyone,
    I'm trying to create a program that will utilize add/remove programs to repair an installation of a program. Specifically I'm trying to write something that will help automate repairs of QuickBooks installations. I've tried using Filemon to figure out what executables I might need to call and I've searched high and low in the forums and Google for help but I'm not getting anywhere. Is there some sample code out there that shows you how to work with the Add/remove programs screen and the programs in it?
    Thank you for any help you all can provide me.

    [email protected] wrote:
    It might be possible if you use the JNI, ** ouch ** That's going to hurt.
    but more than likely, Java is a poor choice for the program that you're trying to write.I'll second that. You might want to try C# if you want to write a more Windows-centric program. Its syntax is extremely similar to Java's (I wouldn't say that it was ripped-off of Java, but you could say that probably and not be wrong). But it is a powerful language with a rich library and would interact with the Windows libraries much more readily than java would.

  • Want to create program (XYZ) for scheduling anther program(ABC)

    Requirement :
    I have one report ABC and I want to create program XYZ for scheduling the report ABC (without executing the program ABC ).
    Output : Program XYZ
    1) schedule the report ABC
    2) Provide the output of ABC

    Seee if the below code help:
    REPORT Z_MQSCHD NO STANDARD PAGE HEADING LINE-SIZE 170 LINE-COUNT 58 .
    DATA: ZCOUNT            LIKE SY-TABIX,
          JOBNAME           LIKE TBTCJOB-JOBNAME,
          PARAMS            LIKE  PRI_PARAMS,
          JOBCOUNT          LIKE TBTCJOB-JOBCOUNT,
          AUTHCKNAM         LIKE  TBTCJOB-AUTHCKNAM,
          SDLSTRTTM         LIKE  TBTCJOB-SDLSTRTTM,
          SDLSTRTDT         LIKE  TBTCJOB-SDLSTRTDT,
          VARIANT           LIKE  RALDB-VARIANT,
          REPORT            LIKE  SY-REPID,
          ZTIME             LIKE SY-UZEIT,
          PREDJOB_CHECKSTAT LIKE TBTCSTRT-CHECKSTAT,
          PRED_JOBCOUNT     LIKE TBTCJOB-JOBCOUNT,
          PRED_JOBNAME      LIKE TBTCJOB-JOBNAME,
          RELEASED          LIKE  BTCH0000-CHAR1.
    *email variables
    DATA:  emailaddr(80)     TYPE c.
    data: objtxt           like solisti1   occurs 10 with header line.
    data: tab_lines        like sy-tabix.
    DATA: OBJECT_HD_CHANGE LIKE SOOD1.
    DATA: OBJECT_TYPE LIKE SOOD-OBJTP.
    DATA: OBJCONT LIKE SOLI OCCURS 0 WITH HEADER LINE.
    DATA: RECEIVERS LIKE SOOS1 OCCURS 0 WITH HEADER LINE.
    SELECTION-SCREEN: BEGIN OF BLOCK A1 WITH FRAME TITLE TEXT-001.
    PARAMETERS:
            NAME LIKE RS38M-PROGRAMM OBLIGATORY,
            VAR  LIKE RS38M-SELSET  OBLIGATORY,
            JOB  LIKE TBTCJOB-JOBNAME,
            FRQ1 LIKE SY-INDEX,
            FRQ2(2) TYPE C.
    SELECTION-SCREEN END OF BLOCK A1.
    SELECTION-SCREEN: BEGIN OF BLOCK A2 WITH FRAME TITLE TEXT-002.
    PARAMETERS: ZDATE LIKE SY-DATUM DEFAULT SY-DATUM OBLIGATORY.
    SELECT-OPTIONS:
            TIME1 FOR SY-UZEIT OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK A2.
    SELECTION-SCREEN: BEGIN OF BLOCK A3 WITH FRAME TITLE TEXT-003.
    PARAMETERS:  p_mail       AS CHECKBOX DEFAULT 'X'. "X = Mail report
    SELECT-OPTIONS: so_mlist FOR emailaddr.
    SELECTION-SCREEN END OF BLOCK A3.
    AT SELECTION-SCREEN ON FRQ2.
      IF FRQ2 NE 'H' AND FRQ2 NE 'M' AND FRQ2 NE 'S'.
        MESSAGE E001(Z1) WITH 'Time Unit must be H or M or S'.
      ENDIF.
    AT SELECTION-SCREEN ON ZDATE.
      IF ZDATE < SY-DATUM.
        MESSAGE E001(Z1) WITH 'Date must be greater than current date'.
      ENDIF.
    AT SELECTION-SCREEN ON TIME1.
      IF ZDATE = SY-DATUM AND TIME1-LOW < SY-UZEIT.
        MESSAGE E001(Z1) WITH 'Time must be greater than current time'.
      ENDIF.
    AT SELECTION-SCREEN OUTPUT.
      IF JOB IS INITIAL.
        JOB = NAME.
      ENDIF.
    $$* Start of selection
    START-OF-SELECTION.
      IF JOB IS INITIAL.
        JOB = NAME.
      ENDIF.
      clear params.
      call function 'GET_PRINT_PARAMETERS'
           EXPORTING
                mode           = 'CURRENT'
                no_dialog      = 'X'
           IMPORTING
                out_parameters = params.
      params-paart = 'X_PAPER'.
      ZTIME       = TIME1-LOW.
      JOBNAME      = JOB.
      VARIANT      = VAR.
      REPORT       = NAME.
      AUTHCKNAM    = SY-UNAME.
      PARAMS-PRIMM = SPACE.
      SDLSTRTDT    = ZDATE.
      CLEAR: ZCOUNT.
      WHILE ZTIME LE TIME1-HIGH.
        SDLSTRTTM = ZTIME.
        CALL FUNCTION 'JOB_OPEN'
             EXPORTING
                  JOBNAME  = JOB
             IMPORTING
                  JOBCOUNT = JOBCOUNT
             EXCEPTIONS
                  OTHERS   = 4.
        CALL FUNCTION 'JOB_SUBMIT'
             EXPORTING
                  AUTHCKNAM = AUTHCKNAM
                  JOBCOUNT  = JOBCOUNT
                  JOBNAME   = JOB
                  PRIPARAMS = PARAMS
                  REPORT    = REPORT
                  VARIANT   = VARIANT.
        CALL FUNCTION 'JOB_CLOSE'
             EXPORTING
                  SDLSTRTDT        = SDLSTRTDT
                  SDLSTRTTM        = SDLSTRTTM
                  JOBCOUNT         = JOBCOUNT
                  JOBNAME          = JOB
             IMPORTING
                  JOB_WAS_RELEASED = RELEASED.
        IF RELEASED = 'X'.
          WRITE: / 'Job', JOBNAME, '(' ,JOBCOUNT, ')' ,'will run at', ZTIME,
              'on', ZDATE, 'with program',NAME, 'and variant', VAR.
          IF NOT P_MAIL IS INITIAL.
            CLEAR OBJCONT.
            CONCATENATE
            'Job' JOBNAME '(' JOBCOUNT ')' 'will run at' ZTIME 'on' ZDATE
           'with program' NAME  'and variant'  VAR
            INTO OBJCONT SEPARATED BY SPACE.
            APPEND OBJCONT.
          ENDIF.
        ELSE.
          WRITE: /
         'Unable to release job', JOBNAME, '(' ,JOBCOUNT, ')' ,'at', ZTIME,
            'on', ZDATE, 'with program',NAME, 'and variant', VAR.
          IF NOT P_MAIL IS INITIAL.
            CLEAR OBJCONT.
            CONCATENATE
           'Unable to release job' JOBNAME  '('  JOBCOUNT ')'  'at'  ZTIME
           'on' ZDATE 'with program' NAME  'and variant'  VAR
            INTO OBJCONT SEPARATED BY SPACE.
            APPEND OBJCONT.
          ENDIF.
        ENDIF.
        CASE FRQ2.
          WHEN 'H'.
            ZTIME = ZTIME + ( 60 * 60 * FRQ1 ).
          WHEN 'M'.
            ZTIME = ZTIME + ( 60 * FRQ1 ).
          WHEN 'S'.
            ZTIME = ZTIME + FRQ1.
          WHEN OTHERS.
        ENDCASE.
      ENDWHILE.
      IF NOT P_MAIL IS INITIAL.
        CHECK NOT SO_MLIST IS INITIAL.
        PERFORM SENDEMAIL.
      ENDIF.
    *&      Form  SENDEMAIL
          text
    -->  p1        text
    <--  p2        text
    FORM SENDEMAIL.
      clear objcont.
      append objcont.
      append objcont.
      concatenate
      'This e-mail was sent from an automated system...' sy-sysid sy-mandt
         into objcont.
      append objcont.
      clear objcont.
      objcont = 'Do not reply to this message.'(013).
      append objcont.
      MOVE: SY-LANGU TO OBJECT_HD_CHANGE-OBJLA,
            'NOTIFICATION' TO OBJECT_HD_CHANGE-OBJNAM,
            'Report from job scheduler' TO OBJECT_HD_CHANGE-OBJDES.
      MOVE 'RAW' TO OBJECT_TYPE.
      describe table objtxt lines tab_lines.
      read table objtxt index tab_lines.
    *Now we will create the packing list entry for our text body.
      describe table objtxt lines tab_lines.
      read table objtxt index tab_lines.
      OBJECT_HD_CHANGE-OBJLEN  = tab_lines * 255.
    *in this next section we create our recipient list.
      LOOP AT so_mlist.
        clear RECEIVERS.
        move so_mlist-low to RECEIVERS-RECEXTNAM.
        MOVE 'U' TO RECEIVERS-RECESC.
        APPEND RECEIVERS.
        if not so_mlist-high is initial.
          move so_mlist-high TO RECEIVERS-RECEXTNAM.
          MOVE 'U' TO RECEIVERS-RECESC.
          APPEND RECEIVERS.
        endif.
      ENDLOOP.
      CALL FUNCTION 'SO_OBJECT_SEND'
           EXPORTING
                OBJECT_HD_CHANGE           = OBJECT_HD_CHANGE
                OBJECT_TYPE                = OBJECT_TYPE
           TABLES
                OBJCONT                    = OBJCONT
                RECEIVERS                  = RECEIVERS
           EXCEPTIONS
                ACTIVE_USER_NOT_EXIST      = 1
                COMMUNICATION_FAILURE      = 2
                COMPONENT_NOT_AVAILABLE    = 3
                FOLDER_NOT_EXIST           = 4
                FOLDER_NO_AUTHORIZATION    = 5
                FORWARDER_NOT_EXIST        = 6
                NOTE_NOT_EXIST             = 7
                OBJECT_NOT_EXIST           = 8
                OBJECT_NOT_SENT            = 9
                OBJECT_NO_AUTHORIZATION    = 10
                OBJECT_TYPE_NOT_EXIST      = 11
                OPERATION_NO_AUTHORIZATION = 12
                OWNER_NOT_EXIST            = 13
                PARAMETER_ERROR            = 14
                SUBSTITUTE_NOT_ACTIVE      = 15
                SUBSTITUTE_NOT_DEFINED     = 16
                SYSTEM_FAILURE             = 17
                TOO_MUCH_RECEIVERS         = 18
                USER_NOT_EXIST             = 19
                ORIGINATOR_NOT_EXIST       = 20
                X_ERROR                    = 21
                OTHERS                     = 22.
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " SENDEMAIL

  • How to edit a program dynamically called from another program

    Hi all,
    Can anyone help me in coding for a program which call's another
    report dynamically from selection screen(for instance z_dynam_called)
    and retreive the whole content of the dynamically called program(z_dynam_called)
    into an internal table and replace the contents of the internal table  with some new code and put it back in z_dynam_called and save it.
    Thanks in advance.
    Needful will be rewarded with points

    Hi,
    Follow this:
    1) U can pass data from one program to another in a single login using SAP memory......
    2) u can create a DBtable update dat table using ur first pgm and fetch from second program.....
    3) U can pass the report output using EXPORT TO MEMORY addition and get it back using IMPORT FROM MEMORY..........
    Eg:
    Export the selected rows to the next program
    EXPORT final TO MEMORY ID 'ABC'.
    CALL TRANSACTION 'XXX'.
    XXX is the tcode for the other program where u want to import the values.
    In the second program
    INITIALIZATION.
    IMPORT the internal table from the first program
    IMPORT final FROM MEMORY ID 'ABC'.
    Thanks and Regards,
    Reward If Helpful

  • Programs that would work with Lumia 900 and an older Mac model (Mac HD)

    Hi so like the title im trying to sync my lumia 900 with my very old Mac (Mac HD not lion etc..). Any ideas where I could buy/get the software?

    Mac OS 8.6 won't run on a MacBook Pro.   If you are trying to sync with a Mac OS 8.6 machine, such software is really hard to find.  Try http://www.apple.com/usergroups/ to find if someone still has software for those machines in your neighborhood.

Maybe you are looking for