Credit Memo Request creation in VA01 transaction Code

Hi All,
Thank You very much in advance for reading this Query.
My Requirement is we have to create Credit memo Request in VA01 Transaction Code.But I tried to use the standard FM BAPI_SALESORDER_CREATEFROMDAT2 and It is throwing the Error "Unpermitted combination of Business Object BUS2032 and Sales doc.category K".
So can any one advise me the correct FM to satisfy this requirement.
Thanks and Regards,
K.Krishna Chaitanya.

Hi
Try this....
Pass the below data to the fm: SD_SALESDOCUMENT_CREATE.
SALES_HEADER_IN:
DOC_TYPE
SALES_ORG
DISTR_CHAN
DIVISION
STATUS_BUFFER_REFRESH = 'X'
SALES_ITEMS_IN:
ITM_NUMBER
MATERIAL
TARGET_QTY
TARGET_QU
PURCH_NO_C
SALES_PARTNERS:
PARTN_ROLE
PARTN_NUMB
SALES_CONDITIONS:
ITM_NUMBER
COND_TYPE
COND_VALUE
CURRENCY
COND_UNIT
Hope this helps....

Similar Messages

  • Credit memo request creation problem

    Hello Guys,
      I try creating credit  memo request passing all related parameters in FM 'SD_SALESDOCUMENT_CREATE'.
    I get the error 'Document 9992222 doesn't have document category  but  '.
    Message is V2 068 .  It  space before and after but.
    I have passed the document category as 'M', in the header data.
    Please reply, if you know the problem or want more details from me.
    Thanks and Best Regards!
    Sandip

    Hi Guys,
    The Ref_doc_cat was not filled correctly in the BAPI. Hence the error.
    Its working now.
    Thanks!
    Sandip

  • Automatic billing document creation upon saving credit memo request.

    Hi,
    I have a requirment where in :
    When a Credit Memo Request is created(va01) and upon saving the credit memo request an automatic billing document needs to be genereated i.e Credit Memo.
    How can this be achieved.
    Thanks

    Hi Keni
    If a Credit Memo Request is created and after saving the Credit Memo Request  , automatic billing should happen means you should maintain a new sub-routine and assign in the copy control VTFA . In that sub-routine maintain a logic that once the Credit Memo Request is saved automatic billing should happen
    Regards
    Srinath

  • Mass change of pricing date and billing date in credit memo request

    Hi,
    Can i change the billing date pricing date on credit memo request docs using MASS transaction?
    If i enter the regular sales order number it prompts me to change the value but if i enter the credit memo request doc number,the message "No data meets the selection criteria" is displayed.I also checked with IDES ,message is the same
    Is there any different way to do mass change for credit memo requests or am i missing something here.
    Please Suggest
    Thanks
    Abhilash Nayak

    Hi,
    Go to the transaction code MASS  and enter the OBJECT  TYPE as BUS2032 and enter
    It will lead you to the next screen where you can find the  Table and Field TABS
    Select the  SALES ORDER HEADER DATA  and choose the fields data and choose the fields PRICING DATE and BILLING DATE  and execute
    In the subsequent screen you can see the selection screen where you can enter all the Sales documents for which you want to change
    Key in all the documents and execute
    Now change the date as per your requirement and check the effect
    regards,
    santosh

  • Credit Memo request with reference to Billing Document number via IDoc

    Hi,
    I want to create credit memo request with reference to billing document number via IDocs.
    I have tried through ORDERS05, but when I process I saw that it is only processing with reference to contract  number or quotation.
    So is any other way of creating credit memo request creation with reference to Billing document number via IDocs?
    Thank you in advance.
    Regards,
    Santhi

    Please Help... it is Urgent...  Thank you

  • FM/BAPI for creating the credit memo request for Vendor

    Hi Experts,
        I need an RFC/BAPI,  for creating the credit memo request for Vendor.
    Thanks in Advance,
    Kiruba.R

    Hi,
    Use this BAPI 'BAPI_DRMCREDITMEMOREQ_CREATE' - Credit Memo Request Creation
    Regards,
    Jyothi CH.

  • Copy control from Credit Note to Credit Memo Request

    Dear gurus,
    After I set the copy control parameters in my billing doc, source - credit memo request & Target - Credit memo,
    I could not find my condition types to be copied from my credit memo request.
    I have infact set the pricing type to D - Copy pricing elements unchanged.
    Can you let me know if I had missed anything?
    Also, to clarify on this credit concept. Say that we sent 2 pieces of a product worth $100 each & if it happened that the customer returned 1 piece , we can create a credit memo request via VA01 for the part that customer returns & if the pricing condition is $100, we create a condition value $100 back to the customer.
    So further create a credit note where this $100 is copied from Credit Memo request order type.
    This is the concept of credit correct me if i am wrong
    regds,
    a

    Hi Pri,
    Give me your mail ID I can send you some screen shot of the Copy control set from Credit memo request to credit memo.
    To clarify on Credit.
    In the first instaance we have supplied 2 items to customer and Billed them. Now he has returned one material to account for this returned material you can create a returns order and complete the cycle and then create a credit memo for the returned material.
    ELSE
    You only want to adjust for billing. Then when we have already billed customer for 2 items and out of which 1 item is returned and hence we have to give him credit memo for 1 item i.e $100 in your case.
    The condition value in Credit Memo Request (G2) would be taken from standard conition type PR00 only.
    FIRST Create a credit Memo Request (G2) in VA01
    CMR is set with a billing block
    Go to VA02 and remove the block
    Create a Credit memo Using VF01 using Billing Type G2. The system will copy the data from CMR to Credit memo once you set the Copy control in VTFA
    REWARD IF IT HELPS
    Regards
    Srini

  • Credit Memo Request - Warning Message

    Hi,
    We need to have Warning message to be displayed when we have the credit value exceeds the invoice value during the Credit Memo request creation with reference to the invoice.
    Currently, as per SAP Standard the system is throwing an information message when the credit value exceeds the invoice value.
    In the same requirement, we need to have a report for which we have the credit value exceeds the invoice value.
    Please help !
    Regards

    Hi,
    You can control the quantity to be copied into Credit memo request through Copy Controls Quantity Update.
    The the same quantity will be copied from the reference document into target document.
    You are getting error as Credit Memo Request exists , because you have created the Credit Memo request for full Sales Order Qunatity.
    Regards
    Krishna

  • Credit Memo Request in VA01

    Dear,
    Process : Actually , I am going to create CR memo request in VA01 without reference of Invoice . So ,in this case ,I have got one Issue as Z error .Please help me in this issue ,how to solve step be step .
    Note : 1. Actually , I am SD,MM and PS Consultant not ABAP consultant .I got this issue yesterday but still fight with system with debugging level .
    2. ABAP Consultant not available thats why taking charges to solve this issue .
    Advance Thanks ,
    Naren

    First of all thanks for both ,
    Coming to the point ,I went to SE91 and gave the Message Class as ZVIV and clicked on execute .there I have seen 182 Message and I unticked  the Self Explanatory and saved . Now again ,I raised new Credit Memo Request in VA01 and I didnt get before error but I got another erro as " Red round  Mark" with Save  (Control + Save ) .
    The Red Round Mark doesn't stand on screen to capture or else to see the Problem .That is coming and going immediately .
    Note : Please help one this Issue .
    Thanks,
    Naren

  • Creation of sales order(Credit memo request) w.r.t invoice

    Hi want to create a Credit memo request (sales order) with respect to a invoice.
    Can any body suggest me a bapi or Fm which will directly create a sales order with input as invoice number?
    Also all mandatory import export parameters to be filled?
    Thanks in Advance,
    Rohan.

    You should be able to use one of these BAPIs (depending on your release - the ...2 one is the lates and greatest, it seems):
    BAPI_SALESORDER_CREATEFROMDAT1
    BAPI_SALESORDER_CREATEFROMDAT2
    BAPI_SALESORDER_CREATEFROMDATA
    You'll find a lot of information on them anywhere, please use search. There is also a decent documentation available for each one of them.
    The invoice reference will have to be entered as follows (note that it's always at line level):
        order_items_in-ref_doc = <invoice number = VBRK-VBELN>.
        order_items_in-ref_doc_it = <<invoice line number = VBRP-POSNR.>.
        order_items_in-ref_doc_ca = 'M'.   " or whatever category is applicable
    Keep in mind though that BAPIs do NOT always work the same way as VA01. If, for example, you have the requirements and copy routines (VOFM), they might get bypassed when creating an order with BAPI.
    Any follow-up questions I'd suggest to post in ABAP forum. Good luck!

  • Creation of Credit memo Request using FM SD_SALESDOCUMENT_CREATE

    Hi Guys,
    I am using FM SD_SALESDOCUMENT_CREATE to create credit memo request from flat file.
    we are using variant configuration and characteristic values for material are not being populated. Rest of the sales document is created but characteristic values are missing.
    can any one help me if u have some information or some piece of code.
    here is the code i am using.
    LOCAL DATA DECLARATION
      DATA: L_WA_ORDER_CFGS_VALUE   TYPE BAPICUVAL,
            L_WA_ORDER_CFGS_REF     TYPE BAPICUCFG,
            L_WA_ORDER_CFGS_INST    TYPE BAPICUINS,
            L_WA_ORDER_CFGS_PART_OF TYPE BAPICUPRT.
      CONSTANTS: C_MARA   TYPE CHAR10 VALUE 'MARA',
                 C_300    TYPE CHAR03 VALUE '300'.
      IF FP_L_WA_CHAR-ITM_NUMBER  <> FP_V_ITEM_OLD.
      Build internal tables for material configuration
      Configuration: Reference Data
        L_WA_ORDER_CFGS_REF-POSEX     = FP_L_WA_CHAR-ITM_NUMBER.
        L_WA_ORDER_CFGS_REF-CONFIG_ID = FP_L_WA_CHAR-ITM_NUMBER.
        L_WA_ORDER_CFGS_REF-ROOT_ID   = FP_L_WA_CHAR-ITM_NUMBER.
        APPEND L_WA_ORDER_CFGS_REF TO FP_I_ORDER_CFGS_REF.
      Build internal table BAPICUINS
      Configuration: Instances
        L_WA_ORDER_CFGS_INST-CONFIG_ID  = FP_L_WA_CHAR-ITM_NUMBER.
        L_WA_ORDER_CFGS_INST-INST_ID    = FP_L_WA_CHAR-ITM_NUMBER.
        L_WA_ORDER_CFGS_INST-CLASS_TYPE = C_300.
        L_WA_ORDER_CFGS_INST-OBJ_TYPE   = C_MARA.
        L_WA_ORDER_CFGS_INST-OBJ_KEY    = FP_L_WA_CHAR-MATERIAL.
        APPEND L_WA_ORDER_CFGS_INST TO FP_I_ORDER_CFGS_INST.
      Configuration: Part-of Specifications
        L_WA_ORDER_CFGS_PART_OF-OBJ_TYPE   = C_MARA.
        L_WA_ORDER_CFGS_PART_OF-CLASS_TYPE = C_300.
        L_WA_ORDER_CFGS_PART_OF-OBJ_KEY    = FP_L_WA_CHAR-MATERIAL.
        APPEND L_WA_ORDER_CFGS_PART_OF TO FP_I_ORDER_CFGS_PART_OF.
        FP_V_ITEM_OLD = FP_L_WA_CHAR-ITM_NUMBER.
      ENDIF.
    Configuration: Characteristic Values
    Sales Document Item
      L_WA_ORDER_CFGS_VALUE-CONFIG_ID = FP_L_WA_CHAR-ITM_NUMBER .
      L_WA_ORDER_CFGS_VALUE-INST_ID = FP_L_WA_CHAR-ITM_NUMBER.
    Characteristic Name
      L_WA_ORDER_CFGS_VALUE-CHARC = FP_L_WA_CHAR-CHARC .
    Characteristic Value
      L_WA_ORDER_CFGS_VALUE-VALUE = FP_L_WA_CHAR-VALUE .
      APPEND L_WA_ORDER_CFGS_VALUE TO FP_I_ORDER_CFGS_VALUE.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
      CALL FUNCTION 'SD_SALESDOCUMENT_CREATE'
        EXPORTING
          SALES_HEADER_IN      = FP_WA_ORDER_HEADER_IN
          SALES_HEADER_INX     = FP_WA_ORDER_HEADER_INX
          BEHAVE_WHEN_ERROR    = C_R
          BUSINESS_OBJECT      = 'BUS2094'
        IMPORTING
          SALESDOCUMENT_EX     = L_SALESDOCUMENT
        TABLES
          RETURN               = L_I_RETURN
          SALES_ITEMS_IN       = FP_I_ORDER_ITEMS_IN
          SALES_ITEMS_INX      = FP_I_ORDER_ITEMS_INX
          SALES_PARTNERS       = FP_I_ORDER_PARTNERS
          SALES_SCHEDULES_IN   = FP_I_ORDER_SCHEDULES
          SALES_SCHEDULES_INX  = FP_I_ORDER_SCHEDULESX
          SALES_CONDITIONS_IN  = FP_I_ORDER_CONDITIONS_IN
          SALES_CONDITIONS_INX = FP_I_ORDER_CONDITIONS_INX
          SALES_CFGS_REF       = FP_I_ORDER_CFGS_REF
          SALES_CFGS_INST      = FP_I_ORDER_CFGS_INST
          SALES_CFGS_PART_OF   = FP_I_ORDER_CFGS_PART_OF
          SALES_CFGS_VALUE     = FP_I_ORDER_CFGS_VALUE
          SALES_TEXT           = FP_I_ORDER_TEXT.

    Hi, has your question be answered? What was the outcome / result?

  • Creation of Credit Memo request from Invoice.

    Dear All,
    We have requirement for creation of CRM Credit Memo request from CRM Invoice.
    Please guide any one if you have clue on this requirement.
    Regards,
    Mallik Kosuru

    This can be achieved by creating  complaints . You create a complaint -credit memo request-credit memo  with reference to billing document, refer to C28 CRM complaints for more info.

  • Multiple credit memo creation for single credit memo request

    Hello,
    The problem is that I am able to repeatedly create multiple credit memos for the same credit memo request.  The system is not stopping me by saying "This order is fully invoiced".
    I observed the following in the customizing:
    1. If the sales document category of the billing document (in VOFA transaction) is 6 (Intercompany credit memo), then I am able to create mulitiple credit memos against the same credit memo request.
    2.  When I change the sales document category of the billing document to O (credit memo), then the system stops me from creating multiple credit memos against the same credit memo request.
    If I want to maintain 6 (intercompany credit memo) in VOFA and still want the system to stop me from creating multiple credit memos for the same credit memo request, then is there is any other customizing to achieve this?
    Thanks,
    Shankar

    Shankar, most likely the billing status of your sales document is not updated. We have experienced the same (or similar?) issue with the intercompany documents and SAP refused to correct it. Here is a fragment of my message exchange with the SAP support:
    We have already read the notes 63459 and 308989. They both do not apply
    to our business process. The document flow mentioned in the notes is as
    follows:
    Sales order - customer billing document - intercompany billing document
    Our document flow is different:
    Contract - customer billing document - Intercompany sales order (could
    be more than one order per customer billing document) - intercompany
    billing document
    The order-related billing status is not being updated on the
    Intercompany sales order.
    The process described in the notes implies one-to-one relationship
    between the customer and inter-company billing documents and the sale
    from a Plant that is assigned to another company. We are in the service
    industry and sometimes the sale revenue has to be shared by 2-4
    companies within our enterprise.
    Good day. It is a standard system behaviour that if the billing document type has SD document cateogry '5' (field TVFK-VBTYP in transaction
    VOFA). So it is an intercompany billing.
    The order-related billing status VBUP-FKSAA is not affected by the
    intercompany billing.
    So its billing status remains opened, and can be billed more times.
    This doesn't seem right to me. Maybe if more customers complain, they will do something about it.
    To some extent this may be managed with copy requirements (VOFM), where you can prevent copying the credit memo line items that have been invoiced. However, this might still lead to the blank documents with 0 value, statuses won't be correct and in VF04 you would see the documents as not invoiced.
    I had to do a core modification to resolve this issue in our system. In LV45P011 include I did the following:
    * Faktura
    *{   REPLACE        DC6K903001                                        1
    *\  IF vbfa-vbtyp_n CA vbtyp_fakt AND vbfa-vbtyp_n NA vbtyp_fkiv.
      IF vbfa-vbtyp_n CA vbtyp_fakt.
    *}   REPLACE
    Hope this helps.
    Edited by: Jelena Perfiljeva on Nov 14, 2008 11:09 PM

  • Regd creation of New Sales Order Type - Credit Memo Request

    Hello Gurus,
    I have created a New Sales Order Type as per the given requirements. This is a Credit Memo Request. I have done all that are needed from SD perspective.
    Can you please let me know what needs to be done from FI-CO perspective when a New Sales Order Type is created and this is a Credit Memo Request. If some one can let me know the customizations that needs to be done it will be very helpful for me.
    Thanks,
    SNK.

    Hi,
    As per my understanding, there is nothing to be required from FI-CO perspective, in case when you defined a document type in SD.
    During the sales order processing the SD-FI interface happenes for following activities
    1) Credit check (In case you use Credt management)
    2) Tax determination
    For more knowledge
    go through the link given below.
    http://www.sap-img.com/sap-sd/link-between-sap-sd-mm-and-fi.htm
    Hope it helps,
    Regards,
    MT

  • Creation of credit memo requests through SD_SALESORDER_CREATE

    Dear All,
    We are using SD_SALESORDER_CREATE to create credit memo requests. However this FM only generates a document number and even gives a message that this document has been saved.
    However there is no document saved to the database with that number. In effect this FM only advances the number range but doesn't commit.
    Is there any other FM to save the document with the generated number.
    Regards,
    KC

    Hi Guys - bang up to date I am, but just came across this old one by chance.
    OSS Note 168124:
    "To test BAPI BAPI_SALESORDER_CREATEFROMDAT2 and at the same time update the
    created document, create a test sequence which calls BAPIs
    BAPI_SALESORDER_CREATEFROMDAT2 and BAPI_TRANSACTION_COMMIT."
    I believe BAPI_SALESORDER_CREATEFROMDAT2 calls SD_SALESORDER_CREATE so same issue and solution.
    Stephan

