How to call bapi_transaction_commit in my sessionBean when icreated sales o

hi,
how to call bapi_transaction_commit
when i am creating salesorder by BAPI_SALESORDER_CREATEFROMDAT2.
After Callng that bapi i  want to commit the transaction
For that i want to know how to call Transationbapi

Hi kalasker,
1.  just like this.
  DATA : ret     LIKE     bapiret2 OCCURS 0 WITH HEADER LINE.
  CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
      wait   = 'X'
    IMPORTING
      return = ret.
regards,
amit m.

Similar Messages

  • How to call BAPI_TRANSACTION_COMMIT for more than one bapi?

    Hi all,
    i have this web dynpro app, which needs to call multiple bapis.
    if i import like this:
    bapi1_model
    bapi2_model
    bapi_transaction_commit_model
    and execute them like this:
    bapi1
    commit
    bapi2
    commit
    data wont get write to database.
    how to import bapi_transaction_commit correctly?
    thanks.

    Hi
    Check this link
    http://publib.boulder.ibm.com/infocenter/wpfhelp/v6r0m2/index.jsp?topic=/com.bowstreet.designer.doc/designer/sap_function_call.htm
    http://msdn.microsoft.com/en-us/library/cc185462.aspx
    Thanks

  • How to save LIST_LINE_ID of Price List when create Sales Order Line

    I dont know how save the LIST_LINE_ID of the Price List on Sales Order or anywhere when create Sales Order Line.
    I create with the following steps:
    Step 1: Create Price List for Item A with two line: Line 1 (Unit Price = 10,5, Pricing Attribute with Tax Classification Code = 5%), Line 2 (Unit Price = 11, Pricing Attribute with Tax Classification Code = 10%)
    Step 2: I create Sales Order Line with Item A, Tax Classification Code = 5% --> Unit Selling Price = List Price = 10,5 but dont bookorder
    Step 3: I update the Unit Price of Line 1 into 11.55.
    Step4 : I book this Sales Order. Howerver, I use form personalization to customize Book Event: if the Unit Price of Item on Price List > Unit Selling Price then cant not Book. But I dont konw List Price of Sales Order belong the line of Price List.
    Please help me check this issue. Thanks for your supports.
    BinhTC
    Email: [email protected]

    Bob's right - except that if you have OM: List Price Override Privilege set to 'Unlimited' (and from your scenario it sounds as if you have) it is possible that the value in unit_list_price will vary from what was originally retrieved from the price list.
    In that case, a safer bet is to use :LINE.original_list_price in your personalization as this will always contain what was originally retrieved and will mean you can avoid any repeat lookup via list_line_id.
    Regards,
    Jon

  • How to call a servlet in SessionBean in Netweaver

    i have to a call a servlet in my sessionbean
    i am using "netweaverdeveloperstudio"
    tell me the procedure
    thanq 
    Guru

    Hi Guru,
    I´ve read the other threads you´ve opened regarding this issue. You should better describe what you want to do. In my opinion you want to do something that can´t be solved in the way you want to do it.
    Do you really want to open a browser at serverside? If you open a browser who should respond to the output?
    Is the server OS Windows?
    What results do you expect from the servlet. If the servlet just responses data that you want to process, you should, like I already mentioned, open a http connection.
    Have a look at
    http://java.sun.com/j2se/1.4.2/docs/api/java/net/URLConnection.html
    and
    http://java.sun.com/j2se/1.4.2/docs/api/java/net/HttpURLConnection.html
    for more details.
    Regards
    Helmut

  • HT1766 hi, how to call back the back up when its has been overwrite with the new one?

    hi, i was tried to back up and restore my iphone 5 and then update to the latest version with my mac itunes, unfortunately my iphone 5 hang in the middle and it reback-up and overwrite the previous one and i didnt know how com it will overwrite the old one with the new back up, which means all my datas gone, how am i going to call back them?

    You don't unless you keep regular backups of your computer in which case you can restore previous backup files.

  • How to use va51 and vb01 together when create sales order by VA01

    We have discovered that it is possible to enter a material in VD51 (item proposal) that is not listed to a customer(Defined in VB01). When creating a sales order, it is possible to enter a quantity and save the order. This should not be possible.

    We have discovered that it is possible to enter a material in VD51 (item proposal) that is not listed to a customer(Defined in VB01). When creating a sales order, it is possible to enter a quantity and save the order. This should not be possible.

  • How to generate an unique proforma document when different sales employees.

    Hi,
    I am trying to generate a proforma document from an outbound delivery. The problem is that this outbound delivery has different positions and every position has a different sales employee associated, so in the end it generates as many proforma documents as sales employees. What shoud i do in order to obtain an unique proforma document with all the positions?
    Thanks in advance,
    Luis.

    Hi
    As per your question it seems to be your output form (smartform) is dependent with employee master or role... you need to change this and form will be only one for all employee... check with your ABAPer
    Muthu

  • How do calls from self appear on the bill when you make a call blocking your number

    how do call appear on the bill when one blocks your own number so the receiver doesn't see who the caller is?

    I'm sorry. That doesn't make much sense. Please rephrase the question. If you're asking what shows up on your phone bill if someone with caller ID blocking turned on calls you, why don't you look at your bill and see for yourself?

  • Question -  how i can prevent assembly order rescheduling when in VA02 ?

    Hi                                             ( ECC 6.0)
    I am working with assembly orders.  In sales order create - the system creates an assembly order - requirements type = dynamic order.
    If i amend the sales order a few days later - the system reschedules the assembly order - even when the assembly order is started and has status REL = released.  I get error CO061 - start date in past.. as the system first backwards reschedules and then reschedules forwards.
    Question -  any ideas how i can prevent assembly order rescheduling when in sales order change VA02 ? I need the system  to check the production order status and if = REL then prevent the rescheduling.  Putting a change block on the production order does not work as it ultimately breaks the link between sales:assembly order.
    I am thinking i need to use an SD user exit to read the assembly order and prevent order changes if the assembly order is = REL.
    thanks in advance
    Graham.

    Hi Ram
    We are using dynamic link.  My original solution was to set the 'nochange' on release- however if the sales order qty changed - or the dates changed - or indeed any ATP check was performed - the link was sometimes lost - dependant on user keystrokes.  VA02 still calls assembly order change in this scenario - and the user gets the mesage that no change is present - and ATP returns 0 qty.
    What I think i can use is user exit  EXIT_SAPLCOEXT_001 in conjunction with a user status.  I plant to set the status 'block' on release - although configure it to have no action.  In the user exit - called in the interface between sales / assembly order - I plan to check the assembly order for this status and set the error condition if the status is set.  In debug mode - setting the eror manually - this appears to work as the system never calls assembly order change and accepts the assembly order date/qty as 'supply' in the atp check.
    thanks for you assistance.
    regards
    Graham

  • How can i hide my extension number when i make outgoing calls

    Hi All,
    How can i hide my extension number when i make outgoing calls,what configuration should i make on the call manager server.
    Regards,
    Lester

    We use a Route Pattern that mimics the telco feature *67. The RP is *679.xxxxxxx with a Transformation mask of 000000000 (just to get beyond the individual blocking on some private lines.

  • How to call the RFC from R/3 to SRM, when we use webdynpro abap? (Urgent)

    Hello
    We use SRM Server 5.5 with classic scenario.
    We want to call RFC in R/3 from webdynpro ABAP.
    How can we do that?
    We are developing the web report using webdynpro abap.
    So we need some of R/3 data such like PR(EBAN)and PO(EKKO,EKPO).
    When user choose the search parameter, report diplay the Shopping cart, PR and PO data on webdynpro.  So we call the R/3 RFC to display the PR, PO data.
    But I tired to call the RFC in R/3, We could not call it.
    How to call the RFC from R/3 to SRM, when we use webdynpro abap?
    Thank you,
    Best Regards,
    SH.

    Hi
    <b>Please look at the following threads as well -></b>
    WebDynpro in SRM
    BAPI's /RFC's in SRM
    BAPI to Change Shopping Cart by RFC
    SRM60 and webdynpro
    Webdynpro Services Exception
    WebDynpro using BAPI has an error
    SRM60 and webdynpro...
    <b>SAP uses META Function modules in SRM to get data from R/3 back-end.</b>
    <u>For getting Purchase requistion data, use the function modules -></u>
    META_REQUISITION_CHANGE        Change purchase requisition              
    META_REQUISITION_CREATE        Create Requisition                       
    META_REQUISITION_DELETE        Delete/close purchase requisition        
    META_REQUISITION_GETDETAIL     Display requisition details              
    META_REQUISITION_GETITEMS      Display requisition items                
    META_REQUISITION_GETRELINFO    Get Releasease Info for requisitions
    <u>For getting Purchase order data, use the function modules -></u>
    META_PO_CREATE                 Create purchase order                    
    META_PO_DELETE                 Delete reservation                       
    META_PO_GETDETAIL              Display purchase order details           
    META_PO_GETITEMS               Display purchase order items             
    META_PO_GETRELINFO             Display purchase order release information
    Hope this will definitely help. Do let me know.
    Regards
    - Atul

  • How to call SP automatically when issue a select clause?

    I have a dw to get data from sql select like:
    select * from tab, proxytab where tab.id = proxytab.id ...
    the proxy table is created based on a stored procedure result set.
    When dw retrieve data, it will call sp automatically by proxy table. but there is a big performance problem. So I decided to replace proxy table with a physical table with same name to save the result set from sp.
    As I don't want to change any code in powerbuilder. Question is: how to call sp to put the result data in the physical table when dw retrieve data?

    What is the backend DBMS here?
    You're using the phrase "proxy table", but it doesn't sound like that's what you might mean.  A Proxy Table is like a "remote query" against a table in a different database.  It allows you to do table joins when the two tables are stored in physically separate databases. 
    What you're describing sounds more like a "global temporary table", where some process (your stored procedure, for example) runs a bunch of complex queries, then inserts its result set into this temp table.  The temp table looks and feels exactly like a real table, but the data is only available to the current connection, and the table and all its data is deleted when the connection is dropped.
    Is that it?  Because you can define the table as a GLOBAL TEMPORARY, and it's definition is available in the system catalog.  You can write queries against them without having to define the table as a physical table...
    Now - to your original question - how to call the stored procedure to populate the temp table before you execute the query against it?  I'd use the RetrieveStart event of the datawindow that queries the temp table.
    ::retrieveStart
    if (select count(*) from temp_table) > 0  then RETURN
    EXECUTE stored_procedure arg1, arg2, arg3 using SQLCA;

  • How do I get rid of the caller id pic as background when I make a call?

    I have assigned a picture to my contacts, however, when I call, the background becomes the picture I assigned. How do I make it so that when I call, my set wallpaper comes up with the caller ID pic in the corner, so that it looks like the one on the apple homepage?
    Can you do this or did apple change the program so that the caller ID photo automatically becomes the background?
    Any help is appreciated. Thank you.

    Settings > AirPlay > Conference Room Display > Off.

  • How to i get my calls transferred to my voicemail when i am listening to my music on my iphone?

    how can i get my calls transferred to my voicemail when i am listening to my meditation music on my iphone?

    Put your phone in airplane mode, all calls will go straight to voicemail, yet you can still use the iPod function.

  • How to call a method defined in AM when I select any value in LOV

    Lets say there is a LOV. The scenario is as soon as I select any value in LOV, a method needs to be called which I have written in the AM. And the output of the method is displayed in a output text box.
    I am not able to understand how to call a method when the user selects any value in LOV.
    This is wht I did. I had created the binding for the method. Changed the autosubmit property of the LOV to True, and in the properties of the output box, in the partial submit trigger property, passed the ID of the LOV. But I didnt get any place where I need to call the method. I am also not able to drop an action listener on the LOV

    Hi,
    +"its showing an error(underlined in orange)."+
    Any reason you don't share this error with us? Anyway, here is how it goes
    1. LOV, set autosubmit="true" and configure a value change listener
    2. Expose the AM method as a method binding in the PageDef file
    3. In the value change listener:
    BindingContext bctx = BindingContxt().getCurrent();
    BindingContainer bindings = bctx.getCurrentBindingsEntry();
    OperationBinding method = (OperationBinding) bindings.get("name of method binding in PageDef");
    method.getParamsMap().put("argument name1", value1);
    method.getParamsMap().put("argument name2", value2);
    Object retVal = method.execute();
    if(!method.getErrors().isEmpty()){
      //handle errors
    else{
      //write retVal to the managed bean variable that is referenced by the outputText value property
      //PPR output text component
      ADFFacesContext.getCurrentInstance().addPartialTarget(outputTextRef);
    }Note that you may have to set clientComponent = "true" on the output text component
    Frank

Maybe you are looking for

  • Issues with Macbook Pro and Analog TV

    Hey all, I've got a VGA converter so I can use the Apple Mini Displayport to VGA adapter to connect my 2011 Macbook Pro to a 28ish inch Panasonic analog TV. Initially, the computer wasn't detecting the TV at all, so, on the advice of the internet I r

  • What version of Shockwave is on download page?

    It only says 12. I've already downloaded and deployed 12.0.3.133 and 12.0.4.144. On the Reader and Acrobat pages it's very easy to determine which version you are downloading. No indicators on the Shockwave page. Help! http://www.adobe.com/products/s

  • Why does a new window show up and then go to the background

    I'm beginning to thing that firefox is teasing me. Many times I will open a new window and for a second the content I want to see will display, then the new window will just DISAPPEAR and my first window will be displayed. I have to un-bacikground th

  • Website not displaying in Firefox. Works fine in IE 10 & Chrome. Windows 8/x64

    Using Firefox 21.0 on Windows 8/x64. I am experiencing some sites where Firefox displays an odd looking graphic but none of the UI that displays in Chrome or IE 10. I can re-create it for example by going to http://www.basspay.com. I'm stumped. I rem

  • Multiple approvals for approval workflow in MOSS

    Hi All, I have to develop a workflow in MOSS. My requirement is as follows:- Site Owner uploads a word document in document library and triggers the approval workflow. It will send an email to say about 10 people asking them to edit and approve the d