Prblm in Extnsn of VBAK : Quotation creation BAPI_QUOTATION_CREATEFROMDATA2

Hi ALL,
Problem in Extension of VBAK during Quotation creation Using BAPI BAPI_QUOTATION_CREATEFROMDATA2.
I have some Custom field of VBAK in Addional data tab B of transaction VA22.
I am populating these fields using BAPI_QUOTATION_CREATEFROMDATA2.
Passing table parameter EXTENSIONIN as shown below.
some of the fields are getting updated with these BAPI but some are not.
Say for example I added two custom field ZRORD and ZEON in table VBAK and Addional data tab B screen as well.
To get these field updated by BAPI I appended these two fields  in structure VBAKKOZ ,VBAKKOZX and BAPE_VBAK.
Field ZRORD is getting updated but facing problem with ZEON.Please help.
For ur info,If I run transaction VA22 and enter some value in ZEON and click on SAVE then its getting updated.
w_bapiparex-structure   = 'BAPE_VBAK'.
w_bape_vbak-zrord = 'xxX'.
w_bape_vbak-zeon = 'x'.
w_bapiparex-valuepart1  = w_bape_vbak.
APPEND w_bapiparex TO t_bapiparex.
Roshan

Hi singh,
Try with this code.
data: w_bapi_vbak_in type bape_vbakx.
   w_bapi_vbak_in-zrord  = 'X'.
   w_bapi_vbak_in-zeon = 'X'.
w_bapiparex-structure = 'BAPE_VBAKX'.
w_bapiparex-valuepart1 = w_bapi_vbak_in.
append  w_bapiparex to t_bapiparex.
Regards,
Raji.

