Problem in creating configuration bapi  BAPI_QUOTATION_CREATEFROMDATA2

Hi  Gurus,
I am creating quotation for config material using bapi BAPI_QUOTATION_CREATEFROMDATA2.
Quotation is getting created without configuration.
I am passing data to following bapi  tables  for configuration.
QUOTATION_CFGS_REF STRUCTURE  BAPICUCFG OPTIONAL
QUOTATION_CFGS_INST STRUCTURE  BAPICUINS OPTIONAL
QUOTATION_CFGS_PART_OF STRUCTURE  BAPICUPRT OPTIONAL
QUOTATION_CFGS_VALUE STRUCTURE  BAPICUVAL OPTIONAL
Please help.
Thanks in advance

Hi,
I am not able to create Quotation with incomplete configuration using BAPI_QUOTATION_CREATEFROMDATA2. I am able to save quotation with incomplete configuration in system but not with above mentioned BAPI. Can you help me out?
Thanks

Similar Messages

  • Problem when creating configuration Scenario

    hi all
    when i Create configuration Scenario use sap XI then it warning that "Error initializing key service (COULD_NOT_GET_KEYSERVICE)" and "The log file for database 'N4S' is full. Back up the transaction  log for the database to free up some log space."
    is it means so many people to use the system?
    and how can i clear this problem?
    thanks!
    marx

    Hi
    User query below to backup and shrink the trasactional logs
    db_name in your case is "N4S"
    db_name_log is the trasctional log file name:Chek this in your case must be like N4S_log
    backup log db_name with truncate_only
    go
    dbcc shrinkfile (db_name_log,0)
    go
    run this query and restart the database
    Ps: If helful pleae reward points

  • Problem in creating a bapi for bom

    hai all,
    i am trying to create a bapi for bom using csap_mat_bom_create, but it am getting sy-subrc value as 1.
    and displaying error message as the function module name itself.
    is there any solution dor it.

    Hello,
    Try to use that bapi :
    BAPI_MATERIAL_BOM_GROUP_CREATE
    Thierry

  • Problem in creating a SyncBo for Purchase Order BAPIs

    Hello Everybody,
    I am trying to create a smart sync application for Purchase Orders.
    I have used standard bapis like BAPI_PO_GETDETAIL AND BAPI_PO_CREATE1.
    I have developed my own wrapper functions using these std bapis. For the PO creation i only plan to insert the necessary and mandatory data. The problem i face is that some of the tables in the create bapi which are mandatory for a PO creation are freezed in the SyncBo.
    Tables like POITEMX, POADDRDELIVERY, POSCHEDULE and structure POHEADERX are all required for the creation of a PO. Without this minimum data a PO cannot be created.
    After i have created the syncBo, on the mapping screen i can only see these tables under the create BAPI. But i am not able to perform the mapping of their fields. These are non-editable or i must say that they are freezed.
    And if i cannot map them then i cannot pass data for them from the client. Although i can do the mapping for the table PO_ITEM and the structure PO_HEADER.
    I hope i am able to expplain my problem. Kindly get back to me if i am not clear. Any sort of help is welcome.
    Thanking in advance,
    Saurabh.

    Hi Saurabh,
    Hope you are aware of the prerequisites for creating the BAPI Wrappers.
    If you want to insert some data into the Business Object, then you have to include
    GETLIST, GETDETAIL and CREATE Bapi Wrappers.
    I think in your case,
    You might not have mapped those fields in your GETLIST Bapi Wrapper.Just check whether you have mapped those fields that are necessary for PO creation in your GETLIST and GETDETAIL BApi wrapper mapping screen.
    Those fields you have mapped in the GETLIST and GETDETAIL BAPI wrappers will be visible (for selection - checkboxes will be editable) in the mapping screen for CREATE BAPI Wrapper.
    So first of all, you have to map fields there in the mapping screens for GETLIST and GETDETAIL Bapi Wrappers...
    check this thing...
    refer these links..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/library/mobile/mobile%20infrastructure/mobile%20development%20kit%202.5/content/appdev/smartsync/introduction.html
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/library/mobile/mobile%20infrastructure/mobile%20development%20kit%202.5/content/appdev/smartsync/bapi_wrapper_types.html
    In the second link, you can see one figure, which is explaining the things that are to be satisfied by the BAPI Wrappers for SyncBO creation...
    Let me know If you have doubts in the prerequisite section itself...
    Regards,
    Kishor Gopinathan

  • Problem when creating a sales order with reference by BAPI

    I am facing one problem when creating Sales Order.
    <b>The scenario is like this while creating SO With reference to an Order type, a new SO will be automatically created with a diff order Type</b>.
    I am using "BAPI_SALESORDER_CREATEFROMDAT2".
    I am calling this BAPI in USEREXIT_REFRESH_DOCUMENT.
    Am I using the right exit to call this Bapi ?
    <b>Problems are like :
    1. Ref Sales Order creating without Sales Unit .
    2. "Object Status does not exist" error msg is coming for Header and Item level(when clicking the status tab and then object status pushbutton).</b> But if testing the bapi from SE37 in test sequence....no such problem persists.
    As for example in case of sales unit,in the debugging mode i have seen that BAPI uses a perform to fill the values in the VBAP structure.But after that when it come back to the main program VBAP remains blank.This ocuurs when the BAPI is called from the exit whereas  if tested from SE37, VBAP retains the value.
    Can u suggest in this ? This is very very urgent............
    Thx in Adv.........................

    Thanks........
    Your suggestion was a great help to me.I have used a custom FM and called it in <b>starting new task</b>.
    Since i am a university fresher working in SAP for nearly 1 year.....can you please explain me the difference between <b>in update task</b> and <b>starting new task</b>.Why the problem was occuring for which you have suggested to call a custom function module.
    what is V1 update and V2 update?Is it attached with asynchronous ans synchronous update.It would be a great help to me if you kindly clear my confusions....
    thanks in advance.

  • Problem on the configuration about creating an SPN for your CMS on a Window

    I have some problem on the configuration about creating an SPN for your CMS on a Windows 2003 domain
    My Environment:
    Domain Controller and AD Server :SV01
    Crystal Report Server: SV07
    Domain Name: SVG.NTT.LOCAL
    I created a domain user "BOUSER" in SV01
    When type the following command in the SV01, it have not any response.
    "SETSPN.exe u2013A BOBJCentralMS/SV07.SVG.NTT.LOCAL BOUSER"
    And i cannot find the "Delagation" tab in the domain user property window.
    Have any wrong in the command ?

    Hi Tim,
    Thank you for your reply.
    We used Tomcat and MySQL database.
    I have only integrating with AD and requiring manual logon.
    I had created a bscLogin.conf file and krb5.ini file
    krb5.ini file:
    [libdefaults]
        default_realm = DNS.COM
        dns_lookup_kdc = true
        dns_lookup_realm = true
    [realms]
    DNS.COM = {
        kdc = SV01.SVG.NTT.LOCAL
        default_domain = SVG.NTT.LOCAL
    bscLogin.conf file
    com.businessobjects.security.jgss.initiate {
      com.sun.security.auth.module.Krb5LoginModule required;
    And insert the following two lines in Tomcat's Java Tab
    -Djava.security.auth.login.config=C:\WINDOWS\bscLogin.conf
    -Djava.security.krb5.conf=C:\WINDOWS\krb5.ini
    I also set Serivice Principal Name "bouser FQDN" in Crystal Report Server.
    We can login in Central Management Console with our domain user.
    But When we logon in InfoView with our domain user account.
    It display the following error:
    "Account Information Not Recognized: Active Directory Authentication failed to log you on. Please contact your system administrator to make sure you are a member of a valid mapped group and try again."
    Any step i missed ?

  • Problem in creating IR through BAPI_INCOMINGINVOICE_create BAPI

    Hi,
    Some problem in creating IR through the BAPI BAPI_INCOMINGINVOICE_create. I am able to see the IR number after executing the BAPI but unable to see the IR number in the table. The IR number is not getting updated in the database table even though we are doing the commit work after executing the BAPI. Could anyone help me out with this error.
    Regards,
    Ram

    First of all I am assuming that you did not get any error in the BAPI return structure (even though you see document number populated).
    Secondly,  I guess you tested the BAPI with SE37 and did not get any error (functionally there are a number of BAPIs available to post an invoice and it is important to figure out the correct BAPI - e.g. PO, non-PO invoice, invoice as a GL entry only, etc.).
    If that is not true (there is some error in posting), since during the BAPI call the next document number is obtained as a first step, you will see the document number but subsequently if for some reason it is not posted, you will see the result as you mentioned (no data in the database).
    If you are using correct BAPI and have no errors, then  in ABAP program make sure to call 'BAPI_TRANSACTION_COMMIT' after the BAPI call to post invoice.
    For non-SAP external system, you need not have to call the commit BAPI but just closing the connection to SAP will help.

  • Problems in creating and storing new documents using BAPI_DOCUMENT_CREATE2

    Hi experts,
    I'm getting problems in creating and storing new documents using BAPI_DOCUMENT_CREATE2.
    I have a scenario where is defined the document type ZC1, document part 200, authorization group 0002 and for all of these  documents the storage category "Cofre DMS1". And the status which demands the storage category is 'FR'.
    I've been fullfiling the BAPI_DOCUMENT_CREATE2 in this way:
    "Tables
    data: it_doc like bapi_doc_draw2,
          it_return like bapiret2,
          it_files like bapi_doc_files2 occurs 0 with header line,
          it_objs like bapi_doc_drad occurs 0 with header line.
    "Variables
    data: wl_doctype like bapi_doc_draw2-documenttype,
          wl_docnumber like bapi_doc_draw2-documentnumber,
          wl_docpart like bapi_doc_draw2-documentpart,
          wl_docversion like bapi_doc_draw2-documentversion.
    it_doc-documenttype = 'ZC1'.
    it_doc-documentpart = '200'.
    it_doc-documentversion = '00'.
    it_doc-description = 'Test of documents creation via BAPI'.
    it_doc-username = sy-uname.
    it_doc-statusextern = 'FR'.
    it_doc-authoritygroup = '0002'.
    refresh it_files[].
    clear it_files.
    it_files-originaltype = '1'.
    it_files-storagecategory = 'Cofre DMS1'.
    it_files-wsapplication = 'PDF'.
    it_files-docfile = 'c:\110307.pdf'.
    it_files-description = 'Test file'.
    append it_files.
    refresh it_objs[].
    clear it_objs.
    it_objs-objecttype = 'EKPO'.
    it_objs-objectkey = '47000497600010'.
    append it_objs.
    CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
      EXPORTING
        documentdata = it_doc
      IMPORTING
        documenttype = wl_doctype
        documentnumber = wl_docnumber
        documentpart = wl_docpart
        documentversion = wl_docversion
        return = it_return
      TABLES
        objectlinks = it_objs
        documentfiles = it_files.
    After execute the BAPI process I got the following error:
    E26 087 - Data carrier COFRE DMS1 not defined
    Does anybody have a sugestion to help me, please?
    Thks
    David
    Edited by: David Tsutsui on Mar 18, 2010 10:52 AM

    Please refer to this thread, it tells why you need a data carrier you can also configure the same in DC20.
    Data Carriers for Storage the Originals of DMS

  • Bapi BAPI_QUOTATION_CREATEFROMDATA2

    Hello
    I have the follow problem:
    I want to create sales quotation with bapi BAPI_QUOTATION_CREATEFROMDATA2.
    It works fine.
    Now, I have to fill the partner address with the fields STR_SUPPL1, STR_SUPPL2, etc.
    I use the structures BAPIPARNR and for the fields STR_SUPPL1, STR_SUPPL2 the structure BAPIADDR1.
    But it doesnu2019t work
    I tried with the field ADDR_LINK in the structure BAPIPARNR, but Iu2019m not successfull.
    Can someone explain me, what I have to do
    Thanks for any help
    Daniel

    Hi Daniel,
    I am not sure on which release of SAP you are running, Have you looked at the OSS Note: 195768, if not this should be a good starting point.
    Regards,
    Chen

  • Problem while creating PO using BAPI_PO_CREATE1

    HAI TO ALL
    I AM TRYING TO CREATE PO USING BAPI
    ORDER IS SUCCESFULLY GENERATED, BUT THE CONDITIONS WHATEVER I PASS IS ARE REPEATING ,
    EVEN WE CONFIGURED DEFAULT VALUES MAINTAINED IN TRANSCTION 'OMFI" AND MAINTAINED Default Values for Purchasing FOR PARAMETER IN PARAMETER TAB IN USER PROFILE,
    HELP ME...
    REGARDS,
    SN

    Hi Sid.
    I'm having this same problems on creating PO Service. Did you solve it? How did you do that?
    I'm using a PR and the Category is 'Y', and I cant find where is the problem.
    The tables that I'm passing to the BAPI_PO_CREATE1 are:
    POITEM/ POITEMX
    POACCOUNT/ POACCOUNTX
    POSERVICES
    POSRVACCESSVALUES
    Please, if you have any idea, let me know!
    Tks a lot!
    Renata

  • Problem in Creation of BAPI

    Hello friends,
    I'am facing problem in creating BAPI.
    I've created and released BAPI function module successfully.
    I've also created Business Object type, included the function module in business object type, and released Method of this business object type. I've generated and implemented Business Object type too.
    However I am not able to view my business object in BAPI explorer.
    Please help.
    Regards,
    Navin

    Hi
    In BAPI explorer, Customer BAPI, cannot be viewed directly.
    To display all BAPIs, change the settings by choosing Goto -> Set release filter.
    <b>Use transaction BAPI</b>, and then <b>Click F5 Key</b> and Select <b>All</b> Radio button.
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • Please read my problem when I configure Weblogic https

    I want to use https protocol and SSL for my web application in Weblogic
    I have a problem but I am not sure it's related to configuring Weblogic or not please if you can advice me
    I use "openssl" to be my own Certificate Authority (CA)
    I used this instructions for using openssl [http://www.g-loaded.eu/2005/11/10/be-your-own-ca/]
    after configuring openssl I used these steps for creating my keystore
    1. First I use this keytool for creating my private key and public key
    keytool -genkeypair -keyalg rsa -keystore ali_keytool.jks -storepass ali120 -alias ali_alias
    What is your first and last name?
         [Unknown]: AliKhosravi
    What is the name of your organizational unit?
    [Unknown]: Boors
    What is the name of your organization?
    [Unknown]: software
    What is the name of your City or Locality?
    [Unknown]: Tehranali_keytool.jks
    What is the name of your State or Province?
    [Unknown]: Tehran_Province
    What is the two-letter country code for this unit?
    [Unknown]: IR
    Is CN=AliKhosravi, OU=Boors, O=software, L=Tehran, ST=Tehran_Province, C=IR correct?
    [no]: y
    2. I create my CSR by this command
    keytool -certreq -alias ali_alias -keystore ali_keytool.jks -storepass ali120 -file ali_keytool.csr
    3. I sign the ali_keytool.csr by openssl . I do it like this :
    openssl x509 -req -in ali_keytool.csr -CA certs/myca.crt -CAkey private/myca.key -out ali_keytool.crt -days 365 -CAcreateserial -CAserial my_ca.seq
    4.Now my I have a signed certificate (ali_keytool.crt) and my CA certificate (myca.crt)
    and I import CA certificate to my keystore
    keytool -import -alias Openssl_ca -file myca.crt -keystore ali_keytool.jks -storepass ali120
    5. I import the signed certificate into my keystore by alias of private key
    keytool -import -alias ali_alias -file ali_keytool.crt -keystore ali_keytool.jks -storepass ali120
    6. I import the CA certificate again into a new keystore for creating Trust
    keytool -import -alias my_ca -file myca.crt -keystore ali_keytool_trust.jks -storepass ali120
    All steps done without any errors
    I used this address for help [http://www.startux.de/java/44-dealing-with-java-keystores]
    Now I want to configure kestores ans ssl in Weblogic
    7. I go to the Environment-->Servers-->AdminServer-->Keystore tab in wblogic
    8. I set "Keystores=Custom Identity and Custom Trust", "Custom Identity Keystore = H:\trust\ali_keytool.jks" , "Custom Identity Keystore Type=jks" ,
    "Custom Identity Keystore Passphrase:ali120"
    "Confirm Custom Identity Keystore Passphrase=ali120"
    "Custom Trust Keystore=H:\trust\ali_keytool_trust.jks" , "Custom Trust Keystore Type=jks" ,
    "Custom Trust Keystore Passphrase=ali120" , "Confirm Custom Trust Keystore Passphrase=ali120"
    9. Then I go to SSL tab and I set "Identity and Trust Locations=Keystores" , "Private Key Alias=ali_alias" ,"Private Key Passphrase=ali120",
    "Confirm Private Key Passphrase=ali120"
    10. I go to the General tab and select "SSL Listen Port Enabled"
    11. I user Firefox as WebBrowser so I configure my Browser I select Tools-->Options-->ViewCertificates --> Authorities tab
    and I import the server certificate here is "myca.crt the openssl certificate"
    in Downloading Certificate window I select
    "Trust this CA to identify web sites"
    "Trust this CA to identify email users"
    "Trust this CA to identify software developers"
    12. I restart Weblogic
    13. I try to loging in weblogic like this "https://127.0.0.1:7002/console"
    The webBroser show me this warning:
    This Connection is Untrusted
    You have asked Firefox to connect
    securely to 127.0.0.1:7002, but we can't confirm that your connection is secure.
    Normally, when you try to connect securely,
    sites will present trusted identification to prove that you are
    going to the right place. However, this site's identity can't be verified.
    What Should I Do?
    If you usually connect to
    this site without problems, this error could mean that someone is
    trying to impersonate the site, and you shouldn't continue.
    Technical Details
    I Understand the Risks
    I don't know why the WebBrowser show me this warning while I imported the Server Certificate
    I don't know that my problem is in configuring WebLogic or FireFox WebBrowser or Keystore
    If you know please advice me
    Thanks

    Moderator Action:
    You already aked this question a couple of weeks earlier:
    My problem when I enable SSL in Weblogic and I don't have a trusted CA cert
    This is a user-to-user forum.
    There is no obligation that anyone respond. They will answer if they choose to.
    If there is a business need for a resolution, use your service contract privileges and open a support ticket with Oracle Support.
    http://www.oracle.com/us/support/contact-068555.html
    This duplicate forum post is locked.

  • Problem in creating a JDBC System on VC7.1 portal ( CE7.1 SP3)

    I have a problem in creating a JDBC System on VC7.1 portal (CE7.1 SP3)
    I get the following error:
    Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the back-end application using the connector defined in this system object
    Results
    Default alias retrieved successfully
    Connection failed. Make sure user mapping is set correctly and all connection properties are correct.
    Could you please let me know if there are any guides on SAP Library; I was not able to find any documentation nor any threads discussing this on VC7.1
    Although, I saw this thread Can Visual Composer talk to/connect to any Database?..
    which says that VC7.1 can connect to SAP backend
    and web services only, and there is no direct connection to the db.
    Help needed please.

    Hi Dharmi
    Here is a quote of Dafna's post in [another thread in this forum|Re: Copy VC controls]
    CE7.1.1 will be released at September 2008 for ramp-up customers.
    There are many improvements and new capabilities in the new release of Visual Composer for CE7.1.1. Among the new features you can find:
    The missing features from Visual Composer 7.0 (Html view, portal Eventing support (EPCM), JDBC, Undo/Redo, and more..)
    Many layout & modeling improvements
    Additional ALV table functionality - export to Excel, switch to chart, configure ALV behavior at design time
    Integration of Visual Composer in Eclipse - additional entry point to the Visual Composer models from the NWDS. This integration provides the option to add a WD component (in case of missing functionality in Visual Composer), as a black box component to the Visual Composer model. Right-clicking the component will open the Web Dynpro perspective for creating/modifying the component.
    Regards,
       Shai

  • Exchange rate not reflecting in PO created thru bapi for foreign currency!

    hi friends,
    am creating PO thru BAPI_PO_CREATE1...in the input file, i have given currency as USD and Exchange rate as 0.5, but in the created PO, i am able to see only 1 as the exchange rate...i even tried changing it using BAPI_PO_CHANGE, but no luck..but in case of local currency, which is EUR, am able to translate from the file whatever the value as exchange rate of the PO...this problem only comes if it's a foreign currency..am i missing something? pl advice
    Regards,
    Muthu

    Hai,
    Try like this:
    If you are populating Header conditions you must divide it by 10 as following:
    wa_hdrcond-cond_value = wa_hdrcond-cond_value / 10.
    If you are populating Item level conditions you must follow as:
    IF wa_itmcond-currency IS INITIAL OR
         wa_itmcond-currency EQ '%'.
        wa_itmcond-cond_value = wa_itmcond-cond_value / 10.
      ENDIF. 
    This will solve your problem. In the BAPI, it multiplies exchange rate by 10 for the header conditions.
    Where as Item condition value(exchange rate) is multiplied by 10 when it satifies the above conditions.
    So we must follow the same criteria as we did above.

  • In BAPI ' BAPI_QUOTATION_CREATEFROMDATA2'

    Hi all,
    In BAPI ' BAPI_QUOTATION_CREATEFROMDATA2', I given all manditory parameters ( QUOTATION_HEADER_IN -import parameter and QUOTATION_PARTNERS - tables ).
    But If I execute, its returning below messages.
    VP        112    Please enter sold-to party or ship-to party
    V4         219    Sales document  was not changed.
    Can u please tell me where to specify the sold-to and ship-to in this BAPI.
    Thanks,
    HP.

    Hi,
    We have also encountered the same problem while loading contract orders which is similar to quotation.
    We have done a recording for the Tcode VA42 with some document numberand written the same BDC program for the  (change the quotation) immediately after the BAPI function call.
    So the target quantity got loaded properly through BDC.
    Please revert if you need any help.
    Regards,
    Soumya.

Maybe you are looking for

  • Flash video on linux

    I am not sure if this is the right place to post, but here goes. I need to include flash video on a cd. People using the cd will probably not have internet access and the cd needs to run on linux. Is there a way that I can include flash movies to run

  • CCX 10.5 Script Editor Not Working Win7 Enterrpise 64 Bit

    Anybody else running into this?  Other colleagues stated that they have CCX 10.X editors working with Windows 7 32 bit. My issue is that the initial splash screen comes up for a quick sec and goes away.  I've tried Win XP compatibility and Run As Adm

  • Do not understand the icons in Iphone Camera 5s .....any instruction manual or anything

    I really do not understand most of the icons in the camera mode. Stuff such as HDR, B.  how to take just a single picture without the burst mode activating C,  Having taken a burst mode of say three pictures how to view them all when viewing photo ga

  • Error when compiling bean in Jdeveloper

    Hi , I downloaded a bean who read data from excel file and put it in database, to implements in forms. when the bean try to read number from xls, it's stops with message indicating mismatch in type. i read source of the bean, i find that method used

  • How do i put icloud in my dock

    how do i put icloud or a mail icon in my dock. I have an G4 imac.