Referencing condition values when creating return order is wrong...

Hello Experts,
Lets say I have a billing document that has 3 line items namely material A, B and C.
Now, I created a return order for material A with 2 separate line items because of different
storage locations. Now, is there a user-exit that lets my 2nd line item copy the condition values of the
1st line item of the reference billing document? because they are of the same material(A).
Currently, we are having problems when creating a return order having multiple line items of the same material
because the succeeding line items copies the wrong condition values of the referenced billing doc.
For example:
Original billing document:
Material      Discount
A          100
B          200
C          300
Return Order:
Material     Discount
A          100
A          200
A          300
The succeeding line items of my return order must point to the first line item since they are of the
same material. Hope you can help me guys. Thank you and take care!

You may need to explore in the copy control definition, especially the pricing type defined. Check if any customized requirements exists for condition which checks w.r.t to the document number instead of reference document number item.

Similar Messages

  • How to manual maintain TAX condition value while creating sales order

    Hi
    I am creating one Tax condition suppose JLST without access sequence .
    while creating sales order I am manually maintain the % value of TAX. suppose it is 1%
    then I see It show some value in TAX .
    save that sales order & creating delivery document for that but when I create Invoice its show error.
    " Tax code  in procedure CMTAXP is invalid ".
    I know the configuration only for Tax condition with vk11 condition record .
    BUT now I want to maintain TAX condition at the time of creating sales order.
    so I remove the access sequence of that condition .
    but It shows tax code error while billing.
    My main question is that If i maintain condition record while creating sales order then how i can assign Tax code .
    Can it is possible ?
    if yes then How?
    please help me.
    thank you

    Hi,
    The "straight-forward" answer for Tax Code creation is contact the FI consultant. He shall help you, by creating Tax codes.
    I have tested, with creating a tax cond type (copy of MWST) & manually entering values. I can create Sorder, Dlv and Bill but I cannot create an Accounting document. That is because of every line (amount) a Tax code is necessary.
    I THINK, you can NOT have manually filled tax codes; access sequence is needed to get the tax value (%) and the Tax code from the condition record.
    There is lot of material on the web to understand Tax classification, code etc. etc. See a useful link below -
    http://www.sapgeek.net/2010/04/sd-determines-tax-code/
    In short Tax code is a must and take the help of your FI consultant for the configuration of the same.
    BTW - Tax code is already made created for MWST, therefore I suggested that you can use MWST. Furthermore, you can change the values corresponding to Tax codes in FTXP.
    But if you are a beginner in these things, better take help.

  • Serial number copy functionality when creating return orders from standards

    Hi all,
    Serial number is not copying when i create return order from the standard orders in below scenario.
    I implemented one BADI for copying Serial number to Sales order when doing Post goods receipt.
    So after doing inbound delivery and PGR, serial number is copied to the sales order but when i create return order with reference to the Standard order Serial number is not copying.
    When i go VA02 for standard order and selecting the technical objects then if i create the return order serial number is copying.
    Please help me in the above issue.
    I used the following logic to copy serial number from inbound delivery PGR.
    UPDATING THE SERIAL NUMBER TO THE RESPECTINVE SALES ORDER LINE ITEMS
                CALL FUNCTION 'SERNR_ADD_TO_AU'
                  EXPORTING
                    sernr                 = lwa_sernr-sernr
                    profile               = 'NEOP'
                    material              = lwa_mseg-matnr
                    quantity              = 1
                    document              = lwa_mseg-kdauf
                    item                  = lwa_mseg-kdpos
                    debitor               = lwa_mseg-kunnr
                    vbtyp                 = 'C'
                    sd_auart              = lv_auart
                    sd_postyp             = lv_pstyv
                  EXCEPTIONS
                    konfigurations_error  = 1
                    serialnumber_errors   = 2
                    serialnumber_warnings = 3
                    OTHERS                = 4.
                IF sy-subrc = 0.
                  CALL FUNCTION 'SERIAL_LISTE_POST_AU'.
                IF sy-subrc EQ 0.
                  COMMIT WORK.
                  WAIT UP TO 2 SECONDS.
                ENDIF.
    Edited by: Rajesh Sanapala on Feb 16, 2009 12:48 PM

    hi.
    I have the same problem.
    Can you please share how you solved it?
    thank you
    Bill

  • VPRS has condition value 0 in Returns Order item

    Hi Experts,
    Our customer created a returns order refer to F2 invoice, but in returns order its VPRS has condition value 0. It caused accouting document error in Credit for Returns. There was no cost related accouting posted.
    Our Credit for Returns is order-ralated.
    But when we update the pricing in returns order item, VPRS has the right value.
    Any advice will be appreciated.
    Thank you in advance.
    Richard

    In addition to the suggestions already given, you may also have a look at the following notes which may help you.
    1)  Note 27062 - VPRS: deliv-related billing document for returns
    2)  Note 615432 - No cost with non-valuated goods receipts
    3)  Note 672681 - VPRS calculation in RK document
    thanks
    G. Lakshmipathi

  • Free Goods not flowing when creating return order through invocie reference

    Hi ,
    we have configured free goods scenario for our client.
    Free goods are determined in sales order based on condition maintained
    In sales order Tan ,and Tann item category are determined and based on SO , delivery and billing type (F2 ) happens.
    Now we are creating the RE  return order , with reference to Billing document F2 , on copying the items , system is only copying the main goods article and free goods item cannot be determined .
    we have done the following configutration ,
    Item category assignment as RE  NORM  REN RENN  (free goods )
    Below detail of  Copy controls
    1)  F2 to ZRET
    Header level
    data type 051                  copy requiremetn 001
    data type 301
    data type 003
    Item level
    TANN  to RENN
    Data type151           copy reui 303 
    data type 102
    data type 002
    condition 251
    can you please check and confirm , how this can be handled or pls give me the config steps
    Thanks

    Hi
    If you want to happen this, you should assign the free goods procedure to the combination of Sales orgDistChDivDoc Pr ProcCust Pri Proc
    Thanks,
    Ravi

  • Net value issue while creating return order with reference to billing

    Dear All,
    I created SO / DEL/ BILLING for qty 100 say net value-20000.When i created Return order with  refrence to billing document,
    net value appearing same ( 20000) for 50 quantity.Pl do advise asap as its required urgently.
    Thanks in advance.
    Regards
    raj
    Edited by: raj_sapsd on Aug 20, 2010 9:18 AM

    surelly problem in VTAF
    F2 to RE
    DATAT: 103
    DATAT: 103
    DATAT: 003
    Coping requirement 021
    item level TAN  and ietm cat proposal G2N
    DataT: 153
    Datat: 104
    datat: 004
    Coping requirement 303
    Update doc Flow X
    only possibilites Removed my Moderator
    Edited by: Lakshmipathi on Aug 21, 2010 9:31 AM
    Please avoid asking for points

  • Free of goods should come automatically back when creates return sales order

    Dear sd experts
    I Know one thing that free goods wont come back ,, for ex when we create return sales order free goods wont come bz in VTAF copy requirement 302
    it means dont copy free goods
    Now i went VOV7--- for item category TANN-- i have maintained billing relevance A it means free goods items will come in to billing
    now when i am creating return sales order with reference to billing Free goods are not coming
                  My doubt is suppose if  my clinte asks free goods   will come automatically when creates returns how to do it ?

    Hi Ali,
    I just checked and understand in the below way:
    When I Do the PGI system is posting say 50 USD to COGS. But, when I do the Invoice ( 100 USD is credited to sales account and 100 is debited to discount account) So at the end 100 is getting Nullified. But, when we see P&L account you will COGS of 50 USD.
    I checked along with my FI consultant and she confirmed that its posting as per expected way only.
    Let me know if you need more details here.
    Regards, Sai Krishna.

  • Error while creating return order(Complaint) in IC web client

    Hi SAP Experts,
    I am getting following Error while creating return order(Complaint) in IC web client.
    Error when processing your request
    What has happened?
    The URL http://sapcrd.comfort.com:8000/sap/bc/bsp/sap/crm_ic/default_delta.do was not called due to an error.
    Note
    The following error text was processed in the system CRD : Exception condition "NON_EXISTING_HANDLE" raised.
    The error occurred on the application server sapcrd_CRD_00 and in the work process 2 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Function: PRC_PD_HEAD_ADD_COND of program SAPLPRC_PRICING_API
    Function: CRM_PRIDOC_UPDATE_EC of program SAPLCRM_PRIDOC_COM_EC
    Form: EXECUTE_CALLBACKS_PLANNED of program SAPLCRM_EVENT_OW
    Function: CRM_EVENT_SET_EXETIME_OW of program SAPLCRM_EVENT_OW
    Function: CRM_ORDER_COMPLETE_SINGLE_OW of program SAPLCRM_ORDER_OW
    Function: CRM_ORDER_MAINTAIN_SINGLE_OW of program SAPLCRM_ORDER_OW
    Function: CRM_ORDER_MAINTAIN_MULTI_OW of program SAPLCRM_ORDER_OW
    Function: CRM_ORDER_MAINTAIN of program SAPLCRM_ORDER_API
    Method: IF_EX_ORDER_SAVE~PREPARE of program ZCL_IM_PRICE_ADJUSTMENT=======CP
    Method: IF_EX_ORDER_SAVE~PREPARE of program CL_EX_ORDER_SAVE==============CP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system CRD in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server sapcrd_CRD_00 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 2 in transaction ST11 on the application server sapcrd_CRD_00 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 330 -u: VORUSX -l: E -s: CRD -i: sapcrd_CRD_00 -w: 2 -d: 20080324 -t: 021723 -v: RABAX_STATE -e: RAISE_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    Maximum points will be awarded for useful information.
    Thanks,
    Rony

    Hi,
    I notice there is a Z class being called.
    Method: IF_EX_ORDER_SAVE~PREPARE of program ZCL_IM_PRICE_ADJUSTMENT=======CP
    You should check this customized class.
    Cheers,
    cady.

  • Create Return order

    Hi all,
      I'd like to create return order at the same time of the creation of one standar order. Both linked.
    Firstly, I go to CRMD_ORDER to create standar order and I've customized the following event:
    Execution Time 1 Immediately
    Priority 1
    Object Name ORDER
    Event SAVE
    Attribute <*>
    Function ZCREATE_RETURN_ORD
    But this event is not executed. Others are executed and create both document correctly.
    The problem is that they are not linked despite of I developed the code code for.
    As the return order is created firstly, the standard order guid is not in BBDD, so when I add DOC_FLOW to the standard FM, the creation of ther Return order fails.
    Do you know any point of the program or event that I could use to create a return order using an standar one at the same time?
    Thanks in advance!

    Hello Carlos,
    I think you may consider using action.
    For example, create an action with method COPY_DOCUMENT.
    Hoep this could be helpful.
    Best regardsm
    Maggie

  • How to save LIST_LINE_ID of Price List when create Sales Order Line

    I dont know how save the LIST_LINE_ID of the Price List on Sales Order or anywhere when create Sales Order Line.
    I create with the following steps:
    Step 1: Create Price List for Item A with two line: Line 1 (Unit Price = 10,5, Pricing Attribute with Tax Classification Code = 5%), Line 2 (Unit Price = 11, Pricing Attribute with Tax Classification Code = 10%)
    Step 2: I create Sales Order Line with Item A, Tax Classification Code = 5% --> Unit Selling Price = List Price = 10,5 but dont bookorder
    Step 3: I update the Unit Price of Line 1 into 11.55.
    Step4 : I book this Sales Order. Howerver, I use form personalization to customize Book Event: if the Unit Price of Item on Price List > Unit Selling Price then cant not Book. But I dont konw List Price of Sales Order belong the line of Price List.
    Please help me check this issue. Thanks for your supports.
    BinhTC
    Email: [email protected]

    Bob's right - except that if you have OM: List Price Override Privilege set to 'Unlimited' (and from your scenario it sounds as if you have) it is possible that the value in unit_list_price will vary from what was originally retrieved from the price list.
    In that case, a safer bet is to use :LINE.original_list_price in your personalization as this will always contain what was originally retrieved and will mean you can avoid any repeat lookup via list_line_id.
    Regards,
    Jon

  • Cancelled invoices are also allowing to create Return order

    Cancelled invoices are also allowing to create Return order   with invoice references, how to restrict that so Cancelled invoice should not allow to create
    Return order with reference.
    Please help.
    If it is possible in standard how?

    Dear Gautam,
    I am also facing the similar problem and looking for a suitable solution. In case you if you could implement some solution to prevent creating return sales order with reference to cancelled invoice , then please update me too.
    Thanks & Regards,
    Pawan Patel

  • Error while creating Return order with reference to Complaint

    Hi,
         We are using Complaint Management in CRM Service. After creation of Complaint, we want to create Return Order that is going to replicate in R/3 .
    We are able to create Return request in CRM as a follow up document. However we are not able to replicate the return order in R/3.
          We have created Return Document type CRMR in R/3  with related Item Category REN assignment & corresponding number ranges assignment.
    We facing problem, as this document is not getting replicated in R/3 & in Complaint, it shows message as "The document is being distributed at the moment, and therefore cannot be changed. The document will be ready for input once it has been distributed successfully.”
    In SMW01, it is showing as fully processed document. However in error segment it shows as error” No upload into R/3" &"R/3 Adapter is called".
    Could please suggest any configuration we have missed or additional configuration to be done?
    Regards,
    Arun

    Hi Arun,
    Have you check & maintained middleware setting for  document transfer
    (tcode R3AC1). Check object SALESDOCUMENT and try maintain transaction
    type there. Don't forget to activate use tcode R3AS.
    hope this helps.
    Gun

  • Run Time Error in e-commerce crm 5.0 when creating new order

    Hi all,
    I am getting Run Time Error in e-commerce crm 5.0 when creating new order, shopping basket is comming , but while creating order , getting run time error.
    Thanks,
    Nagesh

    Hi nagesh,
    Are you able to resolve the issue. Please let me know the solution.
    I had started a thread with a same problem but in ERP E-commerce.  Points will be rewarded if you provide the solution in the thread below
    Re: Run Time Error in e-commerce crm 5.0 when creating new order
    Thank You
    Ram

  • Workflow issue when create Purchase Order automaticlly based on Sales Order

    dear experts,
    I got a problem when create purchase order automatically once the Sales Order created, the field ERNAE of the Purchase Order creatd is WF-BATCH, but we want this field to be the user log in the system, like John. Smith
    it seems this is a configuration issue, but i am not familar with workflow, do you experts have any solutions?
    thank you in advance.
    Hongtao

    thank you for you reply my friend.
    yes, i mean the PO creator.
    I just create a SO in VA01, then change the Schedule line category from CN to CP, then SAVE, then Confirm the Delivery Proposal. after all this, the PO will be created automatically by Workflow. Because when I display the PO via ME23N, it displays [Standard PO XXXXX  created by Workflow-System] on the top of the screen.
    But i do not know which workflow is trigered to create the PO. and i tried SWEL like you said, there is no record listed.
    do you have any other suggestions? thank you so much, friend.

  • Create Return Order copy from Billing created from DBM Order Processing

    Hi SAP Gurus
    I have scenario where the user requested to create return order based on Billing created from DBM Order Processing.
    I know that, we can create return order from DBM. but the function copy based on order. the user is requested to do return
    by billing document ( function as SD )
    is this requirement can be done in SD VA01 where the user can copy the billing created from DBM and create return order using SD function

    Hi,
    in DBM you regulary have mulitiple invoices per order (due to split).
    You either can cancel an certain invoice and adapt the order or create a returns order based on an given order where you can select certain (e.g. invoiced) items.
    BR

