Creating credit memo request - V1 498 / missing order quantity

Hi Experts,
could any of You pls help me with a credit memo creation issue?
I credit memo needed to be created based on invoice, so configuration  and copy control is done as usual, but I have a failure during CR order creation referring to an invoice F2.
I got an error message: V1 498 - Credit  already exist for item... - and no qty is transferred to new document
I have gone thought the threads on Forum, but none of the suggested solution was appropriate to solve the issue:
- the document flow is updated in copy control ,
- I can no remove the schedule line flag at VOV7 - the order qty will be missed but target qty is used, and end up incompletition (VU 019 error messge), so billing is faile
- completition control set as B at VOV7,
Still have the problem
Could any of You pls help me - answers will be appreciated.

V1 498 - Credit already exist for item...
What the above message means is that lines items have already been used as reference for the creation of credit memo request(s).
Create a new sales order, delivery and billing document. Then create credit memo request with reference to this new billing document and test.
In VTAF copy control, at item level, field "Pos./neg. quantity" dictates how the quantity in the source document is affected by copy control.
PS - I tried to create credit memo with reference to billing document (F2), there were no issues there. Therefore I am taking that the issue is with credit memo request (copied with ref to billing document F2)

Similar Messages

  • Create credit memo request using inbound IDOC

    Hi Experts,
    I want to create credit memo request using inbound IDOC, currently I am using GSVERF03 basic type and process code GSVE, I am getting below error:
    No records exist in T661W for vendor XXXXX, plant, unloading point
    Anyone suggest me is this correct message type to create credit memo request or suggest me the correct one. because we are working with customer sales order and invoice not with vendor purchase order.
    Thanks for your help.

    ah, apologies i read outbound! I think you are using the correct message type i.e. GSVERF.
    Can you not simply create the missing entry in T661W? i.e. for the missing records?

  • Problem while creating credit memo request using BAPI

    HI,
    I am trying to create credit memo request using the BAPI_SALESDOCU_CREATEFROMDATA1..
    I am getting the error as " No customer master data is available for the customer". But the customer exists in the KNA1 table. What is the mistake i hv done.. this s my code..
    REPORT  ZSV_CREDITMEMO_TEST1.
    Data declarations.
    DATA: v_vbeln            LIKE vbak-vbeln.
    DATA: header             LIKE bapisdhead1.
    DATA: headerx            LIKE bapisdhead1x.
    DATA: item               LIKE bapisditem  OCCURS 0 WITH HEADER LINE.
    DATA: itemx              LIKE bapisditemx OCCURS 0 WITH HEADER LINE.
    DATA: partner            LIKE bapipartnr  OCCURS 0 WITH HEADER LINE.
    DATA: return             LIKE bapiret2    OCCURS 0 WITH HEADER LINE.
    DATA: lt_schedules_inx   TYPE STANDARD TABLE OF bapischdlx
                             WITH HEADER LINE.
    DATA: lt_schedules_in    TYPE STANDARD TABLE OF bapischdl
                             WITH HEADER LINE.
    DATA: lt_schedules_ink    TYPE STANDARD TABLE OF bapisdhead1
                             WITH HEADER LINE.
    START-OF-SELECTION.
    Header data
    Sales document type
      header-doc_type = 'G2'. 
      headerx-doc_type = 'X'.
    Sales organization
      header-sales_org = '0001'.
      headerx-sales_org = 'X'.
    Distribution channel
      header-distr_chan  = ''.
      headerx-distr_chan = 'X'.
    Division
      header-division = ''.
      headerx-division = 'X'.
      headerx-updateflag = 'I'.
    *Complete delivery
        header-COMPL_DLV = ''.
        header-COMPL_DLV = 'X'.
    Partner data
    Sold to
      partner-partn_role = 'AG'.
      partner-partn_numb = '0000C10130'.
      APPEND partner.
    Ship to
      partner-partn_role = 'WE'.
      partner-partn_numb = ''.
      APPEND partner.
    ITEM DATA
      itemx-updateflag = 'I'.
    Line item number.
      item-itm_number = '000010'.
      itemx-itm_number = 'X'.
    Material
      item-material = 'C20011'.
      itemx-material = 'X'.
    Plant
      item-plant    = ''.
      itemx-plant   = 'X'.
    Quantity
      item-target_qty = '10000'. 
      itemx-target_qty = 'X'.
    item category
      itemx-ITEM_CATEG = 'X'.
      APPEND item.
      APPEND itemx.
      Fill schedule lines
      lt_schedules_in-itm_number = '000010'.
      lt_schedules_in-sched_line = '0001'.
      lt_schedules_in-req_qty    = '10000'.
      APPEND lt_schedules_in.
      Fill schedule line flags
      lt_schedules_inx-itm_number  = '000010'.
      lt_schedules_inx-sched_line  = '0001'.
      lt_schedules_inx-updateflag  = 'X'.
      lt_schedules_inx-req_qty     = 'X'.
      APPEND lt_schedules_inx.
    Call the BAPI to create the sales order.
      CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
           EXPORTING
                sales_header_in     = header
                sales_header_inx    = headerx
           IMPORTING
                salesdocument_ex    = v_vbeln
           TABLES
                return              = return
                sales_items_in      = item
                sales_items_inx     = itemx
                sales_schedules_in  = lt_schedules_in
                sales_schedules_inx = lt_schedules_inx
                sales_partners      = partner.
    Check the return table.
      LOOP AT return WHERE type = 'E' OR type = 'A'.
        EXIT.
      ENDLOOP.
      IF sy-subrc = 0.
        WRITE: / 'Error in creating document'.
      ELSE.
    Commit the work.
        COMMIT WORK AND WAIT.
        WRITE: / 'Document ', v_vbeln, ' created'.
      ENDIF.
    can anyone tell what the error is.?

    Hi
    please look at code below code this succefully creating credit memo may some help to you
    header-doc_type = 'ZS4'.
        PERFORM get_plant.
        headerx-doc_type    = 'X'.
        header-sales_org    = wa_temp1-vkorg.
        headerx-sales_org   = 'X'.
        header-purch_no     = wa_temp1-bstnk.
        header-distr_chan   = wa_temp1-vtweg.
        headerx-distr_chan  = 'X'.
        header-division     = wa_temp1-spart.
        header-purch_no_s   = wa_temp1-bstnk.
        headerx-division    = 'X'.
        wa_partner-partn_role = 'AG'.
        wa_partner-partn_numb = wa_temp1-kunnr.
        APPEND wa_partner TO it_partner.
        wa_partner-partn_role = 'WE'.
        wa_partner-partn_numb = wa_temp1-kunnr.
        APPEND wa_partner TO it_partner.
        CLEAR: wa_partner.
        LOOP AT lt_temp2 INTO wa_temp2 WHERE kunnr = wa_temp1-kunnr.
          "AND matnr = wa_temp1-matnr.
    *wa_item-itm_number = wa_temp2-posnr .
          wa_item-material   = wa_temp2-matnr.
          wa_item-plant      = wa_temp2-werks.
          wa_item-req_qty    = wa_temp2-fkimg * 1000.
          wa_item-target_qty = wa_temp2-fkimg * 1000.
          APPEND wa_item TO it_item.
        ENDLOOP.
        CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT1'
          EXPORTING
            order_header_in       = header
    *   WITHOUT_COMMIT            = ' '
    *   CONVERT_PARVW_AUART       = ' '
         IMPORTING
           salesdocument          = v_vbeln
    *   SOLD_TO_PARTY             =
    *   SHIP_TO_PARTY             =
    *   BILLING_PARTY             =
           return                 = return
          TABLES
           order_items_in         = it_item
           order_partners         = it_partner.
        IF v_vbeln <> space.
          wa_vbeln-vbeln = v_vbeln.
          APPEND wa_vbeln TO lt_vbeln.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
            EXPORTING
              wait = 'X'.
          HIDE wa_vbeln-vbeln.
          CLEAR: wa_partner,header,v_vbeln, wa_temp2.
          REFRESH: it_partner,it_item.
        ELSE.
    *    LOOP AT return .
          it_error-srno = idx.
          it_error-err_msg = return-message.
          APPEND it_error.
    *    ENDLOOP.
        ENDIF.
        idx = idx + 1.
      ENDLOOP.
    Regards

  • Credit memo request to correct Sales order after customer payment

    Hello all,
    Could you please give me any suggetion on this issue:
    We uploded sales orders  from legacy system into sap and create invoice but we made a mistake, we didn't take into account a discount in price conditions.
    The Customer payment is correct and also uploaded from legacy system.
    I'm required to correct the difference by doing a Credit memo request and credit memo with reference to sales sorder, so my questions :
    Do I create credit memo request with ref. to SO for all items, quantities and price or just for a discount amount (what i think) ?
    Any input will be appreciated.
    Thanks.

    Hello Farouk,
    If you know the discounted amount for each account then as per my view you directly can create  credit note from the FI side so manage the differences.
    Please wait for more suggestion from FORUM.
    Regards
    AG.

  • BAPI to create credit memo requests in SAP

    Hi All,
    I have a requirement to create Credit memo request in SAP SD. I'm trying to use the BAPI which is used for Sales order creation - BAPI_SALESORDER_CREATEFROMDAT2 since credit memos are also sales orders of diff. sales document type. However, the BAPI throws an error as follows
    "Unpermitted combination of business object BUS2032 and sales doc. category K". 
    Does this mean that the business object BUS2032 does not support creation of cerdit memo request ? If yes, can anyone suggest an alternate BAPI  to be used to address this requirement ?
    Thanks,
    Venkat.

    Hi Venkatesh,
    Thanks you for your post, your post has helped me a ton in my work, Infact I was working on BAPI to
    Create Credit Memo request i.e BAPI_SALESORDER_CREATEFROMDAT2 as expected i got the same error as "Unpermitted combination of business object BUS2032 and sales doc. category K" and i tried on  other BAPI it worked, Just i need to know BUS2032 doesn't support Credit Memo Request, How we can find it
    to what Sales document it support?

  • Error while creating Credit Memo Request for Milestone billing invoice

    Hi All,
    I have a scenario where i have Milestone billing(% based) at header level in Contracts. I create Invoice for that and then try to create Credit Memo Request with reference to the Invoice.
    Problem comes when we try to change the qty in the credit memo request. we are able to change the qty but the value is not changing. It remains the same constant value of that milestone.
    In my copy control from Invoice to Credit memo request for the item category i have maintained the pricing type as "C" because i want to copy and manual conditions.
    So kindly let me know which config setting should be done so that whenever i change the qty the value should also be changed.
    Please Note : This is happening only when my billing plan is at header level. For Billing plan at Item level its working fine.....
    Thanks.....

    Hiiii.....
    Can anyone please advise on the below issue of mine.....
    Thanks alot for the help.......in advance

  • Create Credit Memo Request

    Hi,
    Is there a bapi which i can use to create credit memo request with reference from a billing document?
    dyl

    Hi Rakesh,
    thank you for your reply. I am using 4.6B. i do not see that function

  • Create Credit Memo Request through txn. FB65

    Hi Experts,
    I want to create Credit Memo Request through txn. FB65.I am using Bapi 'BAPI_ACC_DOCUMENT_POST' to create it.
    Can anyone please tell the the minimum parameters which I will pass in this BAPI to create CreditMemo Request?
    Helpul answers will be rewarded by points.
    Thanks
    Naveen Rana

    Hi Naveen,
    You run this BAPI by giving input till you get the result and then use it in your code.
    Some of the structure to post credit memos are
    *--Populating Header strucuture
    *--To upload the Header Structure required By BAPI
      wa_docheader-bus_act     = c_bus_act.
      wa_docheader-username    = sy-uname.
      wa_docheader-header_txt  = wa_lineitem-header_text.
      wa_docheader-comp_code   = wa_lineitem-header_company.
      wa_docheader-doc_date    = wa_lineitem-invoice_date.
      wa_docheader-pstng_date  = sy-datum.
      wa_docheader-fis_period  = '00'.
      wa_docheader-ref_doc_no  = wa_lineitem-invoice_number.
      wa_docheader-doc_type = wa_lineitem-document_type.
    Document type is KR for Invoice and KG for Credit Memos.
    *--Populating Accounts Payable table
    *--Populating Currency Item Structure
    Thanks
    Sudharshan

  • Re: Creating credit memo with reference to Sales Order in ICWC

    Hello gurus
    I am new to CRM and we hv ECC 6.0 & CRM 6.0 in our environment.
    We have a process where a Credit Memo Request is created with reference to a Sales Order.
    Now till this point we had launched VA01 in the ICWC and were creating the CMR with reference to the Standard Order.
    Henceforth we want to move this to the CRM ICWC.
    In ICWC we create Standard Sales order using Work Center IC_BT_SLO tied to the Navigation profile.
    I am looking for some way of copying this order to a Credit Memo Request in the ICWC.
    I tried adding the Complaints button on the navigation profile ... however it creates a new CMR ... not sure how to enable copying it from the Original Sales order in ICWC
    Any thoughts ?
    Thanks
    Vinit

    closed
    Edited by: vinit parkar on Sep 1, 2011 4:25 PM

  • BAPI_SALESDOCU_CREATEFROMDATA, create credit memo request

    hi all,
    in which field of BAPI_SALESDOCU_CREATEFROMDATA needs to fill in, i need to create SO Credit memo request (CR doc type ) with reference to billing no , which field shall i put the billing no ?

    REPORT ZTEST_SO_CREATE .
    Order Header
    DATA: HEADER LIKE BAPISDHD1.
    Internal Item Number Assignment
    DATA: L_INA LIKE BAPIFLAG-BAPIFLAG.
    Item Data
    DATA: IT_ITEM LIKE BAPISDITM OCCURS 0 WITH HEADER LINE.
    Document Partner
    DATA: IT_PARTN LIKE BAPIPARNR OCCURS 0 WITH HEADER LINE.
    Schedule Line Data
    DATA: IT_SIN LIKE BAPISCHDL OCCURS 0 WITH HEADER LINE.
    Conditions
    DATA: IT_COND LIKE BAPICOND OCCURS 0 WITH HEADER LINE.
    Configuration: Reference Data
    DATA: IT_CUCFG LIKE BAPICUCFG OCCURS 0 WITH HEADER LINE.
    Configuration: Instances
    DATA: IT_CUINS LIKE BAPICUINS OCCURS 0 WITH HEADER LINE.
    Part_of Entries of Several Configurations
    DATA: IT_CUPRT LIKE BAPICUPRT OCCURS 0 WITH HEADER LINE.
    CU: Reference Order Item / Instance in Configuration
    DATA: IT_CUREF LIKE BAPICUREF OCCURS 0 WITH HEADER LINE.
    Characteristic values of several configurations
    DATA: IT_CUVAL LIKE BAPICUVAL OCCURS 0 WITH HEADER LINE.
    *Number of Generated Document
    DATA: L_SO LIKE BAPIVBELN-VBELN.
    DATA: RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
    START-OF-SELECTION.
    Header data
      PERFORM SUB_HEADER.
    Internal Item Number Assignment
      L_INA = 'X'.
    Item Data
      PERFORM SUB_ITEM.
    Document Partner
      PERFORM SUB_PARTN.
    Schedule Line Data
      PERFORM SUB_SIN.
    Conditions
      PERFORM SUB_COND.
    Configuration: Reference Data
      PERFORM SUB_CUCFG.
    Configuration: Instances
      PERFORM SUB_CUINS.
    Part_of Entries of Several Configurations
      PERFORM SUB_CUPRT.
    CU: Reference Order Item / Instance in Configuration
      PERFORM SUB_CUREF.
    Characteristic values of several configurations
      PERFORM SUB_CUVAL.
    Call the BAPI to create the sales order.
      CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
           EXPORTING
                ORDER_HEADER_IN       = HEADER
                INT_NUMBER_ASSIGNMENT = L_INA
           IMPORTING
                SALESDOCUMENT         = L_SO
           TABLES
                RETURN                = RETURN
                ORDER_ITEMS_IN        = IT_ITEM
                ORDER_PARTNERS        = IT_PARTN
                ORDER_SCHEDULES_IN    = IT_SIN
                ORDER_CONDITIONS_IN   = IT_COND
                ORDER_CFGS_REF        = IT_CUCFG
                ORDER_CFGS_INST       = IT_CUINS
                ORDER_CFGS_PART_OF    = IT_CUPRT
                ORDER_CFGS_VALUE      = IT_CUVAL
                ORDER_CFGS_REFINST    = IT_CUREF.
    Check the
         RETURN TABLE.
    LOOP AT
         RETURN WHERE TYPE = 'E' OR TYPE = 'A'.
       EXIT.
    ENDLOOP.
      LOOP AT RETURN.
    WRITE :/
    RETURN-TYPE,
    RETURN-ID,
    RETURN-NUMBER,
    RETURN-MESSAGE,
    RETURN-LOG_NO,
    RETURN-LOG_MSG_NO,
    RETURN-MESSAGE_V1,
    RETURN-MESSAGE_V2,
    RETURN-MESSAGE_V3,
    RETURN-MESSAGE_V4,
    RETURN-PARAMETER,
    RETURN-ROW,
    RETURN-FIELD,
    RETURN-SYSTEM.
      ENDLOOP.
      IF SY-SUBRC = 0.
    Commit the work.
        COMMIT WORK AND WAIT.
        WRITE: / 'Document ', L_SO, ' created'.
      ENDIF.
    *&      Form  SUB_HEADER
          text
    -->  p1        text
    <--  p2        text
    FORM SUB_HEADER.
    Sales document type
      HEADER-DOC_TYPE = 'ZOEM'.
    Sales organization
      HEADER-SALES_ORG = '1000'.
    Distribution channel
      HEADER-DISTR_CHAN = '12'.
    Division
      HEADER-DIVISION = '03'.
    Sales group
      HEADER-SALES_GRP = '001'.
    Sales office
      HEADER-SALES_OFF = '1000'.
    Requested delivery date
      HEADER-REQ_DATE_H = '20070701'.
    HEADER-REQ_DATE_H = SY-DATUM.
    Proposed date type
      HEADER-DATE_TYPE = '1'.
    Customer purchase order date
      HEADER-PURCH_DATE = '20070701'.
    HEADER-PURCH_DATE = SY-DATUM.
    Sales district
      HEADER-SALES_DIST = 'CC'.
    Incoterms (part 1)
      HEADER-INCOTERMS1 = 'EXW'.
    Incoterms (part 2)
      HEADER-INCOTERMS2 = 'XIAMEN'.
    Terms of payment key
      HEADER-PMNTTRMS = '1000'.
    Date for pricing and exchange rate
      HEADER-PRICE_DATE = '20070701'.
    HEADER-PRICE_DATE = SY-DATUM.
    Customer purchase order number
      HEADER-PURCH_NO_C = 'atest'.
    SD document category
      HEADER-SD_DOC_CAT = 'C'.
    Shipping conditions
      HEADER-SHIP_COND = '02'.
    Shipping type
      HEADER-SHIP_TYPE = '07'.
    HEADER-PURCH_NO_S = '1100511'.
    ENDFORM.                    " SUB_HEADER
    *&      Form  SUB_ITEM
          text
    -->  p1        text
    <--  p2        text
    FORM SUB_ITEM.
    Sales document item
      IT_ITEM-ITM_NUMBER = '001000'.
    Higher-level item in bill of material structures
      IT_ITEM-HG_LV_ITEM ='000000'.
    Item Number of the Underlying Purchase Order
      IT_ITEM-PO_ITM_NO = '1000'.
    Material number
      IT_ITEM-MATERIAL = 'VD4'.
      APPEND IT_ITEM.
      IT_ITEM-ITM_NUMBER = '001001'.
      IT_ITEM-HG_LV_ITEM ='001000'.
      IT_ITEM-PO_ITM_NO = '1001'.
      IT_ITEM-MATERIAL = 'CDX8004317R3J'.
    IT_ITEM-CONFIG_ID = '000001'.
    IT_ITEM-INST_ID = '00000001'.
      APPEND IT_ITEM.
    ENDFORM.                    " SUB_ITEM
    *&      Form  SUB_PARTN
          text
    -->  p1        text
    <--  p2        text
    FORM SUB_PARTN.
    Partner function
      IT_PARTN-PARTN_ROLE = 'AP'.
    Customer number
      IT_PARTN-PARTN_NUMB = '0000000090'.
    Item number of the SD document
      IT_PARTN-ITM_NUMBER = '000000'.
      APPEND IT_PARTN.
      IT_PARTN-PARTN_ROLE = 'VE'.
      IT_PARTN-PARTN_NUMB = '0000000107'.
      IT_PARTN-ITM_NUMBER = '000000'.
      APPEND IT_PARTN.
      IT_PARTN-PARTN_ROLE = 'SB'.
      IT_PARTN-PARTN_NUMB = 'OEM'.
      IT_PARTN-ITM_NUMBER = '000000'.
      APPEND IT_PARTN.
      IT_PARTN-PARTN_ROLE = 'AG'.
      IT_PARTN-PARTN_NUMB = '0001100511'.
      IT_PARTN-ITM_NUMBER = '000000'.
      APPEND IT_PARTN.
    ENDFORM.                    " SUB_PARTN
    *&      Form  SUB_SIN
          text
    -->  p1        text
    <--  p2        text
    FORM SUB_SIN.
    Sales document item
      IT_SIN-ITM_NUMBER = '001000'.
    Schedule line
      IT_SIN-SCHED_LINE = '0000'.
    Schedule line date
      IT_SIN-REQ_DATE = '07-01-2007'.
    Date type (day, week, month, interval)
      IT_SIN-DATE_TYPE = '1'.
    Order quantity in sales units
      IT_SIN-REQ_QTY = 5.
      APPEND IT_SIN.
      IT_SIN-ITM_NUMBER = '001001'.
      IT_SIN-SCHED_LINE = '0000'.
      IT_SIN-REQ_DATE = '07-01-2007'.
      IT_SIN-DATE_TYPE = '1'.
      IT_SIN-REQ_QTY = 5.
      APPEND IT_SIN.
    ENDFORM.                    " SUB_SIN
    *&      Form  SUB_COND
          text
    -->  p1        text
    <--  p2        text
    FORM SUB_COND.
    Condition item number
      IT_COND-ITM_NUMBER = '001000'.
    Step number
      IT_COND-COND_ST_NO = '000'.
    Condition counter
      IT_COND-COND_COUNT = '00'.
    Condition type
      IT_COND-COND_TYPE = 'VA00'.
    Condition rate
      IT_COND-COND_VALUE = 1.
    Currency Key
      IT_COND-CURRENCY = 'RMB'.
      APPEND IT_COND.
      IT_COND-ITM_NUMBER = '001000'.
      IT_COND-COND_ST_NO = '000'.
      IT_COND-COND_COUNT = '00'.
      IT_COND-COND_TYPE = 'PR01'.
      IT_COND-COND_VALUE = 1.
      IT_COND-CURRENCY = 'RMB'.
      APPEND IT_COND.
      IT_COND-ITM_NUMBER = '001001'.
      IT_COND-COND_ST_NO = '000'.
      IT_COND-COND_COUNT = '00'.
      IT_COND-COND_TYPE = 'VA00'.
      IT_COND-COND_VALUE = 1.
      IT_COND-CURRENCY = 'RMB'.
      APPEND IT_COND.
      IT_COND-ITM_NUMBER = '001001'.
      IT_COND-COND_ST_NO = '000'.
      IT_COND-COND_COUNT = '00'.
      IT_COND-COND_TYPE = 'PR01'.
      IT_COND-COND_VALUE = 1.
      IT_COND-CURRENCY = 'RMB'.
      APPEND IT_COND.
    ENDFORM.                    " SUB_COND
    *&      Form  SUB_CUCFG
          text
    -->  p1        text
    <--  p2        text
    FORM SUB_CUCFG.
    External item number
      IT_CUCFG-POSEX = '001001'.
    External Configuration ID (Temporary)
      IT_CUCFG-CONFIG_ID = '000001'.
    Instance Number in Configuration
      IT_CUCFG-ROOT_ID = '00000001'.
      APPEND IT_CUCFG.
    ENDFORM.                    " SUB_CUCFG
    *&      Form  SUB_CUINS
          text
    -->  p1        text
    <--  p2        text
    FORM SUB_CUINS.
    External Configuration ID (Temporary)
      IT_CUINS-CONFIG_ID = '000001'.
    Instance Number in Configuration
      IT_CUINS-INST_ID = '00000001'.
    Object type
      IT_CUINS-OBJ_TYPE = 'MARA'.
    Object key
      IT_CUINS-OBJ_KEY = 'D'.
      APPEND IT_CUINS.
      IT_CUINS-CONFIG_ID = '000001'.
      IT_CUINS-INST_ID = '00000002'.
      IT_CUINS-OBJ_TYPE = 'MARA'.
      IT_CUINS-OBJ_KEY = 'D2'.
      APPEND IT_CUINS.
    ENDFORM.                    " SUB_CUINS
    *&      Form  SUB_CUPRT
          text
    -->  p1        text
    <--  p2        text
    FORM SUB_CUPRT.
    External Configuration ID (Temporary)
      IT_CUPRT-CONFIG_ID = '000001'.
    Instance Number in Configuration
      IT_CUPRT-PARENT_ID = '00000001'.
    Instance Number in Configuration
      IT_CUPRT-INST_ID = '00000002'.
    Part_of item number
      IT_CUPRT-PART_OF_NO = '0280'.
    Object type
      IT_CUPRT-OBJ_TYPE = 'MARA'.
    Object key
      IT_CUPRT-OBJ_KEY = 'D2'.
      APPEND IT_CUPRT.
    ENDFORM.                    " SUB_CUPRT
    *&      Form  SUB_CUREF
          text
    -->  p1        text
    <--  p2        text
    FORM SUB_CUREF.
    External item number
      IT_CUREF-POSEX = '001001'.
    External Configuration ID (Temporary)
      IT_CUREF-CONFIG_ID = '000001'.
    Instance Number in Configuration
      IT_CUREF-INST_ID = '00000001'.
      APPEND IT_CUREF.
    ENDFORM.                    " SUB_CUREF
    *&      Form  SUB_CUVAL
          text
    -->  p1        text
    <--  p2        text
    FORM SUB_CUVAL.
    External Configuration ID (Temporary)
      IT_CUVAL-CONFIG_ID = '000001'.
    Instance Number in Configuration
      IT_CUVAL-INST_ID = '00000001'.
    Characteristic name
      IT_CUVAL-CHARC = 'ZS1_LV_HEIGHT'.
    Characteristic Value
      IT_CUVAL-VALUE = '02'.
      APPEND IT_CUVAL.
      IT_CUVAL-CONFIG_ID = '000001'.
      IT_CUVAL-INST_ID = '00000001'.
      IT_CUVAL-CHARC = 'ZS1_TOP'.
      IT_CUVAL-VALUE = '04'.
      APPEND IT_CUVAL.
      IT_CUVAL-CONFIG_ID = '000001'.
      IT_CUVAL-INST_ID = '00000001'.
      IT_CUVAL-CHARC = 'ZS1_LV_BOTTOM'.
      IT_CUVAL-VALUE = '01'.
      APPEND IT_CUVAL.
      IT_CUVAL-CONFIG_ID = '000001'.
      IT_CUVAL-INST_ID = '00000001'.
      IT_CUVAL-CHARC = 'ZS1_BOTTOM'.
      IT_CUVAL-VALUE = '01'.
      APPEND IT_CUVAL.
      IT_CUVAL-CONFIG_ID = '000001'.
      IT_CUVAL-INST_ID = '00000001'.
      IT_CUVAL-CHARC = 'ZS1_CB_DOOR'.
      IT_CUVAL-VALUE = '01'.
      APPEND IT_CUVAL.
      IT_CUVAL-CONFIG_ID = '000001'.
      IT_CUVAL-INST_ID = '00000001'.
      IT_CUVAL-CHARC = 'ZS1_FIXED_PT'.
      IT_CUVAL-VALUE = '01'.
      APPEND IT_CUVAL.
      IT_CUVAL-CONFIG_ID = '000001'.
      IT_CUVAL-INST_ID = '00000001'.
      IT_CUVAL-CHARC = 'ZS1_EK6'.
      IT_CUVAL-VALUE = '01'.
      APPEND IT_CUVAL.
      IT_CUVAL-CONFIG_ID = '000001'.
      IT_CUVAL-INST_ID = '00000001'.
      IT_CUVAL-CHARC = 'ZS1_EK6_VENDER'.
      IT_CUVAL-VALUE = '01'.
      APPEND IT_CUVAL.
      IT_CUVAL-CONFIG_ID = '000001'.
      IT_CUVAL-INST_ID = '00000001'.
      IT_CUVAL-CHARC = 'ZS1_AUX'.
      IT_CUVAL-VALUE = '02'.
      APPEND IT_CUVAL.
      IT_CUVAL-CONFIG_ID = '000001'.
      IT_CUVAL-INST_ID = '00000001'.
      IT_CUVAL-CHARC = 'ZS1_INTERL'.
      IT_CUVAL-VALUE = '01'.
      APPEND IT_CUVAL.
      IT_CUVAL-CONFIG_ID = '000001'.
      IT_CUVAL-INST_ID = '00000001'.
      IT_CUVAL-CHARC = 'ZS1_CA'.
      IT_CUVAL-VALUE = '01'.
      APPEND IT_CUVAL.
      IT_CUVAL-CONFIG_ID = '000001'.
      IT_CUVAL-INST_ID = '00000001'.
      IT_CUVAL-CHARC = 'ZS1_DXN_Q'.
      IT_CUVAL-VALUE = '02'.
      APPEND IT_CUVAL.
      IT_CUVAL-CONFIG_ID = '000001'.
      IT_CUVAL-INST_ID = '00000001'.
      IT_CUVAL-CHARC = 'ZS1_CAP_DIV'.
      IT_CUVAL-VALUE = '02'.
      APPEND IT_CUVAL.
      IT_CUVAL-CONFIG_ID = '000001'.
      IT_CUVAL-INST_ID = '00000001'.
      IT_CUVAL-CHARC = 'ZS1_PACK'.
      IT_CUVAL-VALUE = '02'.
      APPEND IT_CUVAL.
      IT_CUVAL-CONFIG_ID = '000001'.
      IT_CUVAL-INST_ID = '00000001'.
      IT_CUVAL-CHARC = 'ZS1_PAINT'.
      IT_CUVAL-VALUE = '02'.
      APPEND IT_CUVAL.
      IT_CUVAL-CONFIG_ID = '000001'.
      IT_CUVAL-INST_ID = '00000001'.
      IT_CUVAL-CHARC = 'ZS1_AUX'.
      IT_CUVAL-VALUE = '02'.
      APPEND IT_CUVAL.
      IT_CUVAL-CONFIG_ID = '000001'.
      IT_CUVAL-INST_ID = '00000001'.
      IT_CUVAL-CHARC = 'ZS1_RECTIFIER'.
      IT_CUVAL-VALUE = '01'.
      APPEND IT_CUVAL.
    ENDFORM.                    " SUB_CUVAL

  • How To Create Credit Memo Request In CRM

    Hi Friends,
    I have to create CMR i.e. Credit Memo Request with Header and Item details but I am not able to do it.
    Kindly let me know the BAPI / FM with some example. Also, do let me know which all values are mandatory for the FM or BAPI structures.
    I will definitely reward points if the solution will help me in creating the CMR.
    Thanks,
    Pradeep

    Hi Rekha,
    I have to create CMR with following details :
    Description To be displayed in Header
    Status : i.e. Create / Open
    Item Detail
    Product and quantity
    Hope I am clear in this.
    Regards,
    Pradeep Singh Dhadwal

  • Create Credit Memo Request based on % discounts of validwith out reference

    Hello Experts,
    Client wants to give credit memo request as 15% discounts on base price sold in the past. This kind of rebate discount is after every 3 months. Client just want to give straight discount instead of Rebate.
    Again credit memo request is prepared without reference to clients sales order. CR should have pricing new procedure condition type which says only 15% discount on ZPR0 base price.
    ZPR0 is Sales org/Dist Channel/Price List/Material.
    I made new % discount condition type in pricing procedure and maintained 15% in vk11
    This discount should take 15% of ZPR0 base price which is also maitained (Yearly changes).
    To fetch ZPR0 should I go for Routine with Base Condition for ABAPer?
    What is best solution you think deem fit. Appreciate your early response.
    Thanks

    Hi P Gomatheeswaran,
    Many thanks for useful tips. I had made discount From 1 only.
    However, I was not getting any Target Quantity. Then I realised that if I go to Item level in Sales tab there is order quantity & then it picked up price instead of 00
    Hi Lakshmipathi,
    Appreciate for very crucial answer of making PR00 as statistical. Thank you once again.
    I have rewarded the points.
    Thread is now closed.
    Rajiv Trivedi
    SAP-SD
    USA

  • GL account missing in credit memo request

    Hello every one,
    I am trying to creat credit memo request with ref to credit contract invoice but receiving a Document Incomplete message(GL account missing). Iu2019ve clicked on the Edit button and gone back and reviewed everything but I still canu2019t complete the process as I still keep getting the Document Incomplete message.  Can you please advise me.
    Thanks
    Dev

    Dear Sachindev,
    In general, Problem: G/L missing, is assosiated with Settings, maintained in T. Code: VKOA.
    Just Check
    Best Regards,
    Amit
    Dear Sachindev,
    In general, Problem: G/L missing, is assosiated with Settings, maintained in T. Code: VKOA.
    Just Check
    Best Regards,
    Amit
    Note: In T. Code: VA02, key-in your Sales Doc (in your case, Credit Memo Request) and go in to Sales Doc.
    From Menu-bar, Click:
    Edit --> Incompletion Log.
    This will lead to eror page, listing Error: G/L missing.
    Select line and click Tab: Complete Data
    This will lead you to another Screen: Analysis Account Determination
    Now, at left-side of the screen, you can see Columns: Procedure and Description.
    There, you will find
    KOFI --> PR00 (open drop-down option for PR00) --> 10 (KOFI) Cust.Grp/Material Grp/Acct.Key
    Double Click on it.
    IMP1: Instead of KOFI, it could be KOFK also; and instead of "Cust.Grp/Material Grp/Acct.Key", it could be "Cust.Grp/Account Key" or "Material Grp/Acct Key". Just note-down the entries, it will help you to assign G/L in T. Code: VKOA
    Now, at right-hand side of the Screen (i.e. Overview), You will find Access details 10 (KOFI)
    Now, there are two options:
    1. either System will determine the G/L, or
    2. still, G/L a/c missing
    In second case, down there on the same screen, notice the following:
    Field in condition table--Field in document---Value in doc.
    IMP2: Note-down the entries, under Column: Value in doc. as this will help you to maintain settings in T. Code: VKOA
    Now, go to - T. Code: VKOA
    Click on Table: 1 - Cust.Grp/Material Grp/Acct.Key (or as found in step IMP1)
    On to next screen, click Tab: New Entries
    now, maintain entries in to Fields:
    App: V
    CndTy.: KOFI (or as found in step IMP2)
    ChAc: INT (or as found in step IMP2)
    SOrg: 1234 (or as found in step IMP2)
    AAG: 01 (or as found in step IMP2)
    AAG: 05 (or as found in step IMP2)
    ActKy: ERL (or as found in step IMP2)
    G/L Account: You will get it from Accounts dept.
    Provision acc.: I don't think its reqd. as its being used for, say Rev. recog.
    Save the entry. Now, check the Sales Doc. in VA02 (as explained in the statring of Note).

  • Credit Memo Request w.r.t Service Orders

    Hi All
    We want to create Credit Memo request (CMR ) as follow up w.r.t CRM Service Orders, as of now below process is available
    Service order --> Confirmation --> Invoice --> CMR --> Credit Note.
    can anyone helpe me in configuring the below process
    Service order -->  CMR --> Credit Note.
    Best Regards
    Nagaraj G

    Hello Nagaraj
    The service order posts the planned cost in the system. and your requirement is to reduce the planned costs from the system by creating credit memo request in the system.
    As per the OSS message also this credit memo request will reduce the actual Cost/revenue not the planned cost/revenue.
    What i believe is  if you want to reduce the plan cost/ revenue. You just reduce the value in the service order itself rather than creating the credit memo request.
    Please let me know if i understood your scenario correctly below.
    you created a service order and planned cost/revenue  is posted into the system and later you realized that this service are not actually performed and there is no service confirmation is posted in the system. but you want to remove planned cost also from the internal order. 
    So in this above case i would suggest you either change the value in the service order itself. or cancel your service order.
    regards
    Naresh

  • Message V1478 - Credit memo request with reference to an invoice

    Dear all,
    Creating a credit memo request with reference to an invoice, I get the following message "Material in item 000060 does not exist in plant/storage location".
    Of course, this material exists in the plant and the storage location, as we could create the invoice without any problem.
    Any idea?
    Best regards,
    Iné

    Hello
    Generally, these errors may appear due to:
    - The plant is marked for deletion.
    - The plant should be copied from the referenced item.
    So, I would suggest you to
    - Check copying control for Invoice to Credit memo request, particularly, item.
    - Try and create Credit Memo Request with reference to sales order.
    - Or if you want rectify a invoice, then use invoice coreection request.
    Thanks & Regards
    JP

Maybe you are looking for