Calling another FM, in the FM which is called in Update task

Hi Experts,
I have created the implicit  enhancement in the Function module say 'X' .
This 'X' FM is called in  Update Task.
Now i am calling another FM say 'Y' in this 'X' FM.
The FM 'Y' has got its own commit statement.It is updating some tables.
Here are my findings,
When i commented the explicit 'commit and wait' from the 'Y' Fm , the data that i needed to be saved was being saved and updated successfully.
However , when i added an extra parameter say 'No Commit' in the 'Y' FM to by pass the explicit 'commit and wait'  ,  the FM 'Y' itself is not getting called for strange reasons.
The update gets interrupted.
Please suggest why this FM is not getting called.
Any thing that i may be missing.
Regards,
Abhishek Kokate

Hope you have called the FM correctly with the additional importing parameter , also check if your FM is RFC enabled then check the "pass by value" option.

Similar Messages

  • How to Call another screen using the ABAP Report which is displaying ALV ou

    Hello All,
    I am developing a ABAP report in which I want to transfer the stock from material to another material.
    My Report will include 3 to screens.
    The first sleection screen will display all the material with their stock value.
    When we execute the report I will get the list of materials along with their current stock. On the top of the output screen I want the Execute button. Also , each line of the output should have checkbox or the ALV provides the functionality of editing one cell like that.....Once the user tick the checkbox or the cell....then I want to move to another screen where user can enter the Quantity and then user will tick ok and then I will call one function module so that the material documnet is posted and transfer of posting form material to material is done successfully.
    Could anyone please help me out how to call another screen from the output screen where user can enter the Quantity amount....
    I dont want to use the Dialog programming.....I want to create the simple ALV Abap report.
    Regards,
    Komal Bhutada.

    Hi Raymond,
    Thanks for the input...I will try this in my code .....
    Can you please help me how to insert the checkbox in the ALV Output....so that I can select one of row and then press execute to process further?..
    Thanks for the information.
    Regards,
    Komal.

  • Can we call another transaction from the Userexit

    Hi all,
            Can we call another transaction from the Userexit?
    Thanks,
    Balaji

    Hi
    Because the statament CALL TRANSACTION triggers the end of the LUW so COMMIT WORK, so you should be sure not to insert that statament while some updating actions are been doing.
    So that exit shouldn't be triggered while updating
    Max

  • My samsung stratosphere is very slow to place a call.  I input the number and push CALL.  Nothing happens.  I try it again and nothing happens.  Then some time later (2-5 mins) the phone goes ahead and dials.  What is causing this delay in dialing?

    my samsung stratosphere is very slow to place a call.  I input the number and push CALL.  Nothing happens.  I try it again and nothing happens.  Then some time later (2-5 mins) the phone goes ahead and dials.  What is causing this delay in dialing.

    wadams5641,
    Let's add some speed to your service and ensure you can make calls without the
    delay. When was the last time you turned off your phone? Is the software up to
    date?
    KarenC_VZW

  • Calling another program from the current program

    Hi all,
    In our requirement we are calling another program from our current program .
    In the current program( from which we are calling ) we are giving file name in the selection screen
    and when we run the current program we are successfully going to other program but our main requirement is to higlight the file name which we had given earlier .
    Note :  The called program doesnt have any selection screen.

    HI
    use EXPORT and IMPORT key words for passing data from one program to another program.
    as the called program is available in the same session you can use above key words which means you are accessing ABAP MEMORY.
    You can also use SET and GET key words which means SAP memory
    take F1 help there are examples tooo and detailes explanation abou the same
    Regards
    Ramchander Rao.K
    Edited by: Ramchander Krishnamraju on Dec 24, 2008 7:05 AM

  • How can I find the program which is calling my SAPscript??

    How can I find the program(std/Custom) which is calling my SAPscript form??
    Regards,
    Shashank.

    Hi
    check in NACE transaction or TNAPR table
    reward points to all helpful answers
    kiran.M

  • Java applet calling another applet on the Javacard

    Hi, I am new to JC.
    I have some Java classes which I do not want others to extend. Hence, to hide these classes, I have created a set of helper classes that will provide services to these "hidden" Java classes to other calling applets, much like the way I do in J2SE. Something like a wrapper class.
    The problem is, I am not sure if other applet classes can call this new helper class or not? and I am also not sure how this can be done. Can someone advise? Thanks in advance.

    I'm not sure what this has to do with JavaCards.
    Sounds like a simple Facade Design Pattern. Also your classes are "hidden" when you make them package protected or package private. Read J2SE packages and you'll see what I mean.
    If you are referring to JavaCard, by design each package is it's own context therefore, there's a context firewall to protect it's objects and data. A shareable Interface object must be implemented to allow access.

  • Calling another program in the print program through FORM ENTRY

    Hi All,
    Have a requirement that I need to submit the program with variant to a print program.
    But it is giving dump "Statement "SUBMIT" is not allowed in this form" while executing through VF04.
    I have tried by using CALL FUNCTION  "func" in update task .Inside the "func"  in I have coded the logic of
    submit program using selection-set VARIANT.
    Even then while executing through VF04 got the dump "DYNPRO_SEND_IN_BACKGROUND" and "POSTING_ILLEGAL_STATEMENT ".
    Kindly advise to resolve the issue.

    Hi,
    PLease make sure that u r using both smartforms and report..
    Once the function called the report program, whether control back to the print program..
    Using debugger please check..
    put a break-point in your program and find where that dump is arised..
    whether u want report only or smartform only...
    If the same problem arises again,
    Paste your report program code inside the print program instead of using SUBMIT..
    let me know what the issue u r facing
    regards
    vijay

  • Calling another BSP from a BSP using bsp:call having a Problem.

    Hi All,
    I have a BSP (page1.bsp), within Page1.bsp I am calling another BSP (Page2.bsp)
    But I need to Call Page2.bsp from Page1.bsp 'N' number of times depending upon an internal table, code is mentioned below ( Problem is mentioned after the code ) :
    LOOP AT mr_plan_comparison->mt_selected_plans ASSIGNING <fs_selected_plan>.
         CLEAR lr_plan.
         lr_plan = zcl_zpr_s_model_pool=>load_new_plan( iv_plan_id = <fs_selected_plan>-plan_id ).
         lr_plan->mr_phases = lr_plan->get_phases( ).
         lt_phases_of_a_plan = mr_plan_comparison->mt_selected_phases.
         DELETE lt_phases_of_a_plan WHERE plan_id <> <fs_selected_plan>-plan_id.
         lr_plan->mr_phases->mt_phases = lt_phases_of_a_plan.
         lv_comp_id_str = zcl_zxa_str=>conc( iv_1 = sy-tabix
                                             iv_2 = 'xyz' ).
         CONDENSE lv_comp_id_str NO-GAPS.
      %>
      <tr>
      <td>
    <htmlb:textView text="<b><%= zcl_zrm_s_data_manager=>get_name_from_id( iv_table_name = 'ZPR_PROGRAM'
                                                                         iv_field_name = 'PRG_ID'
                                                                         iv_field_value_id = <fs_selected_plan>-prg_id  ).%></b>" />
         <bsp:call   url     = "<%= zcl_zrm_co=>sc_bsp_rpphachart %>"
                     comp_id = "<%= lv_comp_id_str %>" >
    <%-- same subcontroller n times: use different component IDs --%>
        <bsp:parameter name  = "mr_plan"                  value = "<%= lr_plan %>" />
        <bsp:parameter name  = "mr_plan->MR_PHASES"       value = "<%= lr_plan->mr_phases %>" />
        <bsp:parameter name  = "mv_show_current_version"  value = "<%= abap_true %>" />
        <bsp:parameter name  = "mv_show_version_nr"       value = "<%= SPACE %>" />
    </bsp:call>
    I am able to display the Page1.bsp with no problem having Page2.bsp as well on it,
    But I have a radio button or a dropdown on Page2.bsp and when the event triggers it goes to the DO_HANDLE_EVENT of Page2.bsp whcih is correct but after DO_HANDLE_EVENT it does not go to DO_REQUEST of Page2.bsp and rather goes to Page1.bsp at the LOOP, by this what ever selection I did I am loosing those values.
    What changes should I make so that after Do_HANDLE_EVENT of Page2.bsp it should call it's Do_Request?
    I guess it might be related to the reference or something?
    Regards,
    Abhinav

    Hi Abhinav,
    the flow of nested controllers is as follows:
    contr1->do_request (here dispatch_input triggers data and event handling)
      -->contr1->do_handle_data
      -->contr2_1->do_handle_data
      -->contr2_2->do_handle_data
      -->contr2_3->do_handle_data
    ..... for all controllers in the hierarchy
      -->contrXXX->do_handle_event (the controller instance where the event was triggered)
    contr1->do_request continued
    call view for contr1
      -->contr2_1->do_request
      -->contr2_2->do_request
      -->contr2_3->do_request
    .... for all subcontrollers called by your logic
    the dispatch_input in the subcontroller does not have any effect as within the method it is checked whether the controller is a root controller or not.
    In case you call the subcontroller with the same component ID's than you called them before, the same instances are reused. So if you reuse the instances and set an attribute within the instance that handled the event you should be able to "remember" the values.
    Another option is to write the event back either to the application class or to the parent controller (is available via attribute m_parent) and hand it back over to the controller during the calling loop.
    Hope that helps.
    Best Regards
    Michael

  • How to call required page after the am.invokermethod is called.

    Hi All,
    I have a serch page which search the table ABC and returns the results(Standard functionality). I results table will have update icon. Now when the update icon, i will pass param mid = 100, is clicked I need to check the table MST whether it has records with mid=100. If yes, i need to display the details by calling the MSTPG page. If no, need to call other page called MSTTEMPPG.
    So, How do i check the record exists in the table or not and call the appropriate page.
    If i use am.invokermethod(), it call the procedure and executes but this method doesnot return values.so that based on the return value i can call the required page.
    Thanks,

    Thanks Senthil for the response.
    I Just wanted to keep the question simple and that is not all the requirement.
    I know the switcher bean concept i'm sure that it may not meet my requirements.lets keep it a side.
    But sure the second point you mentioned. To redirect to page based on the return value should help me can you elobrate / how do i call a page from the AM.
    1) Does am.invokermethod() - returns a value.
    2) If no, The procedure AM invokes should have the redirect method - what is the method and how do i call the page from AM
    Thanks
    Ganesh.

  • TS3406 magic jack is not working properly. I can call out and hear the person i have called, but they can't hear me.

    My Magic Jack is not working properly. I can make a call and the person I have called can hear me but I can't hear them. What can I do to fix this?

    if it play not sound at all then it's likely the hardware issue where the headset detector gets stuck
    like this the detector just is stuck in the opposite way
    https://discussions.apple.com/thread/1343532?start=315&tstart=0
    more
    iphone stuck in headphone mode

  • Calling another method in the class from within the body of a method Im wri

    Hello out there.
    I have a question. I keep getting an error that reads as follows:
    1 error found:
    File: /Users/matthieubell/Academia/University of Waterloo/CS 125/L06/CreditCard.java [line: 80]
    Error: double cannot be dereferenced
    I think it is occuring because I am trying to call a method on an instance variable, which is not an object. But how do call a method I have already written, on another method I am writing in the general sense. I could make a particular object, but Im not shure that would get me the same result. I want to be able to call the method calcMinPayment on the instance variable currentBalance to wirte the method makePayment.
    I have a class CreditCard
    with the instance variables "private double currentBalance = 0; "
    public double calcMinPayment()
    // Add code here
    double minimumPayment;
    if (currentBalance < 50)
    minimumPayment = currentBalance/10;
    else
    minimumPayment = 50;
    return minimumPayment; // Replace this statement
    * This method will decrease the current balance on the credit card if
    * this payment meets or exceeds the minimum payment amount.
    * pre: paymentAmt > 0
    * post: The current balance should be decreased by paymentAmt if
    * paymentAmt >= the minimum payment amount. Otherwise, the payment
    * will not be recorded and an appropriate error message should be
    * displayed.
    public void makePayment(double paymentAmt)
    // Add code here
    double minimumPaymentAmount;
    minimumPaymentAmount = currentBalance.calcMinPayment();
    if (paymentAmt < minimumPaymentAmount)
    System.out.println("Sorry, but your payment must exceed the minimum payment amount.");
    System.out.println("This payment has not been recorded, please try again.");
    else
    this.currentBalance = currentBalance - paymentAmt;
    thanks for youre help
    -Matthieu

    'calcMinPayment' takes no arguments, uses a member variable (currentBalance) to compute a local variable 'minimumPayment' which it returns, ie, sends back to the caller. So you can call 'calcMinPayment' at any time.
    minimumPaymentAmount = calcMinPayment();

  • Prompts are not working when we call another report from the narrative view

    Hi,
    In my dashboard i need a table view report which should have scrolling option only for that section.
    For this i added a html tag <iframe ........scrolling="yes"> in the narrative view and i added that narrative view in the report.
    Now,it works fine in the dashboard.
    But when i apply prompts in the dashboard the values are not filtering even though i added the "is prompted" filter condition in the criteria of both narrative view section and the called function.
    Any help would be greatly appriciated.
    Thanks,
    chinna.

    Hi,
    since you have created an iframe dashboard prompt wont work on that report.Same is the case if you put the report in Embeded content.
    One possible workaround is to creaate a dummy report having columns same as that of dashboard prompt.Put all the columns is prmompted in this report
    (No need to create dummy report if you already have those columns in some other report,You can use that report also)
    Then go to your Iframe report and use "filter based on other request".In this way dashboard prompt will filter dummy report and based on dummy report values your iframe report will also filter.
    Thanks
    Sandeep

  • I can not use the Global Variable in the subvi which be called dynamic

    Hi,everybody,
    i have a problem.
    i called dynamic a subvi (subvi.vi) in the MainVI(main.vi),and putted it in the subpanel in the main.vi .the subvi should show the string (success!),but it not
    why? Help me
    WinXP LavVIEW8.0
    Using LabVIEW 8.0.0 on Windows XP
    附件:
    MyTest.zip ‏16 KB
    MainVI.JPG ‏41 KB
    subvi.JPG ‏13 KB

    subpanel中的VI要运行才可以。

  • Calling another page in the portal

    Hi,
    I have created two pages p1 & p2 in Portal.
    I want to access p2 form p1 ,is there any way for that.if it is possible programitically ,I would appreciate some sample code.
    Thanks
    Ravi

    Hie
    You can do this bye placing a url component created in your DB provider or using the go method (go('Address');)in success event of your form portlet on the page or use the &lt;a href="page address"&gt;Link Text&lt;/a&gt; as your field in your sql report which you will place it in your page as a portlet.

