How to get the initial (first) transaction

Hi, everybody.
I need to get the initial (or first) transaction, from which the current was called. Does anybody know how?
Example: Tr. FEBAN after some operations calls FB05, then in OPENFI-logic SY-TCODE = 'FB05'. How can I get 'FEBAN'.
Maybe there are some system functions?
Thanks.

Hi Aidar,
Unfortunately, there are some insurmountable barriers in SAP. When a transaction calls another one using CALL TRANSACTION, a new internal mode is created, that cannot see the first one, except when programs communicate explicitly between the 2 using the SAP memory (get parameter id, set parameter id), ABAP memory (export to memory id/import from...), shared memory.
Only Chen's answer makes sense here. You may also debug just before the CALL TRANSACTION 'FB05' or LEAVE TO TRANSACTION 'FB05' (by debug you can simply add a soft "breakpoint at statement" CALL TRANSACTION or LEAVE TO TRANSACTION to make the system halt automatically when the statement is reached) where you'll maybe find some data transferred to the memories I mentioned above, which you could then read from your code to know to say if it comes from FEBAN.
Sandra

Similar Messages

  • How to get the initial state of JSF PAGE IN ORACLE ADF

    Hi everybody
    my Jdeveloper version is 12.1.3
    I'm building my JSF pages based on a template that has a navigation pane which contains command navigation items , every one of them (command navigation items) appears as a link at runtime and calls a JSF page , I wish to get the initial state for any page when leaving it then entering such page again , and I would like to know what is the suitable place to write the code to do this task.
    many thanks !

    Clear the cache by adding the following to each jsf page.
    <%
    response.setHeader("Cache-Control","no-cache"); 
    response.setHeader("Pragma","no-cache");
    %>

  • How to get the initial name.

    public class asd{
    public static void main(String[] args){
    asd dkd =new asd();
    how to show the object's name(dkd)?

    Are you trying to obtain the reference variable name is?
    Here is an example:
    String str = new String("God is real!"); // "str" would be the reference variable nameIf you call the toString() method you will won't get "str". You would get "God is real!". Look at my example below:
    String str = new String("God is real!"); // "str" would be the reference variable name
    System.out.println(str.toString());OUTPUT:
    "God is real!"
    If you do a to string on like this:
    asd dkd = new asd();
    System.out.println(dkd.toString()); The Output would look like this:
    "asd@lfee6fc"
    I'm not clear on what you mean by object name, but using the toString() method wouldn't be how I would get it. If you mean the Class name you could use the getClass().toString() methods to obtain the Class name. That would give you "java.lang.String" for the first example and the second ouputput would be "class asd".

  • [6136] How-to get the initial IMPS client ?

    Hi, I have a Nokia 6136 which supports IMPS but with presence capability only. The chat capability has been removed by the operator but apparently, according to its support, it is possible to get the original configuration from Nokia. Is there a way to get the full IMPS client (with chat and presence capabilities) OTA ? Thanks for your help. -- kael

    Hi Aidar,
    Unfortunately, there are some insurmountable barriers in SAP. When a transaction calls another one using CALL TRANSACTION, a new internal mode is created, that cannot see the first one, except when programs communicate explicitly between the 2 using the SAP memory (get parameter id, set parameter id), ABAP memory (export to memory id/import from...), shared memory.
    Only Chen's answer makes sense here. You may also debug just before the CALL TRANSACTION 'FB05' or LEAVE TO TRANSACTION 'FB05' (by debug you can simply add a soft "breakpoint at statement" CALL TRANSACTION or LEAVE TO TRANSACTION to make the system halt automatically when the statement is reached) where you'll maybe find some data transferred to the memories I mentioned above, which you could then read from your code to know to say if it comes from FEBAN.
    Sandra

  • Where/How to get the initial set of loops

    GarageBand is displaying the initial loops greyed out, and when I click one a dialogue comes up saying they're not installed. I'm given the option to Download now, later, or from disk. Since iLife came installed on my mac I have no disc. So's I select download now, and it shuffles me over to Software Update... which informs me that there are no new updates and quits itself. Attempting to re-open the dialogue in GB gives me a message saying that the download/install is underway, but there is no evidence of such.
    So's... is there any way I can manually download and install these loops? Or, at the very least, remove the greyed out one from the library?
    I'm suspecting that I refused this update early on or something... I've had my mac for about a year and a half but no need to use GarageBand until now.

    http://www.bulletsandbones.com/GB/GBFAQ.html#noloops
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • How to get the initial boot log [solved]

    Hi, I would like to retrieve the initial log from the kernel when it startups , it seems that sometimes something fails but it happens to fast , and I can't see it correctly.
    Any idea ?
    Thanks.
    Last edited by aclemente (2012-12-12 22:17:50)

    aclemente wrote:
    Hi, I would like to retrieve the initial log from the kernel when it startups , it seems that sometimes something fails but it happens to fast , and I can't see it correctly.
    Any idea ?
    Please search the wiki: almost everything you need has already been documented...

  • How to get the initial amount of a posted document?

    Hi guys!
    Upon posting a document, the amount of a G/L Account is automatically calculated (55,000.00) . From <b>vbsegs</b> it will be transfered to <b>bseg</b> table. And the value has been changed, the amount is divided by a tax code(12% VAT) = 49,107.14. How will I get 55,000 back without manually computing it? In what table or is there a standard bapi?
    Points for helpful ideas. Thanks!

    Hi Maui,
    If you go to table <b>S001</b>, you would see the details of the sales figures divided into "Gross and Net". You can also obtain some information from table VBAP.
    I hope the above helps.
    Do not forget to award the points please.
    Regards,
    Jacob

  • Precalculation server how to get the initial "ready" status

    Hi guys,
    i have scheduled 50 workbooks over night in 5 minute distances. The precalculation server is one physical server with 3 registered precalc server. Multiinstance precalculation is started. And when i come in the morning i see in RSRD_Log
    with red icon the message "The system searches for the next free preliminary calculation server" and also "No free precalculation servers found ('                                              100" and the last message "An active RFC server could not be found ". Before i went i restarted the server so the precalculation registrations should all be green and ready and in an initial state.
    From 0 o clock till 7 o clock they are all red the registrations and from 8 o clock they are green again and work fine. How come?
    Does a reboot not put them into initial state? Do i also have to clear the queue from RSPRECADMIN? From 50 scheduled workbooks just 10 reach their target via mail. What am i doing wrong?
    Thanks and kind regards,
    Murat

    Hi Vikram,
    there are no paralel processes defined they are all scheduled sequentially. They are 70 scheduled in 5 minute distances.
    But no parallel processes. What could be the reason?
    Thanks and kind regards,
    Murat

  • How can create report to get the all SAP transactions available to CSRs

    Hi,
    The user like to have the format of report as follows:
    SAP transactions      Transaction desription     CSR 1     CSR 2     CSR 3      u2026etc.
    VA01                                     order entry      Yes     No     No     
    VA02                                     order change     Yes     No     No     
    VA03                                     order display     Yes     Yes     No     
    u2026etc.                    
    ( Of course the above entries donu2019t make any sense as u2013 Itu2019s just an example )
    1) I think CSR means Customer Service Representative, where it is residing means in which table ?or How can I get CSR1,CSR2.....?
    2)How can I get the all SAP transactions available to CSRs ?(first column)
    3)How to find the which transaction is available to CSRs ? so that I can mark it is as Yes else NO

    I am not able to show the correct format as all get mixed when I post thread:
    SAP transactions  Transaction desription CSR 1 CSR 2 CSR 3 u2026etc.
    VA01                                  order entry     Yes    No           No
    VA02                                  order change  Yes    No         No
    VA03                                  order display  Yes    Yes        No
    u2026etc.
    ( Of course the above entries donu2019t make any sense as u2013 Itu2019s just an example )
    First column is Sap transactins,
    second column is Transaction description
    third column is CSR1,
    fourth column is CSR2,
    and soon.
    In the first column I need to display list of all sap transactions available to CSR,
    In the second column I need to display the transaction description
    from third onwords I need to display CSR1
    in fourth CSR2 and soon .
    Please let me know for any questions,I appreciate for the reply .

  • How to get the date of first day of a week for a given date

    Hi gurus
    can any one say me how to get the date of first day(date of Sunday) of a week for a given date in a BW transformations. For example for 02/23/2012 in source i need to get 02/19/2012(Sunday`s date) date in the result. I can get that start date of a week using  BWSO_DATE_GET_FIRST_WEEKDAY function module. But this function module retrieves me the  start date as weeks monday(02/20/2012) date. But i need sundays(02/19/2012) date as the start date. So it would be really great if anyone sends me the solution.
    Thanks
    Rav

    Hi,
    The simplest way would be to subtract 1 from the date date which you are already getting in transformation routine, but instead of doing that subtraction manually which might need bit of errort, you can simply use another FM to subtract 1 from given date.
    RP_CALC_DATE_IN_INTERVAL
    Regards,
    Durgesh.

  • How to get the date for the first monday of each month

    Dear Members,
    How to get the date for the first monday of each month.
    I have written the following code
    SELECT decode (to_char(trunc(sysdate+30 ,'MM'),'DAY'),'MONDAY ',trunc(sysdate+30 ,'MM'),NEXT_DAY(trunc(sysdate+30 ,'MM'), 'MON')) FROM DUAL
    But it look bith complex.
    Abhishek
    Edited by: 9999999 on Mar 8, 2013 4:30 AM

    Use IW format - it will make solution NLS independent. And all you need is truncate 7<sup>th</sup> day of each month using IW:
    select  sysdate current_date,
            trunc(trunc(sysdate,'mm') + 6,'iw') first_monday_the_month
      from  dual
    CURRENT_D FIRST_MON
    08-MAR-13 04-MAR-13
    SQL> Below is list of first monday of the month for this year:
    with t as(
              select  add_months(date '2013-1-1',level-1) dt
                from  dual
                connect by level <= 12
    select  dt first_of_the_month,
            trunc(dt + 6,'iw') first_monday_the_month
      from  t
    FIRST_OF_ FIRST_MON
    01-JAN-13 07-JAN-13
    01-FEB-13 04-FEB-13
    01-MAR-13 04-MAR-13
    01-APR-13 01-APR-13
    01-MAY-13 06-MAY-13
    01-JUN-13 03-JUN-13
    01-JUL-13 01-JUL-13
    01-AUG-13 05-AUG-13
    01-SEP-13 02-SEP-13
    01-OCT-13 07-OCT-13
    01-NOV-13 04-NOV-13
    FIRST_OF_ FIRST_MON
    01-DEC-13 02-DEC-13
    12 rows selected.
    SQL> SY.

  • V v urgent ...  how to get the selected rows in the vl02n transaction

    Hi ,
    I have requirement that i have selected the line items in the vl02n transaction.
    If I select only one row there is option gs_get_cursor-line.
    If I select more than one line item at a time I am getting only the last value in to gs_get_cursor-line.
    Can anybody let me know how to get the multiple line items  that are selected
    It is very urgent ..
    Plz Help

    Hi,
    can you check the E_row_id .
    v_row type LVC_S_ROW
    read table itab index E_ROW-index.
    regards,
    Ajay
    Edited by: Ajay on Feb 14, 2008 6:22 PM

  • How to get the current transaction variant ?

    dear guru,
    could you please tell me how to get the current transaction variant?
    i tried the following method:
      DATA l_tcvariant TYPE tcvariant.
      CALL 'DY_GET_TX_VARIANT'
         ID 'VARIANT' FIELD l_tcvariant.
    but it failed.
    best regards.
    zj

    Try something like this
    DATA:  VARIANT LIKE SHDTVCIU-TCVARIANT.
      CLEAR VARIANT.
      CALL FUNCTION 'RS_HDSYS_GET_TC_VARIANT'
       IMPORTING
         TCVARIANT                     = VARIANT
    *     FLAG_CLIENT_INDEPENDENT       =
    *     RC                            =
    *   TABLES
    *     T_SCREEN_VARIANTS             =
    *     T_INACTIVE_FUNCTIONS          =

  • How to get the date of the last transaction in a mounted standby database?

    Hello,
    Could you tell me how to get the date of the last transaction recorded in a MOUNTED standby database?
    The following query doesn't work...because the database is not open...
    select scn_to_timestamp(current_scn) from v$database;
    Thanks

    Hi,
    You should be able to run the following command in mounted mode on standby database.
    select current_scn from v$database;
    then run the following to convert it to timestamp.
    select scn_to_timestamp(99999999) from dual; *<-- Replace here the SCN value you got above. This needs to be run on the primary database due to standby database in mount mode.*
    Alternatively you can also check at the alert.log file to find the last scn which has been applied.
    Regards
    Edited by: skvaish1 on Jan 19, 2010 11:15 AM

  • How to get the first day in the month from a domain date ?

    Hi,
    I like to know how to get the first day in the month from a domain date?
    Thanks
    Stephen

    Hi Gokul...
    Instead of using the funtion module you can just write the 3 statements of code to get the first day of the week.
    Its similar to the above one but instead of writing case statement you can achive the following.
    data : w_res type i,
             w_data type d,
    w_res = w_date mod 7.
    w_date = w_date - w_res.
    write w_date.
    This works.
    Regards,
    Siddarth

Maybe you are looking for

  • Return or Exchange for PS4?

    Hi Best Buy, Currently, I'm owning a GTA V pre owned and a Xbox One. However, my console overheated frequency while playing. I was wondering if I'm able to return those two or exchange it for a PS4. Thank you, Mimi

  • Do Not Know What is Going On With My 'Pod

    I have a 60GIG 'Pod with color screen. I used it at my job two days ago, playing it through a pair of Altec Lansing speakers, which I've done many times before. Between late Wednesday night and Friday afternoon, I had not used the machine (it was plu

  • How can I get the breakdown of the no. of msgs on the CAN bus for dif IDs?

    Using the examples in LV8.2.1, CAN Frame Receiver Error.vi, I noticed what it does is it makes use of the ncmultiRead.vi and log the messages and displays them. What I am trying to do is to log this msgs and grp the messages according to diff IDs? I

  • Black cartridge not printing on Deskjet 3070A

    Cannot get black ink to print on deskjet 3070A. have tried all recommended solutions and nothing works. very frustrating and time consuming. has anyone solved this problem ???

  • What is Masters file

    I am trying to backup my iPhotos folders package via Carbonite. It backs up all years , till 2010 fine. It will not backup 2011 files in the Modified or Original folders (even though they show the 2011 subfolders normally). However Carbonite backs up