Similar Messages

  • Quotation creation through DP81 Error related to Material maintain Inquiry

    Dear All,
    This is related to Quotation creation through DP81.I have maintain A DIP profile and as per my Easy Cost Planning (ECP) in Project System it is capturing in sales price in DP81.Please note that I have maintain three (3) line item in the sales Inquiry.Based on that 3 line item we have maintain three different WBS element in ECP and it is attached to corresponding material no in VA12.
    Now in DP81 system showing the three line item but if we go for Quotation creation one material no is coming for the three line item with different price value.
    I have also maintain these three material in DIP profile in ODP1.Please note that the first material no maintained in DIP profile that is coming not the other material no.
    Please through some light as in our case there are several line item is maintained in quotation.So is it possible to make Quotation with different item and where I have to maintain these material no.
    Thanks
    Suman Sardar

    i checked the characteristic for cost element & Material for CR, MD & Str, i created sets for cost element & the material & i determined the material which i required in the quotation. I am getting an error "no expenditure item found" , can you suggest me now.

  • Quotation Creation and Billing for Service Orders--node details needed

    Hi ,
    I need to work on node "Quotation Creation and Billing for Service Orders" ....I see lot of integration with SD and FICO . Can any one give details about integrations required and what is done in this node ....
    Regards
    NPB

    There are different steps to be done for that.
    1. Create DIP Profile in ODP1 & check the consistency in ODP2 - DIP will be used to bill the customer based on resource (labor & material) usage. Creation of DIP profile has been discussed many times in this forum. Please check.
    2. Assign the Quotation document type & Billing type used in DIP profile to your sales area - Your document type should be assigned to your sales organisation, distribution channel & division combination.

  • Screen Exit for Quotation Creation

    Hi All,
    We are on ECC 6 and have the following requirement. on the quotation creation (VA21/VA22), i have to grey out field Payment term (hearder-->billing doc tab). Program name is SAPMV45A and screen number is 4303.
    Once the payment term is entered, it has to be greyed out. Can someone please help me on how to achieve this.
    Regards,
    Jayant

    Hello,
    Please refer this
    after keeping the breakpoint u the the transaction.
    Get all the Exits and BADI in following ways:
    1: SE24
    2: CL_EXITHANDLER
    3: Method- GET_INSTANCE.
    4: Put a break-point at CALL METHOD cl_exithandler=>get_class_name_by_interface.
    5: now run your Tcode and you will get all the BADI listing and Exits

  • By pass quotation creation

    Dear Experts,
    Is there anyway i can bypass the quotation creation and straight away create sales order?
    Currently i am using DP80 to create quotation and it is link with service order. Let's say if i want to by pass the creation of quotation, can i still link the service order with sales order without quotation?
    Appreciate your advice.
    Thank you.

    Hi,
    It is not mandatory to create service quotation from Service order (DP80). You just release the Order and execute the service (Issue material and Confirm time).
    Then create Sales order (DMR) W.r.t Service order and create billing...
    Do not do DP80 transaction.... Byepass...
    Babu

  • Resource Related Billing & Quotation creation

    HI,
    I created a service order (SM02 -service order type)
    I am trying to create a Quotation in DP80 and Billing Request in DP90.
    In both Tcode i am getting the error "No expenditure item found"
    What is this expenditure item ?
    When i checked the cost tab  planned costs are appearing
    What should i do to get the expenditure item ?
    Thanks
    Alagesan M

    Quotation creation and sales pricing usage
    DIP Profile - 00000001
    In Characteristics, the following are ticked
    - Activity type
    -Cost center
    -Cost element
    - Plant
    -Object no
    -Transaction currency
    -Unit of measure
    Planned costs
    Internal labour -  2000  ( Calculated based on operation -work)

  • ECC quotation creation through CRM 2007

    Hi Gurus,
    I am trying to created ECC quotation in CRM 2007. The RFC integration between ECC and CRM has been done.
    Once the opportunity is created, then follow up document is created (ECC quotation).At the time of creation of ECC quotation through CRM, i am not able to fill the GROSS WEIGHT and NET WEIGHT in shipping tab of quotation. I am getting getting incompletion log for the same.
    Please let me the approve for the above query.
    Thanks,
    Bhushan

    Hi Jeevan,
    Can you please let me know if you found a  standard web service to create a quotation with refrence to a Opportunity. If so can you please share the info.
    If not can you please let me know what FM or BAPI did you use to create the web service to meet the requirement.
    Thanks

  • Help in Quotation creation using BAPI

    I want to create Quotation with reference to Inquiry. I am using std BAPI 'BAPI_QUOTATION_CREATEFROMDATA2' but I am not able to crate with reference to Inquiry. If you see the std tcode VA21 there is option to create with reference; there you can put the inquiry number. This functionality, I want to implement using BAPI.
    Can anybody tell me how to achieve this.
    Thanks in stack

    Nilesh,
    There is a problem if you use the BAPI 'BAPI_QUOTATION_CREATEFROMDATA2', the table flow will not be maintained (i.e) it will not maintain the document flow which you can view using
    VA13(Inquiry)->Document flow(F5). It will allow you to create any number of quotations for the same inquiry. This will be the case even if you use the BAPI 'BAPI_QUOTATION_CREATEFROMDATA'.
    The alternative you can use is use a BDC program for just creating the Quotation(VA21). Then use the BAPI 'BAPI_CUSTOMERQUOTATION_CHANGE' to change the quotation. I have done this before and it is working perfectly fine. Hope this solves your issue.
    Note: Reward points if found helpful.

  • Requirement on quotation creation -Adobe forms

    Hi Experts,
    I have created an Adobe form which works online and offline.This is adobe form for creation of quotation making.
    But the problem is -its wrks perfect as offline meaning data is saved in pdf format.
    Now in online case -it accepts all data to fields but doesnt create a quotation-gives an error of sold -to -party needed.
    Bapi used is-BAPI_QUOTATION_CREATEFROMDATA
    if the field PARTN_ROLE is already used then -???
    Fields used are-
    DOC_TYPE -AUART
    SALES_ORG- VKORG
    DISTR_CHAN- VTWEG
    DIVISION- SPART
    PURCH_NO- BSTNK
    PURCH_DATE- BSTDK
    QT_VALID_F- ANGDT_V
    QT_VALID_T- BNDDT
    SHIP_COND- VSBED
    2]ORDER_ITEMS_IN(CHANGING)
    ITM_NUMBER- POSNR_VA
    MATERIAL- MATNR
    PLANT- WERKS_D
    TARGET_QTY - DZMENGC
    REQ_QTY- WMENGC
    SALES_UNIT - VRKME
    COND_TYPE- KSCHA
    COND_VALUE- KBETR
    CURRENCY- WAERS
    3]ORDER_PARTNERS(CHANGING))
    PARTN_ROLE - PARVW
    PARTN_NUMB- KUNNR
    can you please guide me as to why quotation is not getting created?Is it that some more field is needed ?

    someone had similar issue....i don exactly rrm the solution but it is something to do with subforms....
    currently it is disabled because your subforms are of type that doesn allow it.
    so you may play with subform types by changing them n then adding a table in it. IT will definitely fix the problem but you need to work on subform type.

  • SD Quotation Creation BAPI

    Hi Everyone,
    I'm creating Quotation thru a "Z" program by calling the BAPI "BAPI_QUOTATION_CREATEBOS".
    All paramteras are passed thru the flat file table and successfully got created.
    When I look into the Costing Model values, they are still empty.
    Kindly Help.
    Gokul.N

    Hi,
    Check what costing values you mentioning manually that should be in FLAT FILE.
    If your costing values are in flat file and not populated after creation of quotation through BAPI then it means problem in either file reading or in file uploading through BAPI.
    Check BAPI u are using.
    kapil

  • Idocs for  quotation creation

    Hi Experts,
    Have any one of  you worked on idoc meant for sales quotation ?
    could u please tell me whether the idoc meant for creation of sales order and sales quotation are  "orders--"
    only .
    Thanks,
    sabs
    Edited by: sabsvk on Jan 7, 2010 8:21 AM

    Hi experts,
    I am new to idocs, Requiremnt is to send the idoc having quotation no to the external sys ( out bound ).
    i have tried but i cld only find idoc for sales order which is orders--. somehow i cld not locate the idocs for quotation
    if someone has already worked on the idoc for  sales quoatation wld request you to suggest.
    I have also tried to search on sdn for the above mentioned requirement but was not successful
    your help will be appreciated.
    Thanks
    Regards
    Edited by: sabsvk on Jan 11, 2010 6:29 AM

  • Express doc"Update was terminated" received from author(Quotation creation)

    Dear all experts,
    I have created a Quotation (VA21) and saving it. The document number is created immediately.
    Then, it shows a message 'Express document "Update was terminated" received from author...'
    While I try to display the document number, it states that the document is deleted or been archived.
    It happened continously for the subsequent document and the numbering is still runnning as usual.
    In fact, it was happen few months ago. We ended up not creating any document for that day and it recover back as normal in the second day.
    May I know what is the cause of it and how should I do with it?
    Thanks for all the big help.
    Cheers!
    Benn

    Dear Raja,
    Thanks for your idea, it did give me a good starter to kickstart the inverstigation.
    I have done the checking with my project team and we found no overlapping number range as we are using very simple and few number range.
    However, I will like to share an error message I found in the Inbox of the user who receive the message.
    [Error Info: 00 671: ABAP/4 processor: CONVT_NO_NUMBER]
    I'm not sure is it related to your suggestion or not.
    Anyhow, thank you very much. Now, I'm going to try on others suggestions.
    Cheers!
    Benn

  • Sales area check in quotation creation (VA21)

    Hi
    When we process quotations in our system, it does not check the sales area for the customer or the material. Hence we can create a quotation in a sales area for which a customer/material is not registered. No error message is given. This causes problems when creating the order with reference to the quotation because the sales area is copied across.
    Is there any way we can get the quotation to check the sales area without putting custom code in to a user exit? In other words, is there some piece of config missing?
    Thanks
    Jon

    Hi
    The problem is not with the customer, it is with the material.
    My customer is set up in sales area:
    Sales org 0100, Dist chl 10, Division 10, as well as 0100/10/25.
    The material in question is only created within division 10.
    However, I can create the quotation using VA21 in sales area 0100/10/25. This sales area gives me the wrong division for my material. I always assumed that the sales area was checked against the customer and material before being allowed - for example if I process an order in VA01 (without reference to a quotation), and use the same customer and material combination in sales area 0100/10/25, SAP issues message V1370 ("Division 25 in the header deviates from division 10 in the item").
    Jon

  • Attaching XLS document to Quotation Creation (VA21)

    Hi All,
    We have a reqt in our project to attach XLS file to VA21 transaction. We don't want the attachement data to be uploaded but rather the attachment to stay with the quotation.
    Let me know how this can be achieved.
    Regards,
    Jayant

    Hi,
    It is Possible....
    Thanks and regards
    Sreekanth.S

  • Quotation creation through a webservice

    Dear Friends,
       We would like to create a Quotation through a webservice.
       We are using the webservice OpportunityCRMByIDQueryResponse_In, to
    get the details about an existing Opportunity in CRM. We create a
    Quotation in CRM using the CustomerQuoteCreateRequestConfirmation_In
    webservice. However through this webservice we are not able to link
    the newly created Quotation with an existing Opportunity (whose details
    were queried through the OpportunityCRMByIDQueryResponse_In
    webservice). The CustomerQuoteCreateRequestConfirmation_In webservice
    doesnt seem to provide this possibility. Can you let us know how to
    create a quotation by linking it to an existing opportunity using a
    webservice?
    Thanks & Regards
    Jeevan

    Hi Jeevan,
    Can you please let me know if you found a  standard web service to create a quotation with refrence to a Opportunity. If so can you please share the info.
    If not can you please let me know what FM or BAPI did you use to create the web service to meet the requirement.
    Thanks

Maybe you are looking for