Change return order(Doc type: RE) with BAPI

Hi Experts,
I am trying to change material quantity return document(Doc type: RE) through BAPI.
I have tried using BAPI : BAPI_CUSTOMERRETURN_CHANGE, but not able to change quantity, though the BAPI returns success message.
Is there any other BAPI/FM available to achieve same functionality.
Thanks,
Sri.

Is there any one who can throw some lights on this..

Similar Messages

  • Scheduling agreement with relase - doc type LPA with JIT

    Hi
    can any one give the steps for Scheduling agreement with relase - doc type LPA with JIT process.. and explain how the JIT will work in SA.
    Pls advise what are config required and what the user tcode needed to perform the SA with JIT concept.

    Dear Friend,
    Without release documentation(Document type LP)
    The delivery schedule lines have official character-that is to say,they are transmitted to the vendor as they are saved in the system.The system does not document in detail releases aganist the scheduling agreement that have been sent to the vendor.Therefore,in the case of the document type without release documentation,the message control facility should be set up in such a way that a message is immediately sent to vendor if any changes are made to the delivey schedule stored in the system.
    With release documnetation(Document type LPA)
    If you use scheduling agreement with release documentation,the delivery schedule lines are not transmitted directly to the vendor.Intially ,the lines of the delivery schedule stored in the system for an LPA scheduling agreement for an internal information only.A message informing the vendor of your material requirements cannot be transmitted to the vendor until you explicitly create an SA release,that is forecast (FRC) or Just in Time(JIT) delivey schedule.Through this process,you can change the way schedule lines are represented.With release documentation,you can disply the SA releases(delivery schedules) transmitted to a vendor over a certain period of any time.This enables you to trace precisely when you sent which information to vendor.
    Regards
    Pramod

  • What is the purpose of using rush order  doc type?

    what is the purpose of using rush order  doc type?

    hi,
    In a rush order transaction, the customer picks up the goods or you deliver the goods on the same day as the order is placed. In the standard system, when you save this sales document type, a delivery is automatically created and billing is related to the delivery.
    In the standard system, sales document type SO is saved for rush orders with immediate delivery type LF. Once the goods have been removed from storage, the goods are picked, and goods issue is posted.
    Once the billing documents are created (for example, in collective processing), invoice papers are printed and sent to the customer.
    CHAN

  • VF11 wrongly created with RV Doc type and with not clear status.

    Hi All
    Issue: There are 2 billing documents which were created(VF01) in March are canceled (VF11) in May. Cancel document is saved with a message (No automatic clearing of billing document XXXXXXXXX) and message diagnosis saying that u201CThe Automatic clearing of billing document and reversal is not possible. This may be, for example, because the line item update is deactivatedu201D
      In the SD document flow cancel billing document is created and it's posted to accounting with Document type RV(which is not configured in the billing  types) and it is in not clear status.
    2 Sales order types are ZNRC(No Rebate u2013 Credit)    second is ZCR (CM Req With Refer).
    Order Type  : ZNRC , Billing type :ZG2, Cancel billing type :Z5, Accounting document in billing type for ZG2: is DG and accounting document in cancel billing type Z5 is :(_) blank.
    Order type:  ZCR Billing type :G2, Cancel billing type :S2, Accounting document in billing type for G2: is DG and accounting document in cancel billing type S2 is :(_) blank.                                                
          FI document type Not maintained in the cancel billing type configuration because this should be determine by reversal document type DA which is maintained in DG document type from FI side. It will be triggered in VF11)
    The above configuration is working with the order created VA01,billing VF01 and cancelling VF11 done in same period. If the order and billing done in old period and canceling(VF11) done in current period than FI document creating with RV document type and with not clear status in the document flow.
    I reviewed similar issues with SAP Note and with below explanation:
              "There are 2 procedures that are possible when Vf11 is posted.
              Old Procedure - An FI "Reversal" document was created that was not connected with the orignal.
              New Procedure - A Real FI reversal was carried out with clearing."
    In this case, our system is following with new procedure except above mentioned orders created in previous period and and canceled in current period.
      My Questions are: How the RV document is getting triggered here? why the cancel document (Reversal FI Doc) is not clearing?
         Appreciate your answers or suggestions.
    Thanks in advance,
    Sunil
    Edited by: Sunil kumar Matta on Jun 9, 2011 3:40 PM

    Thank you Ivano.
      I referred SAP note 1259505 and 339928. But initially we thought of none of the symptoms mentioned in the SAP note are matching with our issue. Then we contacted SAP online support and they suggested checking one SAP note (Mentioned above).
      Our system is following new cancellation procedure, but itu2019s failing only for some few documents.
      Finally we identified several reasons for the issue. One is profitability segment in the billing document and cancelled document is different due to some changes in segment assignments. Another one is consolidation- consolidation document does not exist in the billing document list but it is getting created in Canceled document (VF11).(Consolidation postings are switched off some time back and now itu2019s on)
      After some discussions it is decided to include accounting document type (Reversal) in cancel billing types to avoid default RV document type in canceled billing document accounting document. And non-cleared documents need to be created manually in F-32.
      Thread is closed.
    Sunil

  • Change the backend doc type from PR to PO in BADI BBP_TARGET_OBJECTS.

    Hi,
    We have followed below approach for backend document type determination.
    1. A custom function module contains the logic to determine the backend document type of a Shopping cart line item. THis function module, performs many checks and hence cannot be called in any BADI that is executed in Foreground.
    2. I am using BADI BBP_TARGET_OBJECTS to change the follow document type by calling the custom function module.
    Issue here is, if the backend document type of a line item is Purchase requisition (2) by SAP standard, and if I try to change it to Purchase order, it gives run time error and ends up in creation of Purchase order.
    After further investigation I found that this line item (with default backend doc type as 2) has a desired vendor. If we change the desired vendor of this line item to fixed(To Partner function 19 from partner function 39), it allows us to change the doc type from Purchase requisition to purcahse order in BADI BBP_TARGET_OBJECTS.
    But changing the partner function is possible only in BBP_DOC_CHANGE BADI, and I cannot call the custom function module there, as it may impact the performance.
    Is there any other way, I can change the partner function in any of the BADIs called in background?
    Or Is there any way by which I can change the backend document type from PR to PO in BBP_TARGET_OBJECTS?

    Hi Parab
    if you swaping 39 to 19 viadoc change badi
    REQUESTER has a control on Purchase ORDER Vendor and BUYER lost a control so your business has to decide.In this case procurement department lost their control.
    Fixed vendors are like inforecord and contract negotiated for best price ..
    Muthu

  • Integration of ECC Scheduling Agreement (Doc Type LP) with SAP TM

    Hello Experts,
    I am trying to integrate ECC Scheduling Agreement (Doc Type LP) to create OTR in TM System. I have maintained below settings:
    1. Create and Activate Control Key
    2. Output determination procedure linked to LP has output type TRS0 with requirement 27 assigned.
    3. Output condition record has been created
    4. I have checked Business Functions are also active
    I was able to transfer other Document Types like OR; RE; FD (ECC Free of Charge); SDF (ECC Subsequent Delivery - Free of Charge); Consignment Fill up and Consignment Pick up by maintaining these settings, but not able to push Scheduling Agreement LP to TM.
    The output TRS0 is not appearing automatically and if I try to insert and execute this output in Scheduling agreement, Output is failing with error message: "Order is not TM-relevant"
    Is there any other config or mapping or SAP Note that needs to be applied to achieve this integration? Because I believe standard integration is available for ECC Scheduling agreement (I have read in help.sap.com).
    Thanks and Regards,
    Vikram Bhardwaj

    Hello Vikram,
    You mean this documentation:http://help.sap.com/saphelp_tm81/helpdata/en/9c/787f3c0a771e57e10000000a114084/content.htm?frameset=/en/44/b0488e9c35612be10000000a155369/frameset.htm ?
    I think there is talking about the integration for SCM Basis as SOS, not Order Integration.
    Regards, Marcelo Lauria

  • Event : changing purchase order's type in transaction ME21N

    Hi all,
    I am looking for a user exit or an enhencement to set some abap code when a purchase order's type is changed by the user in transaction ME21N.
    Thanks.
    Regards,

    Hi,
    Please find the user exit list below for ME21N. You can try out.
    USER EXIT
    MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1 Enhancement to Document Overview ME21N/ME51N
    MEVME001 WE default quantity calc. and over/ underdelivery tolerance
    MM06E001 User exits for EDI inbound and outbound purchasing documents
    MM06E003 Number range and document number
    MM06E004 Control import data screens in purchase order
    MM06E005 Customer fields in purchasing document
    MM06E007 Change document for requisitions upon conversion into PO
    MM06E008 Monitoring of contr. target value in case of release orders
    MM06E009 Relevant texts for "Texts exist" indicator
    MM06E010 Field selection for vendor address
    MM06E011 Activate PReq Block
    MMAL0001 ALE source list distribution: Outbound processing
    MMAL0002 ALE source list distribution: Inbound processing
    MMAL0003 ALE purcasing info record distribution: Outbound processing
    MMAL0004 ALE purchasing info record distribution: Inbound processing
    MMDA0001 Default delivery addresses
    MMFAB001 User exit for generation of release order
    MRFLB001 Control Items for Contract Release Order
    AMPL0001 User subscreen for additional data on AMPL
    LMEDR001 Enhancements to print program
    LMEKO001 Extend communications structure KOMK for pricing
    LMEKO002 Extend communications structure KOMP for pricing
    LMELA002 Adopt batch no. from shipping notification when posting a GR
    LMELA010 Inbound shipping notification: Transfer item data from IDOC
    LMEQR001 User exit for source determination
    LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001 Customer-Specific Source Determination in Retail
    M06B0001 Role determination for purchase requisition release
    MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
    MEETA001 Define schedule line type (backlog, immed. req., preview)
    ME590001 Grouping of requsitions for PO split in ME59
    M06E0005 Role determination for release of purchasing documents
    M06E0004 Changes to communication structure for release purch. doc.
    M06B0005 Changes to comm. structure for overall release of requisn.
    M06B0004 Number range and document number
    M06B0003 Number range and document number
    M06B0002 Changes to comm. structure for purchase requisition release
    Thanks,
    Raj

  • Getting error in while changing sales order which is created using BAPI

    Hi All,
       I have created the sales order using BAPI ( BAPI_SALESORDER_CREATEFROMDAT1 ) and i am successfully creating sales order using this BAPI. But while i want to change sales order iam changing Shipping Conditions in Header Data of sales order .its giving an error .can any know any thing about this.
    Error mesage :    No status object is available for SDI 300082407/10    (Order Number/Item Number)
    In Header i  am passing these values ...
         wa_order_header_in-doc_type = vbak-auart.
        wa_order_header_in-sales_org = vbak-vkorg.
        wa_order_header_in-distr_chan = vbak-vtweg.
        wa_order_header_in-division = vbak-spart.
    Do i required to pass the below values ? in Header structure ( BAPISDHEAD1 ).
    REFOBJECTTYPE
    REFOBJECTKEY
    REFDOCTYPE
    Regards,
    Sudhakar Reddy A

    rectified

  • Table for combination of Purchase requestition doc type and Purchase order doc type

    Hi,
    scenario:
    Purchase requestion has document type of Direct purchase which has allowable item category "Standard, consignment, subcontracting, third party and stock transfer".
    Purchase order has document type of indirect purchase which has allowable item category "standard and services".
    Now i saw in Define Document type OMEC, 'Doc type-Direct purchase' of purchase requestion is being linked to 'Doc type-Indirect purchase' of purchase order.
    Question:
    Can you please let me know how to pull of data for combination of  'Doc type-Direct purchase' of purchase requestion and 'Doc type-Indirect purchase'  of purchase order from SE16N? (assuming that we dont know what PR is converted to PO for the above combination)
    Note: Please don't delete this thread

    You did the hardest part: finding the custo in SPRO.
    Once you there, just click "table view" :
    and then on "print"
    Once you click, you see the table name you are looking for:
    Hope it helps,
    Génia.

  • Changing pProduction Order which is link with DMS

    Hi, All,
    i have one query,
    I linked doc's to Production order and saved. That production is now completed. So production order is closed. But i want remove one Doc from the attachment. I tried but the shows error messge'
    ''this tracnsaction is not allowed to change production order' and forther 'invalid selection'
    give solution.
    rgds
    Ben

    Hi,
    I have a similar requirement where I need to populate the Material Documents (Drawings) in the Document Overview of the Production Order while creating using tcode CO01. I was able to populate the document for the header material but not able to find ways to populate Material Documents (Drawings) for the component materials.
    Please let me know if there is any configuration settings for this or is there any Userexits??
    Thanks in advance,
    Ravi

  • Sales order doc types to Roles - IMP question

    Dear Gurus :
    We have a requirement .We are revising users  who has authority  to do certain   SD transactions like  superviosr has access to all t codes related to sd. billing co ordinatior will have access to all billing docs and t codes.
    Requirement is :
      I have ot assing Sales order document types to roles. Any idea how to do it ?
    Full reward points will be given.
    Vanbills

    Dear van bills
    Through two options, you can achieve this
    - Basis team people can control authorization for specific user ids
    - Apply transaction / screen variant via shd0 so that you can decide which user can enter / alter datas.
    thanks
    G. Lakshmipathi

  • Error in attribute changes for a doc., type

    Hii experts,
        I'm trying to change the attributes for a doc., type DF and while i'm saving i'm getting an error
    Doc., type AN: number range is used for ledger Z1 withdoc., type Z1
    Doc., type EU: number range is used for ledger Z1 withdoc., type Z1
    Doc., type EX: number range is used for ledger Z1 withdoc., type Z1
    Doc., type KN: number range is used for ledger Z1 withdoc., type Z1
    Doc., type ML: number range is used for ledger Z1 withdoc., type Z1
    Doc., type NT: number range is used for ledger Z1 withdoc., type Z1
    Doc., type RA: number range is used for ledger Z1 withdoc., type Z1
    Can you please tell me what to do. I appreciate your help and points will be given

    Hi,
    Is this happening for all the types of Transactions like Sales, Service, etc.? Is that data that you are using is proper? And can you check if the countries are properly maintained in the system? Check if the country is a mandatory parameter or some country specific checks are executed in the system.
    You can check for the countries in the System from transaction code - SPRO -> SAP NetWeaver    -> General Settings -> Set Countries -> Specify Countries for mySAP    Systems.
    Hope this will help.
    Thanks,
    Samantak.

  • Output Type determination with BAPI call

    Hello SAP experts,
    Thank you in advance for any guidance or ideas you may have.
    We are modifying an outbound delivery document with the following functions:
    bapi_outb_delivery_change and ws_delivery_update
    and we need to cause an outbound type to be determined(executed) 
    This process works when we post goods issue manually but does not work when we post goods issue via an ABAP program using the above mentioned functions
    Sincerely,
    Jim

    Hi,
    For Output determination the condition technique has to be followed.
    1) Maintain Output condition table -V/57
    2)maintain Access sequence
    3)Maintain Output condition type-V-30
    4)Maintain Output determination procedure
    5)Maintain condition records in VV11
    Besides you should also assign the Output types to Partner function
    Assign Output det.pro to sales document header & sales document type (eg: OR)-V/43
    Assign Output det.pro to Item category-V/69
    The condition types for Output in your case is BA00(standard).
    Have you done all these ?
    I hope this would be helpful for you.
    Saplinx

  • Purchase order Doc type

    Hi,
    While making PO,i want to make Account assignment category to be mandatory for a particular document type.
    How to do this?
    Regards

    hi,
    Its not done for the document type...
    either it can be done for the material type or from PO screen layout...
    For PO its done from
    SPRO --> MM --> Purchasing --> PO --> define screen layout -->? choose me21 --> Basic data, item --> make it mandatory...
    SPRO --> Logistics general --> MM --> Mateirla type --> define material type --> screen layout --> check here...

  • Return Order Changed/Re-assigned to Diff Sales Order

    Hi All SD gurus,
    I have a very weird case here and am wondering whether anyone can gives me some leads here.
    A return order ( customized ) was created with reference to a Sales Order. A subsequent return delivery and Post Goods Receipt was performed. Looking at the doc flow, let say Return Order <i>ABC</i> is attached to Sales Order 9-001. After awhile, upon rechecking, Return Order ABC was now assigned to another Sales Order 9-003 and Sales Order 9-001 is now assigned to a new Return Order <i>BCD</i>. Sales Order 9-001 also has subsequent Credit memo Request, Credit memo and Purchase Order.
    What could be the possibility of this happenning. I have checked on the change history for return order <i>ABC</i> but there's no indication of deletion or re-assignment. I am totally puzzled by this case. I have tried checking in OSS but seems like i can't find the relevant raised issue.
    This case is indeed very weird and my apology for posting it in the first place but I'm running out of ideas on how this can be happenning. Any leads will be very very much appreciated here.
    Warmest Regards and Thanks in advance,
    Edie O

    Hi Edie,
    Check the copy controls Billing to Sales Documents(VTLA).Mainly the check the check box reference documents.Check the Header in copy controls caerfully.
    Reward point if its useful
    Thanks&Regards
    Vikram.M