Maybe you are looking for

  • Can't Connect Via Ethernet on new MacBook Pro

    Hello, I'm running into a frustrating problem and hoping someone can help. I have a new MacBook Pro that won't connect via Ethernet. My old computer (Powerbook G4) with the same settings works flawlessly. Details: under Network Settings I have Automa

  • Windows 8.1 Lenovo Yoga 2 Pro "Network Driver not properly installed"

    I've just received a brand new Lenovo Yoga 2 Pro just a few hours ago, and already there seems to be a problem. Windows 8.1 keeps telling me it cannot find any networks, and when I troubleshoot problems, it tells me that my drivers are not properly i

  • Runtime exception occurred during application mapping in SAP PI

    Hi Team, Please help me regarding this issue is very urgent: Runtime Error in configuration part: Here i test the XML message in Receiver Determintion: Below i am getting error: Runtime exception occurred during application mapping com/sap/xi/tf/_Mat

  • Editing an Excel spreadsheet on a Mac

    I was sent an email with an Excel spreadsheet.  How do I write on this spreadsheet so that I can email it back to the sender?

  • Data Transfer Process: Extraction Mode

    Hi, What does the extraction mode (full and delta) in DTP correspond to? Is it that by selecting delta here we can do delta from PSA. Something similar to delta from ODS to Cube. Thank you, sam