Maybe you are looking for

  • Just had to wipe and my Mac but I'm still getting storage message issues.  The About Storage screen says I have 285GB of "Other."  What is it?  Where is it?

    Just had to wipe and my Mac but I'm still getting storage message issues.  The About Storage screen says I have 285GB of "Other."  What is it?  Where is it?  I can't even restore my photo library.

  • Schedule archiving jobs

    Hi, We are trying to schedule periodically the archiving jobs for several objects. To be more specific, we begin with MM_EKKO archiving object and we would like to chain the 3 steps : preprocessor the write, then delete. Chaining delete after write i

  • Flex builder 3.0.1 check sum

    Today I download flex builder 3.0.1 (FB3_win.exe windows version standalone ), when use md5sum check the file, It not same as the adobe's page (Windows: 5685090ac5f2a514075e7a7bd7ba1eb0), my checksum is (963d2a6fee8f9fc3fd496d1e69de093a FB3_win.exe),

  • Next to spotlight

    There is an icon next to spotlight, on the top right of my screen that I do not want up there. I have tried apple + click to drag it off, but it simply clicks the icon. This icon is run by an application Net Barrier the kicker is that I deleted that

  • Creating interval parition to existing range partition

    I have a table which has range partition on a number column. CREATE TABLE TEST( id INT NOT NULL, start INT NOT NULL PARTITION BY RANGE (start)      PARTITION old_Data VALUES LESS THAN (1000000) TABLESPACE old,      PARTITION new_Data VALUES LESS THAN