Maybe you are looking for

  • Adobe Reader 10.1.7 crashing with memory access violation

    After upgrading to 10.1.7 on some Windows Server 2003 SP2 (32-bit) terminal servers, we get Adobe Reader X unable to open any PDF. It launches for a brief second and then closes, apparently with exit code -1073741819 which I was able to get from runn

  • Audio not working in XP

    Hello, I recently recieved a new alumi 20" Intel iMac and after installing Leopard, decided to install Windows under Boot Camp. Everything installed smoothly except the audio does not work. Going into the sound preferences, it says there is no audio

  • Missing version field in response from server when accessing resource: (htt

    I'm getting the above error when I specific a version # in the <jar> field under <resources>. If I leave the version out, the application works. If I put in it fails. In both cases I am supplying a version.xml file. From the logs (at the end) I only

  • BAPI Input Table

    Hi, 1. I need to know how to implement a table as input for a bapi. We've created a BAPI (RFC Func.) via SE37 and added input tables to tables TAB. But no sure if this is correct. How can we try this BAPI via SE37. 2. Is there very generic sample RFC

  • Dynpro table -dynamically change table header name

    how to change table header name at runtime ? for instance, when i bind to a dataNode with this attribute: smsid, usrid, crdate, stdate,enddate change to message_id, user_id, create_date, start_date, end_date  during runtime.