Maybe you are looking for

  • Help me to add some libraries for WebLogic Portal project

    My Web portal project (10.3.2) that was created with Oracle Enterprise pack for Eclipse with some custom configurations: - Beehive controls - Beehive netUI - Struts 1.2 - WebLogic Control Extension 10.2 - full feature for "WebLogic portal" - "Portal

  • I buy an application and I can't update my apps

    Hi. I have an Iphone5. My problema is that  I bought an application and I can't update my apps..  and since I bought doesn't  allow me to update my application and don't know if it's because the payment didn't  perform well've tried several times wit

  • BADI for Customer's own screen for Purchase Requisition.

    Hi All, I have a requirement where I need to create a BADI implementation for creating addition screens in the Purchase Requisition Transaction (ME51n/ME52n/ME53n). I know there are User exits but we donu2019t want to implement them. Now in case of P

  • Dvd not recognized or working

    I forgot to add re: DVD that after I try uninstall and then action the message I get includes the fact that configuration info in registry is corrupt or incomplete. This question was solved. View Solution.

  • Create new or use existing info object ? How to decide ?

    All; I have this question. I enhanced the data source with a field user ID, now I am mapping it in the transfer rules in bw. When I searched in the system (ctrl F in infobjects of RSA1) I could find related info objects but they are currently being u