Salesorder created using BAPI_SALESORDER_CREATEFROMDAT2 not visible in VBAK

Hi Experts,
I created sales order using BAPI_SALESORDER_CREATEFROMDAT2, further salesorder ID was also indicated after creation.
But the same order ID is not visible in SD standard table VBAK.
Pls guide me to a valid standard CREATE BAPI for Sales order.
Regards,
Romi Malik

Hi Romi,
If you created a document through BAPI and it does not appear in the database afterwards, the logical conclusion is that ...
No it wasn't really created
With BAPIs for sales order data loading, there is no automatic COMMIT! (check SAP notes).
You need to add the call to BAPI BAPI_TRANSACTION_COMMIT to save to DB.
Regards,
Franck

Similar Messages

  • Sales order not created using BAPI_SALESORDER_CREATEFROMDAT2

    HI,
    I have used the bapi BAPI_SALESORDER_CREATEFROMDAT2 to create sales order. I have passed the parameters, doc_type, sales_org, distr_chan, division, partn_role, part_numb and material.
    It displays back the message as
    sales_header_in createds,
    sales_item_in created,
    sales document not yet complete : Edit data.
    Standard Order 135428 has been saved.
    But when i check the same standard order in VA03 ( or vbak ), its not present.
    I have also run BAPI_TRANSACTION_COMMIT, to commit work. But still cant figure out.
    Any suggestions plzz...
    regards,
    Taj

    I am able to create the sales order when i am entering these details in VA01. I mean the sales document type and othr details.
    But when i pass the same parameters in bapi. This doesnt happen. Is there any thing more that needs to be passed.

  • Order schedule lines not created using BAPI_SALESORDER_CREATEFROMDAT2

    Hi experts,
      I am creating sales order using BAPI_SALESORDER_CREATEFROMDAT2. I want to update the Order quantity in VBAP-KWMENG.I got the information from SDN when including the Schedule line in BAPI 'BAPI_SALESORDER_CREATEFROMDAT2  '.
      I tried by using Update flag = 'I'.I am not able to update, what are the values to be passed and how to update the field.
    Is there any other way..Please suggest me..
    Thanks&Regards,
    Karthik.

    Hi, In the BAPI if you look at the tables parameter you will find ORDER_ITEMS_IN and ORDER_ITEMS_INX as well as ORDER_SCHEDULES_IN and ORDER_SCHEDULES_INX. To update KWMENG you will have to pass that value to ORDER_ITEMS_IN-TARGET_QTY and update the same in the table ORDER_ITEMS_INX (ORDER_ITEMS_INX-TARGET_QTY) with 'X'.
    For updating schedule line go for ORDER_SCHEDULES_IN-SCHED_LINE and update X for the same in ORDER_SCHEDULES_INX.
    Try looking into the following code, I am filling in both the Item data as well as the Schedule line data.
      loop at t_mdata into fs_mdata.
        fs_item-itm_number  = fs_mdata-posnr.
        fs_itemx-itm_number = c_flag.
        fs_item-material    = fs_mdata-matnr.
        fs_itemx-material   = c_flag.
        fs_item-target_qty  = fs_mdata-kwmeng.
        fs_itemx-target_qty = c_flag.
        fs_item-item_categ  = fs_mdata-pstyv.
        fs_itemx-item_categ = c_flag.
        fs_itemx-updateflag = c_flag.
          APPEND fs_item TO t_item.
          APPEND fs_itemx TO t_itemx.
        fs_sline-ITM_NUMBER  = fs_mdata-posnr.
        fs_slinex-ITM_NUMBER = c_flag.
        fs_sline-SCHED_LINE  = c_sline.
        fs_slinex-SCHED_LINE = c_flag.
        fs_sline-REQ_QTY     = fs_mdata-kwmeng.
        fs_slinex-REQ_QTY    = c_flag.
          APPEND fs_sline TO t_sline.
          APPEND fs_slinex TO t_slinex.
      endloop.                             " Loop t_mdata
    c_flag contains 'X'.
    fs_item is of structure ORDER_ITEMS_IN.
    fs_sline is of structure ORDER_SCHEDULES_IN.

  • Asset created via AS91 not visible in Asset history sheet

    HI,
    I have transferred an asset from legacy system . Created teh same via AS91. But the same is not visible in Asset History Sheet
    S_ALR_87012048 . Please let me know why.
    Regards
    SR

    Hi SR,
    S_ALR_87012048 is an Asset transaction report which is updated only when transaction like (acquisition, retirement, etc) is performed. Values of this report are fetched from ANEP table.
    For Asset history sheet, you can check S_ALR_87011964.
    Thanks,
    Mayank

  • Newly created KM Repositories not visible in KM Content Area

    Hi
    I created a new KM Repository (File system, Business Objects, etc) and the same is not visible in the KM content area.
    Our portal version : Poral 7 enhancement package 1 SP 05.
    Thanks in advance
    Lakshmi

    Hello,
    Did you have a look under System Administration - Monitoring - Knowledge Management - Component Monitor. Are the light all green ? If not, check from there.
    Best regards.
    The-Hung Nguyen

  • Create supplier button not visible

    Hi Gurus
    We are running r12 on solaris 5.10. We have one custom responsibility "KGL AP Superuser".
    Previously we had a option of “Create Supplier” option under KGL AP Superuser--> supplier --> Entry. Now that option is not visible. But It is there is TEST CLONE. How do I enable or visible this in PRODUCTION.
    Regards
    Musaddaq

    Hi Bob,
    Thanks for your response. Could you please let me know where can i find steps or video to create application in windows.
    Vjay

  • Oppty created by emp not visible to his reporting mgr

    Hi all
              One  of employee has created opportunities in crm  and  his reporting manager is not able to see the created oppty .
    (reporting heirachy is maintained ) what could be the reason  plse help  / guide

    Hi Amit,
    One of employee has created opportunities in CRM and his reporting manager is not able to see the created Opportunity, for this
    We can assume 3 kinds of reasons, like:
    1.     Need to check the status of already visible Opportunities (how it is like: open or in process or release)
    2.     Need to check the Priority part of already visible Opportunities (how it is like: high or medium or low)
    3.     If it has Questionnaire need to check Probability chance of success of visible Opportunities and compare your not visible OPPT,
    With these reasons we can find out where exactly the problem is running,
    From the above information if you get any sort of re solution for your task could you please give me sum Reward points by clicking in your left hand side,
    Cheers,
    Sunil.

  • GN_INVOICE_CREATE - Creates Invoice but not visible (for Report RVAFSS00 )

    Hi,
    I am running GN_INVOICE_CREATE using SE37.  I have supplied the data and stepped through the code.  At the end of the execution - I get a successful message stating that the "Document 9000007 is saved".  If I go into VF03 and try to bring up Billing document 9000007 - I get the error message "Billing document 9000007 does not exist."
    I am not sure if i am supplying all of the input parameters correctly to make sure that the transaction is committed.  I cannot find enough documentation about GN_INVOICE_CREATE parameters.  The only information I did find for the input is under the Billing (SD-BIL)->Billing->The General Billing Interface->Function Module Parameter at  http://help.sap.com/saphelp_46c/helpdata/en/dd/5615db545a11d1a7020000e829fd11/content.htm and http://help.sap.com/saphelp_46c/helpdata/en/dd/5615b4545a11d1a7020000e829fd11/content.htm .  But that does not describes all of the input parameters like (VBSK_I, WITH_POSTING, CALLER_TYPE, I_WITHOUT_REFRESH, ID_NO_ENQUEUE, ID_KVORG, ID_NO_DIALOG, ID_NEW_CANCELLATION)      
    Do I need to create a wrapper RFC and call a BAPI_COMMIT_WORK as in BAPI_SALESORDER_CREATEFROMDAT2?  Or am i passing the parameters incorrectly:
    Here is what I am passing in SE 37:
    DELIVERY_DATE =                   08/14/2006
    INVOICE_DATE =                     08/14/2006
    INVOICE_TYPE =                     FX        
    PRICING_DATE                              
    VBSK_I                                    
    WITH_POSTING =                     A         
    CALLER_TYPE                               
    I_WITHOUT_REFRESH =                X         
    ID_NO_ENQUEUE                             
    ID_KVORG =                         06        
    ID_NO_DIALOG =                     X         
    ID_NEW_CANCELLATION                       
    The XKOMFKGN and XKOMFKKO tables I believe are correct based on the Communication Structure help files.
    Any help in figuring this out is appreciated.  Also, if you can let me know what the following field inputs are -VBSK_I, WITH_POSTING, CALLER_TYPE, I_WITHOUT_REFRESH, ID_NO_ENQUEUE, ID_KVORG, ID_NO_DIALOG, ID_NEW_CANCELLATION. 
    The reason I am going through this RFC is that we are looking at using Report RVAFSS00 to import a file that then runs the GN_INVOICE_CREATE to create billing documents with external transactions as defined in the General Billing interface.
    Regards,
    Jay

    Did not find the documentation for the fm any where, i think best place to look for is OSS.
    Parameter: ID_NO_DIALOG is for suppressing some shipping related screen and ID_NO_ENQUEUE is for locking sales order or delivery doc.
    By using where used list of the function module, some times it's possible to find out the use of other parameters.
    Hope this helps.
    Regards
    Sridhar

  • "Create Limit" Item not visible in Shopping Cart for Employee

    Hi Experts,
    The employee user has the following roles in SRM 701 system.
    /SAPSRM/EMPLOYEE
    /SAPSRM/EMPLOYEE_EHP1. The user is not able to see the "Create Limit Item" option in Shopping cart & hence not able to create a limit item in the shopping cart.
    The Purchase user has the following roles in SRM 701 system.
    /SAPSRM/OP_PURCHASER_ADMIN
    /SAPSRM/OP_PURCHASER
    /SAPSRM/OP_PURCHASER_EHP1. This user is able to create Limit Item in the shopping cart using the "Add Item" Menu.
    My requirement is to allow the users of type "Employee" to allow creating the limit items in the shopping cart. Could you please give some guidance on what needs to be done?
    Thank you.
    Thanks & Regards
    Kasee

    Hello Kasee,
    As per the details given by you, you are using a mix of SRM70 and SRM 701 roles for the same user and hence system behavior will not be correct and it will lead to issues.
    I suggest you to try the scenario with user having roles of one release i.e. either assign SRM 70 or SRM 701 roles.
    Also if you are using portal , there also you have to map the user roles accordingly.
    Moreover with SRM 701 we have the Easy Shopping cart delivered to customers where the user can only add items from Catalogs or Free text ones. You will not get different options like provided in the professional or normal shopping cart used in the SRM 70 releases.
    With the /SAPSRM/EMPLOYEE  role ( SRM 70 ) in the abap system and portal, you will get an option to add limit items in the SC's.
    Same applies to the OP purchaser roles. Its not recommended to use /SAPSRM/OP_PURCHASER  & /SAPSRMOP_PURCHASER_EHP1  roles together for one user.
    You can also refer to the note 1476447 SAP SRM 7.0 EHP1 : Important info on New Functionality for more references.
    Hope this will answer your query here.
    Thanks & Best Regards,
    Rahul
    Edited by: Rahul Rastogi on Jan 11, 2012 9:53 AM

  • Deliverable Created in contract not visible in project management

    Hi All,
    We are using the deliverable tracking system of oracle project contract for creation of requisition of project related items.But those deliverable can not be seen in Project management screen. Is there any way to see these deliverables in project management?
    Thanks In Advance
    Saptarshi

    Hi
    By Oracle design there is no link between OKE Deliverables and the Project Management Deliverables.
    Those are managed on separate tables.
    You may consider customizing the system using API to create a PJT deliverable from an OKE deliverable, maintaining a DFF attribute to see the link between the two entities. My idea is to have something similar to Oracle's solution that creates an event in Projects Billing from a billing event that user creates in OKE.
    Dina

  • SC created from PR not visible in portal although visible in backend SRM

    Please can some one check and guide me why I am unable to see the SC created from PR in SRM portal .
    I can see the SC exists in BBP_PD however when I check in portal It does not give me any result ..
    We are using the system for the first time to enable PDP scenario ..  and we are currently on SAPK-70205INSRMSRV
    Please confirm if there are settings needed at portal end to reflect the SC created from backend ?
    I get the error as below as soon as I login ..
    When I now enter the SC number in the Number of requisition field it does not yield any result:
    Although the SC exists in the backend  in approved status ...

    Issue resolved : I basically checked there were some missing roles issue as the user is only able to see his own PR and not all PR .
    Not sure which role is missing so I have sent to the Basis team to check further ,
    Closing this post .
    Thanks for the help .

  • JCORBA Clients created using JDeveloper not running

    Hi!
    This is about a problem that I'm facing creating and running
    JCORBA clients on JDeveloper 1.1. I followed the example provided
    in the documentation for JCORBA applications provided in the site
    www.olab.com.
    1. The server object compiles just fine. I have deployed it
    successfully in the Oracle Application Server 4.0.
    2. The client application was created and it compiled
    successfully. However,when I tried to run it, it gave an error
    while creating the objectFactory. I'm copying the error message
    below.
    java.lang.UnsatisfiedLinkError: no wrbjidl40 in shared library
    path
    at java.lang.Runtime.loadLibrary(Compiled Code)
    at java.lang.System.loadLibrary(Compiled Code)
    at
    at org.omg.CORBA.ORB.init(Compiled Code)
    at oracle.oas.jco.ObjectFactory.initializeORB(Compiled
    Code)
    at oracle.oas.jco.ObjectFactory.<init>(Compiled Code)
    at oracle.oas.jco.ObjectFactory.<init>(Compiled Code)
    at StackClient.main(Compiled Code)
    Ideas anyone, about why this is happening, or what i can do to
    workaround it?
    Thanks,
    Pradipto
    null

    Pradipto
    It looks to me that either the path or the classpath for the OMX
    is not set correctly, this can either be done on the server or
    the client. My guess is that this problem is on the client,
    please use the included demo file and exchange demo for your
    application,
    Federico
    @echo off
    REM ***
    REM *** Script to run the Stack demo.
    REM ***
    SETLOCAL
    REM Check for ORAWEB_HOME
    if NOT "%ORAWEB_HOME%" == "" goto oraweb_home_ok
    echo.
    echo Please make sure that ORAWEB_HOME is defined.
    echo.
    goto end
    :oraweb_home_ok
    if NOT "%1" == "" goto argument_ok
    echo.
    echo Pass as argument the URL for the WebServer with the
    installed application
    echo e.g., rundemo.bat http://machine:port/
    echo.
    goto end
    :argument_ok
    set JAVA=%ORAWEB_HOME%\jdk\bin\java
    set STUBS_JAR=%ORAWEB_HOME%
    \..\jco\apps\client\myStack\_client.jar
    set DRIVER_DIR=%ORAWEB_HOME%\..\jco\api
    REM Uncomment the two lines below if you're using OMX.
    rem set OMX_JARS=%ORAWEB_HOME%\classes\wrbjidl.jar;%ORAWEB_HOME%
    \classes\services.jar
    rem set ORB_JARS=%OMX_JARS%
    REM Uncomment the two lines below if you're using Visigenics.
    set VBJ_JARS=%ORAWEB_HOME%\jco\lib\vbjorb.jar;%ORAWEB_HOME%
    \jco\lib\vbjapp.jar
    set ORB_JARS=%VBJ_JARS%
    set CLASSPATH=ClientStack.jar;%STUBS_JAR%;%DRIVER_DIR%
    \jcoapi.jar;%ORB_JARS%;%CLASSPATH%
    REM Run the client.
    %JAVA% Demo %1
    :end
    ENDLOCAL
    Pradipto Biswas (guest) wrote:
    : Hi!
    : This is about a problem that I'm facing creating and running
    : JCORBA clients on JDeveloper 1.1. I followed the example
    provided
    : in the documentation for JCORBA applications provided in the
    site
    : www.olab.com.
    : 1. The server object compiles just fine. I have deployed it
    : successfully in the Oracle Application Server 4.0.
    : 2. The client application was created and it compiled
    : successfully. However,when I tried to run it, it gave an error
    : while creating the objectFactory. I'm copying the error
    message
    : below.
    : java.lang.UnsatisfiedLinkError: no wrbjidl40 in shared library
    : path
    : at java.lang.Runtime.loadLibrary(Compiled Code)
    : at java.lang.System.loadLibrary(Compiled Code)
    : at
    : at org.omg.CORBA.ORB.init(Compiled Code)
    : at oracle.oas.jco.ObjectFactory.initializeORB(Compiled
    : Code)
    : at oracle.oas.jco.ObjectFactory.<init>(Compiled Code)
    : at oracle.oas.jco.ObjectFactory.<init>(Compiled Code)
    : at StackClient.main(Compiled Code)
    : Ideas anyone, about why this is happening, or what i can do to
    : workaround it?
    : Thanks,
    : Pradipto
    null

  • How to create an uicommand(not visible)

    Hi,
    I need to create a new option in the context menu of the documents. I create a Enterprise Portal component, then a uicommand an a command group. I think I left something in the creation of the enterprise component, because if I put the component class in the java class parameter on the uicommand, I don't see anything in the context menu of the document. But if I put in the same uicommand, another java class(for example the versions ui comand) it then appears in the context menu. So I think the creation of the command is correct, but provably the component is not well coded.
    I don't know if the component must extend some determined class, I have tried extending AbstractPortalComponent and AbtractUICommand, but it seems not to work.
    Thanks in advance.
    Regards,
    Gregori Coll Ingles.

    Hi Gregori,
    Make sure you read this:
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/implementing flexible ui one-step-screenflow.article
    Regards,
    Darin Krasle

  • Create Tab is not visible in R12 Customer Form

    Hi,
    I am not able to find "Create" tab in R12 Customer form. If i see from Receivables module , not able to see the Create tab , but if i see from Order Management module , I am able to see "Create" tab in Customer form.
    What could be the reason.
    Thanks
    Narayana

    Hi
    It could be a issue with the responsibility you are assigned i.e. the rights of create customer might have not been given or have been taken out from your recievables responsibility.
    Please give a check at the menus and the functions assigned to your recievables responsibility and also simultaneously make a check to the OM responsibility to find the difference,
    Hope this helps
    Thanks
    Manish Jain.

  • ITunes song purchases made using iPhone not visible in iTunes on desktop

    My wife purchased some music on her iPhone 4S, and wants to transfer it to her Nano for running.  When I launch iTunes on my desktop and sign in as her, the only music showing is one of my songs that I downloaded for free.  Her music shows up on her 4S, and even on the 5S we just activated today, shich is also associated with her apple ID.  Any idea what I'm doing wrong?

    Have you downloaded the music onto that computer from the store or copied it from her phone ? If you use the same iTunes account then you should be able to redownload it via the Purchased link under Quicklinks on the right-hand side of the iTunes store home page :
    If you don't share the same account then you could login to her account and redownload it, but that might tie the computer to her account for 90 days : http://support.apple.com/kb/HT4627
    You can also connect her phone to the computer and do File > Devices > Transfer Purchases to copy those songs over. But if that isn't the computer that she syncs the phone then you should turn off auto-sync first : Edit > Preferences, Devices tab, 'Prevent iPods, iPhones and iPads from syncing automatically' tickbox.
    If that will be the computer that she will be syncing to then this page for syncing to a new computer may also be useful : https://discussions.apple.com/docs/DOC-3141

Maybe you are looking for

  • Help only had verzion for a few days and very frustrated. About to return

    So we have been with sprint for over 9 years.  And have been happy with their service... However our friend has verzion and was using it @ our house and we noticed how much faster it was so we decided to switch....... Black Friday we wanted a deal of

  • Adobe acrobat x pro suddenly will not open in windows 8

    Adobe Acrobat X Pro has been working fine. It suddenly stopped opening at all. It will not open any pdf documents, and the program itself will not open

  • Another Xfi unknown sou

    I have a OEM Xtreme Music card and have it running perfectly now within windows and 99% of my games & other software. The one thing i am noticing is a kind of low bleep when playing CSS and when other people are keying up through the ingame voice cha

  • Strange units in conky (KiB, MiB, GiB)

    Conky is working fine here (using KDE), but the units are strange: KiB, MiB, GiB. I want kB, MB and GB instead and also a fixed number of digits. How can i format that? I only found a variable for padding percentage-values. Here's my conkyrc: backgro

  • Can a non apple network be extended with airport extream?

    I have a Verison Fios router and am contimplating buying an airport extream or express. I was wondering if I can extend my network with either one of these routers and if so, how to go about doing this. Thanks.