Data is not updating in Bapi_po_Create1

Hi Gurus,
I have Small Problem regarding Bapi_po_create1
bapi is running succesfully and in return table it is returning po number generated but this po number is not getting updated to databse table ekko or any where.
Can You plz give me soln what is going wrong or in case of bapi it takes times?
plz help out.
Thanks & Regards,
Vijay Pawar

hi got the soln by using fm
BAPI_TRANSACTION_COMMIT.

Similar Messages

  • Data is not updated in the database

    hi.. to all..
    i'm using the following code ...... but the data is not updated in the database.. the output window get closed as soon as i clicked save button...
    i don't know wat's problem with the program...
    Plz help me.. to get resolve this problem..
    import java.applet.*;
    import java.awt.*;
    import java.sql.*;
    import java.awt.event.*;
    import sun.jdbc.odbc.*;
    public class Customerdetails extends Frame implements ActionListener
         TextField ccod,cname,add,phno,conp,email,fax;
         Label l1,l2,l3,l4,l5,l6,l7;
         Button save,exit;
         Connection con;
         ResultSet rs;
         Statement stmt;
         String s1,s2,s3,s4,s5,s6,s7;
    public Customerdetails()
        super("CustomerDetails");
        setSize(700,750);
        setLayout(null);
        setBackground(new java.awt.Color(245, 117, 105));
        l1=new Label("Customercode");
        l2=new Label("CompanyName");
        l3=new Label("Address");
        l4=new Label("PhoneNumber");
        l5=new Label("Contact person");
        l6=new Label("EmailAddress");
        l7=new Label("FaxNumber");
        l1.setBounds(20,100,100,70);
        l2.setBounds(20,180,100,70);
        l3.setBounds(20,270,100,70);
        l4.setBounds(20,340,100,70);
        l5.setBounds(20,420,100,70);
        l6.setBounds(20,500,100,70);
        l7.setBounds(20,580,100,70);
        ccod=new TextField();
        cname=new TextField();
        add=new TextField();
        phno=new TextField();
        conp=new TextField();
        email=new TextField();
        fax=new TextField();
        ccod.setBounds(200,120,150,50);
        cname.setBounds(200,200,150,50);
        add.setBounds(200,280,150,50);
        phno.setBounds(200,360,150,50);
        conp.setBounds(200,440,150,50);
        email.setBounds(200,520,150,50);
        fax.setBounds(200,600,150,50);
        Button save= new Button("Save");
        Button exit= new Button("Exit");
        save.setBounds(200,680,100,40);
        exit.setBounds(350,680,100,40);
        add(l1);
        add(ccod);
        add(l2);
        add(cname);
        add(l3);
        add(add);
       add(l4);
       add(phno);
       add(l5);
       add(conp);
       add(l6);
       add(email);
       add(l7);
       add(fax);
       add(save);
       add(exit);
      save.addActionListener(this);
      exit.addActionListener(this);
      setVisible(true);
    addWindowListener(new WindowAdapter(){
      public void WindowClosing(WindowEvent w) {System.exit(0);}});
    public void actionPerformed(ActionEvent ae)
    Customerdetails cud= new Customerdetails();
    if(ae.getSource()==save)
    s1=ccod.getText();
    s2=cname.getText();
    s3=add.getText();
    s4=phno.getText();
    s5=conp.getText();
    s6=email.getText();
    s7=fax.getText();
    try
          String query = "insert into Customerdetails (Customercode,CompanyName,Address,PhoneNumber,Contact person,EmailAddress,FaxNumber)"+ "values('"+s1+"','"+s2+"','"+s3+"','"+s4+"','"+s5+"','"+s6+"','"+s7+"')";
          Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
          con=DriverManager.getConnection("jdbc:odbc:prism");
          stmt=con.createStatement();
          rs=stmt.executeQuery(query);
          stmt.close();
    catch(ClassNotFoundException e)
      System.out.println(e);
    catch(SQLException e)
      System.out.println(e);
    else if(ae.getSource()==exit)
    System.exit(0);
    else
    System.exit(0);
    public static void main(String args[])
       Customerdetails cud= new Customerdetails();
    }

    This doesn't look right:
    ,FaxNumber)"+ "values(because it's equal to ,FaxNumber)values(and your SQL server won't understand it, put a whitespace between.
    /M

  • Data is not updating in DB Table

    Hi...All
    we have done the RFC-JDBC Synchronous scenario, we are getting the success messages into SXMB_MONI ,in the CCM also it was showing success. but data is not updating in to the Database Table. client want to see the response data in the Database Table only.
    pls help me this is very urgent.
    Regards,
    Pasi.

    Hi,
    If everything is working fine in XI there is some problem in database end only while query gets executed. Try debuging the sql query which you have by giving log statement and see what the query generated is.
    Got to your receiver jdbc communication chalnnel , Advance mode > Additional parameters,
    Enter logSQLStatement in the name column and true in the value column
    To view the SQL log Click on the message ID of the communication channel monitoring.
    or, alternatively, in Runtime workbench, click your message> details> audit log tab.
    Run the interface once more. Check the communication channel now. It will show the actual insert statement which is trying to insert into the DB and then you can figure out what is the query being fired to database and see if it is fine.
    Copy the same query and run in databse. you will be able to find the exact problem.
    thanks
    amit
    reward point if answer is useful

  • When we synch data from AD to FIM Portal 2010 r2 the data is not updates in FIM Portal.

    Hi,
    When we synch data from AD to FIM Portal 2010 r2 the data is not updates in FIM Portal.
    Active directory attribute co have value vietnam but in FIM Portal country attribute have value VIET NAM
    we simply mapped AD Attribite to FIM Attribute for inbound
    co===>country
    why this happen
    Regards
    Anil Kumar

    Anil, please check what do you have in metaverse. It seems that you have attribute flow precedence configured in a way that doesn't export to FIM Portal.
    Let's say you have flows like:
    (AD MA)
    Import flow: (AD) description -> (metaverse) description
    (FIM MA)
    Import flow (FIM) description -> (metaverse) description
    Export flow (FIM) description <- (metaverse) description
    And you have higher precedence from FIM. Then, you would never have FIM value updated - even if value in AD changes. It would be exported to FIM only when you don't have this attribute filled in FIM.
    If you found my post helpful, please give it a Helpful vote. If it answered your question, remember to mark it as an Answer.

  • After editing file in ACR 8.6 (Mac) , the file (NEF and XMP) modification dates are not updated

    With both my Mac's, reset Photoshop C  (2014) to previous version 2014.0. Now find that after editing file in ACR 8.6 (Mac) , the file (NEF and XMP) modification dates are not updated. Reloaded camera raw, etc., but still find modification dates are not updated, either using Finder or using Bridge to view dates. Editing other files, PSD, DNG, TIFF, etc., are updated and the information is correctly displayed.

    Ok, not entirely sure what I did but it's now working (Bizarre!). The only thing I did was 'eject' the ACR 8.6 .dmg file from the finder side bar and restart PS CC, so that may have been where I was going wrong all along!
    However, I now have another issue in that there is no preview of the shot in Finder on my iMac when I highlight the NEF file. I assume this is simply because Apple haven't yet released an update for the new D810 NEF files and so the computer doesn't know what it's looking at?!?
    If anyone has any other ideas though, then I'm more than willing to listen.
    Thanks again.

  • Deactivation date is not updating in Asset Master after retirement (ABAON)

    Dear Experts,
    Asset Capitalized on: 28.02.2009 and depreciation key used as: LINK-Str.-line from acq.value to zero without interest. Asset Retirement done with revenue (210) on 31.05.2009. We do have depreciation like (01 book depreciation, 15 Tax depreciation, 30 Local GAAP book depreciation).  Below is the asset and class:
    Asset name:  Maruti Baleno
    Asset Class: Vehicles
    Here my question is after retirement done with the transaction code: ABAON u201CDeactivation onu201D date is not updating automatically in the system, however when am trying to update manually the system showing error like u201CDeactivation not possible. Dep.area 15 has acquisition values.
    When am trying to do same transaction with T code: u201CABAVNu201D, the system updating the deactivation date.
    Can anybody explain me why the above error happening and why the deactivation date is not updating with t code: ABAON.
    Thanks,
    Francis.J

    Dear Atif Farooq,
    In the AO74 the transaction types (Deactivate fixed asset check box also ticked)
    200     Retirement without revenue
    210     Retirement with revenue
    When am trying to update manually below error appearing in AS02
    Deactivation not possible. Dep.area 15 has acquisition values
    Message no. AA296
    Diagnosis
    You cannot deactivate, since acquisition values are still present in depreciation area 15.
    Procedure
    Deactivation can only be posted by a complete retirement/transfer. The deactivation date is then set automatically.
    The above asset procured in the year of 2009 and same has been retired 2009.
    Thanks,
    Francis J

  • Last stock update Date Tab not updating in ICH

    Hi Team
    I observed that in ICH screen Last stock update Tab is not going to update every time while demand and stock information coming from ECC to ICH.
    There is no stock inconsistency. All stock tab information are updating correctly in ICH compare to ECC system.
    Only this Last stock update tab Date are not updating.
    What is the reason behind this?
    Could you please help me to resolve this?
    Regards
    Virendra Kumar
    09769396038

    Hi Virendra
    It is a bug, please report to SAP and get fix
    which version you are using and what is the patch level?
    1341691 should be helpful check out
    Best Regards
    Vinod

  • Time/date will not update

    After updating software, the time/date will not update.  My network is fine and I can get to the internet fine.  Also will not accept my apple ID

    Try restarting the Apple TV by removing ALL the cables for 30 seconds.

  • System status NTUP (Dates are not updated)

    Hi Guys,
    WBS Element has the system status NTUP (Dates are not updated) the option to untick this is greyed out and it is preventing the posting of a journal.
    Could you please let me know how to remove this system status.
    Regards,
    Abdul Rehman

    Hi Amit,
    Thanks for your reply,
    WBS is released and there is no user status as well but besides NTUP another system status is there i.e ACPT(Order accepted) is this is causing any problem for genral postings?
    Could you please also let me know how status NTUP got activated when i am checking in the change log it is not showing any name.
    WBS is very much an account assignment element.
    Regards,
    Abdul Rehman.

  • Statistical delivery date is not  updating automatically or by default

    When creating  the PO delivery date of a item in PO,is picking,but statistical delivery date is not  updating automatically or by default. I am not getting this automatically .Its need  for vendor evaluation.

    Hi,
    Check on it:-
    Statistical Delivery date vs Confirmed Delivery date
    pherasath

  • Has anybody noticed that Last played dates do not update?

    I have recently noticed that the playcounts and last played dates are not updating. When you play a song it does not update the last played date.
    Did anyone come across with this issue

    Yep, same for me. When i play on my iPhone, it doesn't update in iTunes using iTunes Match.

  • Data is not updating from DSO to CUBE

    Hi Friends,
    Can any one please Guide me.
    Data is updating upto ODS but not from this lower level ODS to top of the  cube from last  week and displaying error as " Exception condition "DATE_INVALID" raised" .
    How i can proceed to find which date field is getting wrong date or not getting date ..Can any body tell that how we can analize the possibilities in this case to find the error and solution .I need to solve this today,Can any body guide me please.
    BR,
    Venkat

    hi
    check the transformations between dso and cube, and check any inconsistence. if not then follow the link
    http://www.consolut.com/en/s/sap-ides-access/d/s/doc/F-DATE_CONVERT_TO_FACTORYDATE
    this may help you.

  • Data is not updating in calss & Convert vi reference to strictly type reference vi

    Hi,
    In the attached project file there is a Class called 'ClassSample.lvclass' having 3 different data types Boolean, Numeric and Variant(not really sure, Variant can be use for strict data type reference). From this three we careated the 'VIs for data member access' you can see them in project file
    My questions are,(Please refer attached screenshot)
    1. Though member of same class, why value is not updating at probe 16 ?
    2. How to convert vi reference to strictly type reference vi ?
    Thank you.
    Attachments:
    Capture.JPG ‏426 KB
    ClassSample Project.zip ‏116 KB

    It depends a bit on your final intention. Bascially you have a shared state that you want to access asynchronously from different places. If you know that the actual object is only created once (terminilogie here is a bit shaky as every wire split would create a copy of the LVOOP object but I hope you know what I mean), you could use a global or Action Engine to store the state. Using a DVR for this state and adding the DVR to your object class data is however a more scalable approach as it will allow you to instantiate more than one object of that class and each one will contain its own DVR that will reference the same value for the specific object instance even if you split the object wire, creating actually two copies of that object (but for the purpose of this discussion they would be still the same object instance).
    Queues could work if you create a single element queue but you would always need to use Preview Queue rather than Dequeue in order to maintain the value in there.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Data is not updating in database when workflow is completed........

    Hi all,
       I am working on ESS leave request workflow.
       After the approval is being made by the agent, the relevant data is not getting updated in the database. There is no entry regarding the leave period in PA20.
    Is it a workflow issue???  
    Is it something related with commit work???

    Hi
    Did you try to run and check, the report RPTARQPOST report from the back end.  This report is resposnible to post the data into the workflow and complete the workflow. But as you mentioend that the workflow is getting completed then in this case I think you might be already scheduled the above report. Did you check with any kind of authorizations with the user under which the background job or the user who is runnig the report.
    There could also be a possibility that the applied user might not have right authorizations to manupulate Absences Infotype 2001. PLease check teh roles associated with the users in PFCG txn.
    Regards
    Pavan

  • Data is not updating in data target from PSA

    Hi,
    i have loaded data from flat file to an Info Object(with direct update)....the data is loaded correctly into PSA...when i manually read data from PSA to data target its not updting in data target.......can anyone help with this....thanks in advance..

    hi bwusr,
    direct update, so it's master data,
    is it attribute or text ? perhaps there's invalid character or lower case,
    check in monitor tab detail.
    and when you said not updated to data target,
    you check by right click 'maintain master data' ?
    or you mean it's not updated to reporting ?
    execute change run ? rsa1->tools->apply attribute/hierarchy change.
    hope this helps.

Maybe you are looking for

  • Using a Target in an HTML Region

    Hi, I have a page with an HTML Region, which links to an external html page. The external page has links to other, secondary external pages. I'd like for the secondary links to open and replace the original external page within the same region on my

  • Fonts change size and content when edited in photoshop cs6

    When I try editing the type in the document created in Photoshop CS6, some of the fonts I click on change their size, formatting as well as content of what it says. It also started happening when I try changing canvas size. All of the fonts that got

  • Problem in retrieving LONG(of Oracle) column in Java String Object

    Hi, I wrote some codes to fetch some columns into a String array(two dimentional), one of the column is long (in Oracle database)...whenever I try to get the value into the array..its showing java.sql.SQLException: Stream has already been closed Some

  • OVM 3.2.1 doesn't discover local disk

    OVM 3.2.1 doesn't discover local disk on a SUN FIRE X4170 M3. I created 1TB lvdisk1, but OVM manager doesn't see it. Below is some output asked in similar situation in other threads: # vgdisplay --- Volume group --- VG Name DomUVol System ID Format l

  • RTF Template anchoring

    Is it possible to anchor in an TF template , ie specify the position whee exactly it should start. I am having a table follwed by another table. I want the second table to start exactly in the same position . I have set enough space between the two t