Running standard tcode MB1B after that my Ztcode has to run automatically..

Hi All,
             i have one requirement that i want to run one standard tcode MB1B after completion of that my Ztcode has to run automatically.
Is there any ways to do like this?
Some body has told me that through workflow we can call that one? is it true?
We dont want to run through user exit.
Pls give me suggestions regarding this issue.
Regards,
Lokesh.

Yes through workflow it is possible to trigger event and then execute your Zcode.
I am not sure whether this workaround will work:
See any parameter in any table which MB1B will always update after its run. If you can find such parameter, you will have to write a simple program which will run in background with small time interval.
This program will keep checking if that parameter is updated. As soon as it finds parameter updated, call your Ztcode.
thankx,
Ags.

Similar Messages

  • Please help! I just sync my notes to icloud of my ipad mini but after that all notes has been covered by iphone's and all notes are missing from iPad,how could i restore it?

    Please help! I just sync my notes to icloud of my ipad mini but after that all notes has been covered by iphone's and all notes are missing from iPad,how could i restore it?

    It's very possible that you did just as you suspect. One of the later Note file over wrote the one stored on your iPad when you synced.
    When one does a sync of their iPad a backup of the iPad is created first. If that backup was still available you might be able to find the Note file there. But more than likely, if you are letting the iPad and iPhones sync on their own over Wi-Fi you have over written that back up as well.

  • I installed ios 8.3 on iphone 6 plus. After that the phone has no service. Checked the sim card in another phone and it is working in that phone.

    I Upgraded the ios to 8.3 last night For iphone 6 plus. Since morning today there is no service and no cellular coonection. The phone connects to wifi though.
    I Checked the sim card in my iphone 6 and it could detect the signal/ network, so sim card is fine. Seems an issue with 8.3 for iphone 6 plus.

    Greetings Anuvratg,
    It sounds as if you are having difficulties getting your iPhone to connect to your cellular network since updating your version of iOS to 8.3, is that correct? I would suggest that you troubleshoot using the steps in this article - 
    If you can't connect to a cellular network or cellular data - Apple Support
    Thanks for using Apple Support Communities.
    Be well,
    Brett L 

  • PB10 standard Tcode giving uncaught exception error

    Hi,
    i am facing problem while using Standard Tcode PB10.
    after entering all the details the Applicant Number should be automatically generated. but when i click option save and add data it give some runtime error on uncaught_exception
    exception:CX_HRPA_INVALID_PARAMETER
    can body help over this issue.
    regds

    Hi,
    before going to PB10 i did the following :
    1.) PB04 : Mainatined Interval Ranges
    2.) PE03
    PERSK-Applicant range
    created a node
    then went to PB10 for Initial Data entry.
    regds

  • Help: I want to auto schedule a load using file watcher but it runs only once for the first time and after that it is not running at all

    Hi All,
    I am trying  to execute the below code as provided from one of the blogs. i am able to run the job only once based on a file watcher object(i.e. for very first time) and after that the job is not running at all and if  i schedule the job to run automatically based on interval of 10 or more minutes it is executing properly). Please let me know or guide me if i have missed any step or configuration.that is needed.
    Version of Oracle 11.2.0.1.0
    OS : Windows 7 Prof
    Given all the necessary privileges
    BEGIN
      DBMS_SCHEDULER.CREATE_CREDENTIAL(
         credential_name => 'cred',
         username        => 'XXXX',
         password        => 'XXXX');
    END;
    CREATE TABLE ZZZZ (WHEN timestamp, file_name varchar2(100),
       file_size number, processed char(1));
    CREATE OR REPLACE PROCEDURE YYYY
      (payload IN sys.scheduler_filewatcher_result) AS
    BEGIN
      INSERT INTO ZZZZ VALUES
         (payload.file_timestamp,
          payload.directory_path || '/' || payload.actual_file_name,
          payload.file_size,
          'N');
    END;
    BEGIN
      DBMS_SCHEDULER.CREATE_PROGRAM(
        program_name        => 'prog1',
        program_type        => 'stored_procedure',
        program_action      => 'YYYY',
        number_of_arguments => 1,
        enabled             => FALSE);
      DBMS_SCHEDULER.DEFINE_METADATA_ARGUMENT(
        program_name        => 'prog1',
        metadata_attribute  => 'event_message',
        argument_position   => 1);
      DBMS_SCHEDULER.ENABLE('prog1');
    END;
    BEGIN
      DBMS_SCHEDULER.CREATE_FILE_WATCHER(
        file_watcher_name => 'file_watcher1',
        directory_path    => 'D:\AAAA',
        file_name         => '*.txt',
        credential_name   => 'cred',
        destination       => NULL,
        enabled           => FALSE);
    END;
    BEGIN
      DBMS_SCHEDULER.CREATE_JOB(
        job_name        => 'job1',
        program_name    => 'prog1',
        queue_spec      => 'file_watcher1',
        auto_drop       => FALSE,
        enabled         => FALSE);
      DBMS_SCHEDULER.SET_ATTRIBUTE('job1','PARALLEL_INSTANCES',TRUE);
    END;
    EXEC DBMS_SCHEDULER.ENABLE('file_watcher1,job1');
    Regards,
    kumar.

    Please post a copy and paste of a complete run of a test case, similar to what I have shown below.
    SCOTT@orcl12c> SELECT banner FROM v$version
      2  /
    BANNER
    Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
    PL/SQL Release 12.1.0.1.0 - Production
    CORE    12.1.0.1.0    Production
    TNS for 64-bit Windows: Version 12.1.0.1.0 - Production
    NLSRTL Version 12.1.0.1.0 - Production
    5 rows selected.
    SCOTT@orcl12c> CONN / AS SYSDBA
    Connected.
    SYS@orcl12c> -- set file watcher interval to one minute:
    SYS@orcl12c> BEGIN
      2    DBMS_SCHEDULER.SET_ATTRIBUTE
      3       ('file_watcher_schedule',
      4        'repeat_interval',
      5        'freq=minutely; interval=1');
      6  END;
      7  /
    PL/SQL procedure successfully completed.
    SYS@orcl12c> CONNECT scott/tiger
    Connected.
    SCOTT@orcl12c> BEGIN
      2    -- create credential using operating system user and password (fill in your own):
      3    DBMS_SCHEDULER.CREATE_CREDENTIAL
      4       (credential_name     => 'cred',
      5        username          => '...',
      6        password          => '...');
      7  END;
      8  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> -- create table to insert results into:
    SCOTT@orcl12c> CREATE TABLE ZZZZ
      2    (WHEN      timestamp,
      3      file_name varchar2(100),
      4      file_size number,
      5      processed char(1))
      6  /
    Table created.
    SCOTT@orcl12c> -- create procedure to insert results:
    SCOTT@orcl12c> CREATE OR REPLACE PROCEDURE YYYY
      2    (payload IN sys.scheduler_filewatcher_result)
      3  AS
      4  BEGIN
      5    INSERT INTO ZZZZ VALUES
      6        (payload.file_timestamp,
      7         payload.directory_path || '/' || payload.actual_file_name,
      8         payload.file_size,
      9         'N');
    10  END;
    11  /
    Procedure created.
    SCOTT@orcl12c> -- create program, define metadata, and enable:
    SCOTT@orcl12c> BEGIN
      2    DBMS_SCHEDULER.CREATE_PROGRAM
      3       (program_name          => 'prog1',
      4        program_type          => 'stored_procedure',
      5        program_action      => 'YYYY',
      6        number_of_arguments => 1,
      7        enabled          => FALSE);
      8    DBMS_SCHEDULER.DEFINE_METADATA_ARGUMENT(
      9       program_name         => 'prog1',
    10       metadata_attribute  => 'event_message',
    11       argument_position   => 1);
    12    DBMS_SCHEDULER.ENABLE ('prog1');
    13  END;
    14  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> BEGIN
      2    -- create file watcher:
      3    DBMS_SCHEDULER.CREATE_FILE_WATCHER
      4       (file_watcher_name   => 'file_watcher1',
      5        directory_path      => 'c:\my_oracle_files',
      6        file_name          => 'f*.txt',
      7        credential_name     => 'cred',
      8        destination          => NULL,
      9        enabled          => FALSE);
    10  END;
    11  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> BEGIN
      2    -- create job:
      3    DBMS_SCHEDULER.CREATE_JOB
      4       (job_name          => 'job1',
      5        program_name          => 'prog1',
      6        queue_spec          => 'file_watcher1',
      7        auto_drop          => FALSE,
      8        enabled          => FALSE);
      9    -- set attributes:
    10    DBMS_SCHEDULER.SET_ATTRIBUTE ('job1', 'PARALLEL_INSTANCES', TRUE);
    11  END;
    12  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> -- enable:
    SCOTT@orcl12c> EXEC DBMS_SCHEDULER.enable ('file_watcher1, job1');
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> -- write file (file must not exist previously):
    SCOTT@orcl12c> CREATE OR REPLACE DIRECTORY upncommon_dir AS 'c:\my_oracle_files'
      2  /
    Directory created.
    SCOTT@orcl12c> declare
      2    filtyp utl_file.file_type;
      3  begin
      4    filtyp := utl_file.fopen ('UPNCOMMON_DIR', 'file1.txt', 'W', NULL);
      5    utl_file.put_line (filtyp, 'File has arrived ' || SYSTIMESTAMP, TRUE);
      6    utl_file.fclose (filtyp);
      7  end;
      8  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> -- wait long enough (may take more than one minute) for job to run:
    SCOTT@orcl12c> EXEC DBMS_LOCK.SLEEP (100)
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> -- check for results:
    SCOTT@orcl12c> SELECT * FROM zzzz
      2  /
    WHEN
    FILE_NAME
    FILE_SIZE P
    22-OCT-13 10.12.28.309000 PM
    c:\my_oracle_files/file1.txt
            57 N
    1 row selected.
    SCOTT@orcl12c> declare
      2    filtyp utl_file.file_type;
      3  begin
      4    filtyp := utl_file.fopen ('UPNCOMMON_DIR', 'file2.txt', 'W', NULL);
      5    utl_file.put_line (filtyp, 'File has arrived ' || SYSTIMESTAMP, TRUE);
      6    utl_file.fclose (filtyp);
      7  end;
      8  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> -- wait long enough (may take more than one minute) for job to run:
    SCOTT@orcl12c> EXEC DBMS_LOCK.SLEEP (100)
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> -- check for results:
    SCOTT@orcl12c> SELECT * FROM zzzz
      2  /
    WHEN
    FILE_NAME
    FILE_SIZE P
    22-OCT-13 10.12.28.309000 PM
    c:\my_oracle_files/file1.txt
            57 N
    22-OCT-13 10.14.08.580000 PM
    c:\my_oracle_files/file2.txt
            57 N
    2 rows selected.

  • In oneasset class i have created 2 assets by using of aso1 after that i acquired one asset for that i run the depreciation for first 5 periods, it has been showing depreciation for those period but if i am trying to run the depreciation for second asset i

    in on asset class i have created 2 assets by using of aso1 after that i acquired one asset for that i run the depreciation for first 5 periods, it has been showing depreciation for those period but if i am trying to run the depreciation for second asset it is not showing first 5 periods why it is not showing? Is there any reason?

    Hi
    Repeat run you can do only for the last depreciation period. For the asset which you are tryin to post depreciation from July to Jan, please check the asset value date which you have given while posting the transactions or in the asset master.
    If the asset value date is in July, then deprecaition from July - Jan will get posted in the current month depreciation in total. You will not be able to post depreciation individually month wise using AFAB.
    REgards
    Malathi

  • Creating Ztcode for standard Tcode - f.13

    Hi,
         I have created a Ztcode zf.13 for a standard tcode f.13 in FI. As per client requirement I have to make certain changes to it like  the document should be posted irrespective of the business area or profit center considering just Assignment & the debit & credit amount  mateches.
    Regards,
    Viraj
    Moderator Message: Do not expect the forum to do your work for you.
    Edited by: kishan P on Dec 10, 2010 10:35 AM

    Hi Viraj,
      please explain your question properly
    In case you are trying to modify the code
    copy Program SAPF124 (program for f.13) to Z program ... and then make changes as per your requirement.
    Attach your Z program to ZF.13 tcode
    Regards,
    Seema
    Edited by: Seemanthini R on Dec 7, 2010 12:44 PM

  • Trying to record the school band using Garage band and a Pevey PV14 USB. Have connected the mixer to the Mac using a standard USB lead (is that a problem) but after enabling multitrack option we get the error message

    Trying to record the school band using Garage band and a Pevey PV14 USB. Have connected the mixer to the Mac using a standard USB lead (is that a problem) but after enabling multitrack option we get the error message
    'Can't enable track for recording. Input channel already in use.'
    What are we doing wrong?
    Thanks

    skim this tutorial:
    http://www.bulletsandbones.com/GB/Tutorials.html#bsqrecordmultipletracks
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • I'm trying to sync Outlook calendar (office 2010?win 8) with my iphone 4s. All works well when running control panel manually but it will not run automatically after that. Anyone got any ideas

    I'm trying to sync outlook calendar and contacts via icloud control panel. Everything works when control panel is run manually but it will not run automatically after that. Anyone got any ideas

    I am having a very similar problem. Until 12 hours ago, I was using my recently replaced 4s (with iOS7) flawlessly, receiving emails and calendar info from Exchange (Outlook 2010). But starting last night, it all stopped. I have deleted and added the account several times, tried making simple changes (considering whether the username is case sensitive, or not, etc.) and cannot fix it. I have iOS 7.04. Interestingly, the first time I changed the case to lower case, it seemed to respond immediately, and downloaded many emails with no sender, no content, and with a 12/31/69 date. Yes, 1969. And then nothing happened. Help please!

  • When we run depreciation we miss one asset, after that how we can run depre

    hi gurus
    when we run depreciation we miss one asset, after that how we can run depreciation for that asset

    hi
    In "AFAB"yes we can do it by selecting the  option List Assets and repeat then run the programme you should get the result.
    rajan.

  • IF I RUN A EDITING WITH PREMIERE ELEMENTS TEST VERSION, WILL BE POSSIBLE TO SAVE THE WORK WITHOUT THE MARK  AFTER THAT I BUY THE LICENCE? THANKS

    IF I RUN A EDITING WITH PREMIERE ELEMENTS TEST VERSION, WILL BE POSSIBLE TO SAVE THE WORK WITHOUT THE MARK  AFTER THAT I BUY THE LICENCE? THANKS

    NUNU
    Media cache files are not involved in the removal of the Adobe watermark from the project.prel file from a tryout.
    Just a re-enforcement mention...you cannot remove the Adobe watermark from a tryout "saved" exported product; whereas, you can from a saved/closed project file (project.prel).
    By exported product, I mean a burn to disc in the tryout or the Timeline of the tryout exported to a file saved to the computer hard drive.
    In the case of removing the Adobe watermark from the tryout project.prel, classically you delete the rendered files (Timeline Menu/Delete Rendered Files) in the purchased program. In no way is media cache involved in this. Some of us have found that there was an automatic removal of the Adobe watermark resulting from just opening the tryout project.prel file in the purchased program.
    Please review and consider.
    Thank you.
    ATR

  • Have a late 2006 iMac with new Ram installed in late 2011 . I am currently running Mountain lion. Did/ hit something while half asleep and was asked for my recovery password didn't know it.Not sure what i did after that but wont boot just searches,

    I have a late 2006 iMac with new Ram installed in late 2011or early2012 . I am currently running lion. Did/ hit something while half asleep and was asked for my recovery password, I didn't know it & not sure what I did after that but it wont boot up just searches with a light grey whit -ish screen. Cant get it to clear. Any advice?
    Charlies Secret Angel-

    Try to boot in Safe mode, see if you are able: Hold down shift and then power on. For wireless keyboards, hold down shift after the chime.
    Safe Boot
    Resolve startup issues and perform disk maintenance with Disk

  • Handle back button in standard tcode .

    I am doing a BDC on standard tcode MEMASSPO which displays the 3rd screen directly of the tcode.
    Now problem is when I press the BACK button on this screen it takes me to the previous screen of the same tcode.
    My requirement is that it should take me to SAP Menu when i click the BACK button.
    I am pasting the BDC code below:
    START-OF-SELECTION.
      PERFORM bdc_dynpro      USING 'SAPMMSDL' '0200'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'MASSSCREEN-VARNAME'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=TAB2'.
      PERFORM bdc_dynpro      USING 'SAPMMSDL' '0200'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'MASSSCREEN-VARNAME'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=FIND'.
      PERFORM bdc_dynpro      USING 'SAPLSPO4' '0300'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'SVALD-VALUE(01)'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=FURT'.
      PERFORM bdc_field       USING 'SVALD-VALUE(01)'
                                    'ELIKZ'.
      PERFORM bdc_dynpro      USING 'SAPMMSDL' '0200'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=NEXT'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'MASSFVIEW-FIELDTEXT(02)'.
      PERFORM bdc_field       USING 'MASSFVIEW-CHECKBOX(01)'
                                    'X'.
      PERFORM bdc_field       USING 'MASSFVIEW-CHECKBOX(02)'
                                    'X'.
      PERFORM bdc_dynpro      USING 'SAPLMSMT' '0200'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'NONEXT'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=OK'.
      PERFORM bdc_dynpro      USING 'SAPLMASS_SEL_DIALOG' '0100'.
      CALL TRANSACTION 'MEMASSPO' USING bdcdata MODE 'E'.
    Please help me.......

    Hi,
    You can do it by appending (at the end of the BDC data) the exit actions when the screen X (the one you get after the BACK button has been pressed) is reached.
    As you run the BDC with mode 'E', it will stop the BDC data when SAP sees that screen X from the BDC data is not the screen currently displayed. Then, if the user displays later the screen X, SAP continues to execute the BDC data from screen X.
    This topic is shortly described here: http://wiki.sdn.sap.com/wiki/display/ABAP/BatchInputFAQ#BatchInputFAQ-IsitpossibletosimulateANDSKIPFIRSTSCREENusingBDC%3F
    Sandra

  • Prob in getting Mail body for the standard tcode F150(Dunning).

    Hello all,
    I am using F150 for the dunning notice print out.After seeing the display of the dunning notice once we come back it populates a popup window where it asks to send the mail to the particular mailid or not. I have used the BTE ---  SAMPLE_PROCEE_00001040 and copied it as z function module and customised according to my requirement in order to get the mail id of the customer in the pop up.My mail is going to the customers mail id properly only but my prob is that we are not able to get any mail body for that particular mail.Where can we add the mail body text to that mail in the standard tcode f150.can any one suggest is it possible or not.
    Regards,
    Pavani.
    Edited by: Pavani Rayappureddi on Aug 11, 2009 11:21 AM

    solved my self.
    added         C_ITCPO-TDTITLE  = 'Pending Receivables Statement-XXX GROUP'.
    in the bte code.

  • Inter Dependent Field Validation in SAP standard TCODEs

    Is it possible to build a relationship betwen Screen or Selection Fields. Example Plant and StorageLocation. Default behaviour is SAP shows all possible values even if an interdendent restricting value has been entered - this makes users irritated.
    In ABAP it is possible to do Conditional POV on F4 help
    - it is tricky you need
    'DYNP_VALUES_READ'
    'CONVERSION_EXIT_PERI_INPUT'
    'DYNP_VALUES_UPDATE'
    'F4IF_INT_TABLE_VALUE_REQUEST'
    Further Selection screen restrictions can be done by CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
    Hand coded ABAP programs can make Users experience rich & easy.
    How to do the same to the best extent possible in all SAP standard TCODES. If a screen field or selection or parameter is filled in then any other screen field selections or parameters should only show restricted values  - example Plant if filled in, will show only Storage locations of that plant/plants.
    I realize that the way SAP keeps RANGE & SELECTION data with both Inclusive/Exclusive SIGN & complext OPTIONs is not conducive to conditional POV as far as Selection screens are conccerned. But what about EnjoySAp screens?
    This is genuine user need & I cannot imagine that there is no easy solution!
    For example in a Hospital for Diagnostic tests you enter DEPAERTNET (Xray, Pathology etc) and then TEST - then POV of test should TESTs ONLY of relevant department. Having filled in XRAY no user wants to "wade" through "Urine tests"!
    Such restrictions & interfield validations also ensure that processing is never wrong. The mistakes users do are often attributed to the weakness in this area & it is not possible or desirable to write BAdIs for all SAP TCODEs.
    Regards
    -jnc

    Hi,
      You the go into debug mode and check at which statement the validation is carried out. (Most of the time it is done by checking the sy-subrc value ). Now put a session breakpoint at this statement. After this every time when the transaction is executed, you can change the value of the variable that is tested and bypass the validation.
      But if you are in production system, you wont be authorized to go into debug mode.
    Regards,
    Bhavesh.

Maybe you are looking for