User exit for transfer from SD to CO-PA ?

Hi,
We need to implement a new flow for 'early start' SD orders. These are uncommited towards the customer, but certain enough to start procurement activities. The point is to use a flag on SD order header to control 'early start' that prevents updates of planned values to CO-PA. Once order is firmed, the early start flag is removed, and normal CO-PA transfer should be used.
Reason for rejection seems like a candidate, but it disallows even procurement and delivery creation, so that will not work.
I was thinking about a user exit, but can not get any of the COPA000* to update relevant data.
COPA0001 via KEDR can only affect characteristics, not values.
COPA0003 is called when saving the order, but T_COPADATA is empty.
Most of the remaining COPA000* does not seem to be called when creating orders by transaction VA01

Hi Ole,
          I have a simmilar problem as you discussed .Whenever we change in sales order at line item level in AAG(Account Assignment Group) line item level,it has to go to for Profitability Analysis CO-PA.But this change is not reflected in KE24(Actual line item report) immediatly.It reflects when we do changes for second time the first change is getting reflected.
    One possible reason which I am predicting is posting to CO-PA is happening before sales order getting updated so it is taking earlier value.Please help me out.
Thanks in Advance,
Albert

Similar Messages

  • User exit for incoterms from ship-to-party

    Hi Gurus,
    my client needs to catch incoterms from ship-to-party,
    please let me know which user exit is used to get incoterms from ship-to-party.
    regards,
    Naren

    In our system we get the inco terms from the ship to party. We use user exit move_fields_to_vbkd in program mv45afzz. The code looks like this:
    Inco terms
    Added to get the values of Inco Terms from
    Ship-To-Party instead of Sold-To-Party.
    data: oldship like kuwev-kunnr value space.
    if sy-ucomm   <> 'UEBR' and  "Ordre er ikke oprettet med reference
       t180-trtyp <> 'A'.        "Der er ikke Vis mode
      import oldship from memory id 'ZSS'.
      if *vbkd-inco1 is initial. "Første gang vi er i User-Exitet
        if kuwev-kunnr <> kuagv-kunnr. "Varemodtager forskellig fra ordregiver
          select single inco1
                        inco2
         into (vbkd-inco1,
               vbkd-inco2)
         from knvv
        where kunnr = kuwev-kunnr
          and vkorg = vbak-vkorg
          and spart = vbak-spart
          and vtweg = vbak-vtweg.
        endif.
      elseif oldship <> kuwev-kunnr and
       ( *vbkd-inco1 <> vbkd-inco1 or
         *vbkd-inco2 <> vbkd-inco2 ).
        select single inco1
                      inco2
          into (vbkd-inco1,
                vbkd-inco2)
          from knvv
         where kunnr = kuwev-kunnr
           and vkorg = vbak-vkorg
           and spart = vbak-spart
           and vtweg = vbak-vtweg.
      endif.
    endif.
    Det skal ligge udenfor if-sætningen for at undgå at det overskrives
    ved oprettelse med reference
    move kuwev-kunnr to oldship.
    export oldship to memory id 'ZSS'.
    /Torben

  • User Exit for Transfer Order

    Hi,
    I have a requirement to set the TO for the following raison :
    After the visual check of confirmed production the user have to check the HU to be  automatically transferred  to the bin already assigned in advance (principally for the completed HU)
    The incomplete pallet will be transferred  manually 
    Please suggest me the correct user exit, where I can put in my code, for this enhancement.
    Thanks in advance.
    Olfa

    I am not sure about your requirements, but you can try these enhancements:
    MWMTO001 Enhancements for end of transfer order generation
    MWMTO003 Own stock placement strategy

  • User exit for return from delivery - 651 movemment type in WM

    Hi Guru,
    We are going to implement a customize program to control the putaway storage location when the HU returning from delivery in WM environment.
    The process is as below:
    1. Create the return order with reference to the original billing document;
    2. Create the return delivery (original storage location is 0001).
    3. Manually attached the HU we want to return to the delivery ;
    <<<< 4.LT03 to create the TO for this delivery. >>>>>
             - then it will automatically PGR (material document with 651 movement type) 
             - A TO will automatically created and from 904 to another destination storage type 101 (setup in the 651 movement type).
    The requirement is: we need to change the storage location when the TO (904 to 101) is confirmed according to some logic.
    We found that we can not use the user exit "EXIT_SAPLL03T_001 - User Exit at End of TO Creation (in Update Task)" or   'EXIT_SAPLL03T_002 - User Exit at End of TO Confirmation (in Update Task)". We set the break point, but it didn't stop there.
    Any one can help us where we can put our code in?
    Thank you very much,

    Hello!
    The user exit MWMTO001 (FM EXIT_SAPLL03T_001) runs usually in Update
    Task. That means that you have to switch on the update debugging in
    order to let the debugger stop in this exit. In most cases update
    debugging isn´t switch on when the debugger doesn´t stop in the exit.

  • User exits for crosschecking from EBAN,ESLL, ESUH @ runtime

    Hi all @ SDN forums,
    question: i have to find an user exit to introduce a new check that has to be executed during the creation of a purchase request (me51n).
    The task must evaluate the data inserted so far in the request doing a check that involves both data from EBAN (position items), from ESLL (service items) and ESUH (limit items). I tried to find out the usr-exit used in the transaction, did also a bit of debugging to find out how it works, but... Seems that the checks already developed in the EXIT_SAPLMEREQ_00* FM family work only on a single kind of row (e.g.: there's a FM to check position items, another FM to check service items) but don't allow to do crosschecking (e.g. "if the field 'foo' in a position item has value 'bar', then check that its service items have the field "X" with value 'Y').
    Can anybody help?
    Thanks in advance
    EDIT: additional info from debug:
    I noticed that the first user exit chunk to be executed when i click on the "check purchase req" is the FM EXIT_SAPLMLSP_030... unfortunately, it holds only values concerning service items but nothing about the position (hier) item. Obviously, a prelimary check on the hier item is necessary to proceed...
    Edited by: Matteo Montalto on Jan 13, 2009 3:04 PM

    JavaWorld has an article on some of the pitfalls that can happen when using Runtime.exec() that might interest you:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • User exit for transfer order confirmation

    Hi All,
    I need to display one error message in LT12 transaction when we select 'pick' and enter.
    Error message:'You are not authorised for this task'.
    I could not find suitable user exits or BADI  for this.
    If ayone is having idea on this,please help me.

    Hi,
    Chk the below badi's
    User-Exit in transaction LT12

  • User exit  for Transfer order (Ware House Managaement)

    Hai friends  I got a issue  in user exits.The isuue details as below,,,,,,,,,,,,
             When a material  with the same stock type is posted in the same bin, Capacity check is working, where as if the material with differnt stocktype are posted into same bin, Capacity check is not working.
    Issue deatils -    <b>max.bin.capacity -600kg.</b>
      capacity check method -3(check based on max.qty per bin in storage type).
       BINNO.      material             qty            stock type     
      01-01-01       mat1              600kg            Q
      01-01-01      mat1             100kg             Q   <b>capacity check is working</b> i.e  the sys. gives error msg as "Max bin capacity hasbeen exceeded by 100 kg.
    01-01-01       mat1              600kg            Unresticted
      01-01-01      mat1              400kg               Q   <b>capacity check is not working</b>
    Here, the system is posting into same bin with additional qty 400 kgs. it is not throwing any error msg. Here I suppose to get error msg.
    For this I found <b>EXit -EXIT_SAPLL2018_001</b> .
    <b>MWMBAP01 Enhancement for BAPI WarehouseTransOrder.GetDetail
    pls help me in this issue.pls suggest me in clearly.</b>bye.
    Prashanth.<b></b>

    Hi,
         You can try with user exit MWMBAP02
    <b>Reward points</b>
    Regards

  • User Exit  for MIGO(Transfer Posting)

    Is there any user exit for transfer posting by MIGO?
    if so plz give the names of user exits related to it.....
    Awaiting for ur reply..............

    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Transaction Code - MIGO                     Goods Movement
    Exit Name           Description
    MBCF0002            Customer function exit: Segment text in material doc. item
    MBCF0005            Material document item for goods receipt/issue slip
    MBCF0006            Customer function for WBS element
    MBCF0007            Customer function exit: Updating a reservation
    MBCF0009            Filling the storage location field
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011            Read from RESB and RKPF for print list in  MB26
    MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.
    No of Exits:          8
    Rewards if useful.........
    Minal

  • User exit for TO Confirmation

    Hi,
    I want to Raise error message for Transfer order confirmation when destination Storage type is 998(no location)?
    Regards,
    Omkaram.

    User Exits for Transfer Order.
    MWMTO002 - EXIT_SAPLL03T_002 (User Exit at End of TO Confirmation (in Update Task)
    MWMTO001 - EXIT_SAPLL03T_001 (Enhancements for end of transfer order generation)

  • User exits for delivery picking confirmation and transfer order creation

    Hi
    We have a scenario for which we need help.
    This is to do with replenishment from plant to plant.
    We have sales sets.
    The sales sets needs to be replenished from one plant to another. We want the componenets of the sales sets to picked from the issuing plant. For this we need a transfer order. this needs tobe confirmed and then the goods issue should take place from the issuing plant. Its a two step process.
    we are doing Sales sets in STO. The explosion takes place in STO. However when we create deliveries for this. Only the sales set header item without its components are flowing into the delivery.
    The Tranfer order does not contain the components either.
    However post  the goods issue we  can create a TO with reference to the TR. This is is not acceptable because we want the picking and confirmation to occur before PGI from the issuing plant.
    Could anybody help: We want the TO to be created with the components even though in the delivery only the Sales set header appears. Can u suggest a user exit in which when we create the TR from the delivery the components of the set.
    After confirmation of the TO then we want the picking status to be put as C.
    Supreeth

    Hi,
    Check the following users exits.
    MWMRFSSG            user exit for sorting TOs in RF system-guided transaction
    MWMRFUP             Customer defined general purpose pushbutton called from scr.
    MWMRP001            Cust. Exit for Fixed Bin Replenish.: Delivery Item Selection
    MWMRP002            Cust. Exit for Fixed Bin Replenishment: TR Quantity Distr.
    MWMRP003            Customer Exit for Replenishment using RLLNACH1
    MWMRP004            User Exit for Replenishment using RLLNACH4
    MWMTO001            Enhancements for end of transfer order generation
    MWMTO010            Exit: Calculation of Total Planned TO Processing Time
    MWMTO011            Correction of Planned Processing Time for TO Item
    MWMTO012            Correction of Sorting and Split Transfer Order
    MWMTO013            Stock Removal for Sev. Storage Types as in Stringent FIFO
    MWMTOAU3            Separate selection of posting changes for autom.TO creation
    MWMTR001            Exits at the end of transfer rqmnt creation (IM,PP interf.)
    MWMD0001            Transfer order print via RLVSDR40
    MWMD0002            Transfer order print as multiple process with RLKOMM40
    MWMIDI07            Enhancement for Output WMPIHU (Create Pick-HU) Inbound
    MWMIDO11            Enhancement for message WMTORD: TO with several items
    MWMIDO12            Enhancement for Output WMPIHU (Pick-HUs) Outbound
    MWMIDO13            Extension for WMMBXY (subsequent tasks after goods movement)
    MWMPP001            Enhancement WM/PP Interface (automatic TR generation)
    Regards,
    Murali

  • Is there a user exit for Excel download from Web Template?

    Hi,
    Is there a user exit for Excel download from Web Template?
    Thanks,
    Frank

    Hi,
    I need to do some data manipulation before export to Excel.  I could use Table Interface to manipulate the data before rendering to the Web.
    Regards,
    Frank

  • BADI/User Exit for custom table update from Delivery

    Hi
    Our requirement is to update a custom table with the delivery number and other related details when the picking status is changed to "C". Kindly suggest BADI/User exit for this requirement .
    Thanks in Advance for your immediate help .

    Hi Joseph,
    See SAP Note 415716 - User exits in delivery processing. It says when you have the document number available, what is permitted, what not, ....
    I hope this helps you
    Regards
    Eduardo

  • User exit for Stock transfer order

    Hi,
    My requirement is : i want to create a Stock transport order in which i have to set an error message based on the Document type and receiving plants country name.
    Say for an e.g. if my  doc type is STPO and plant is pl10(which belongs to Germany)then no error will come, but if
    doc type is STPO and plant is pl11 ( which does not belongs to Germany) In that case error has to occur.
    I want to put the logic in the code.
    Kindly provide me program name and user exit where i can implement this.
    Regards
    Utsav

    hi
    Please discuss with ur technical consultant and given ur functional need in Functional spec form for user exit .
    In that u have to mention eaxactly what u need i.e ur requirement regarding the user exit for STO process.
    So it can be done with ABAPer with you as functional consultant.
    Thanks
    SAP_MM

  • User-Exit for the Me22n

    Hi,
       I am Mohan. I faced on Problem with the User Exit. I write the user exit for the ME21n for PO Creation. While Creation of the PO the Purchase Requition is mandatory. it is working for the ME21n. But PO creation is another two ways is there. Those are ME22N (Purchase order---> Create) and ME23N
    (Purchase order---> Create) for this case also my condition applicable but it is not working for this case. How to write the Code for this. by using Sy-ucomm  also. but it is not working.
    Please help me.
    Regards,
    Mohan

    Following the user exit's related to ME22N transaction.
    AMPL0001 User subscreen for additional data on AMPL
    LMEDR001 Enhancements to print program
    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
    M06B0002 Changes to comm. structure for purchase requisition release
    M06B0003 Number range and document number
    M06B0004 Number range and document number
    M06B0005 Changes to comm. structure for overall release of requisn.
    M06E0004 Changes to communication structure for release purch. doc.
    M06E0005 Role determination for release of purchasing documents
    ME590001 Grouping of requsitions for PO split in ME59
    MEETA001 Define schedule line type (backlog, immed. req., preview)
    MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
    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
    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
    Regards.

  • User Exit for saving Invoice

    Hi Experts,
    My req, is I have to check billing date with order date/ delivery date while creating the invoice in VF01.
    For that I have done codig in user exit RV60AFZZ, so it gives error ,but the billing date field get disable.
    & this invoice no. alsp get created.
    So can anybody plz tell me in which user exit i have to put my code ???
    I have tried with RV60AFZC.But it is not working.
    My code is
    FORM userexit_pricing_prepare_tkomp.
    *  TKOMP-zzfield = xxxx-zzfield2.
    * structure for vbak
    TYPES:BEGIN OF ty_vbak,
          vbeln TYPE vbak-vbeln,
          audat TYPE vbak-audat,
          END OF ty_vbak.
    *likp structure
    TYPES:BEGIN OF ty_likp,
          vbeln TYPE likp-vbeln,
          lfdat TYPE likp-lfdat,
          END OF ty_likp.
    *vbrp structure
    TYPES:BEGIN OF ty_vbrp,
          vgbel TYPE vbrp-vgbel,
          vgpos TYPE vbrp-vgpos,
          aubel TYPE vbrp-aubel,
          aupos TYPE vbrp-aupos,
          END OF ty_vbrp.
    DATA:it_vbak TYPE STANDARD TABLE OF ty_vbak,
         it_likp TYPE STANDARD TABLE OF ty_likp,
         it_vbrp TYPE STANDARD TABLE OF ty_vbrp.
    DATA:wa_vbak TYPE ty_vbak,
         wa_likp TYPE ty_likp,
         wa_vbrp TYPE ty_vbrp.
    ***** take reference document no & delivery no. *****
    LOOP AT xvbrp.
      wa_vbrp-vgbel = xvbrp-vgbel.
      wa_vbrp-vgpos = xvbrp-vgpos.
      wa_vbrp-aubel = xvbrp-aubel.
      wa_vbrp-aupos = xvbrp-aupos.
      APPEND wa_vbrp TO it_vbrp.
    ENDLOOP.
    IF it_vbrp IS NOT INITIAL.
    SELECT vbeln audat FROM vbak
          INTO TABLE it_vbak
          FOR ALL ENTRIES IN it_vbrp
          WHERE vbeln = it_vbrp-aubel.
    SELECT vbeln lfdat from likp
           INTO TABLE it_likp
           FOR ALL ENTRIES IN it_vbrp
           WHERE vbeln = it_vbrp-vgbel.
    ENDIF.
    **** check for invoice date with order date *****
    LOOP AT it_vbak INTO wa_vbak.
      IF xvbrk-fkdat IS NOT INITIAL AND xvbrk-fkdat < wa_vbak-audat.
        MESSAGE 'Invoice Date is less than Order Date' TYPE 'E'.
      ENDIF.
    ENDLOOP.
    **** check for invoice date with delievery date *****
    LOOP AT it_likp INTO wa_likp.
      IF xvbrk-fkdat IS NOT INITIAL AND xvbrk-fkdat < wa_likp-lfdat.
        MESSAGE 'Invoice Date is less than Delivery Date' TYPE 'E'.
      ENDIF.
    ENDLOOP.
    ENDFORM.                    "USEREXIT_PRICING_PREPARE_TKOMP
    Thanks & Regards,
    Anagha Deshmukh

    Hello,
    These are the user exits for the tcode.
    J_3RSINV            Export sales
    SDVFX007            User exit: Billing plan during transfer to Accounting
    SDVFX008            User exit: Processing of transfer structures SD-FI
    SDVFX009            Billing doc. processing KIDONO (payment reference number)
    SDVFX010            User exit item table for the customer lines
    SDVFX011            Userexit for the komkcv- and kompcv-structures
    V05I0001            User exits for billing index
    V05N0001            User Exits for Printing Billing Docs. using POR Procedure
    V60A0001            Customer functions in the billing document
    V60P0001            Data provision for additional fields for display in lists
    V61A0001            Customer enhancement: Pricing
    Keep the break point and try in the debugging in each and every exit and see which user exit is triggred.

Maybe you are looking for

  • HP Laserjet 100 color MFP installati​on problem

    Hi, I have a problem with driver instalation for HP Laserjet 100 color MFP175nw. Instalation stalls at 85% and I get error message. I've tried to turn off processes through services.msc, deatcivate firewall and nothing helps.  Basically, I've tried a

  • CM12 Reporting Role problems

    I have been trying to resolve an issue where my central admin site which was assigned the reporting services role stopped working. SSRS was operating but there seemed to be a problem with the reporting user account. I did all sorts of stuff including

  • Error when using defined object in Universe in Web Intelligence

    Hi all I create universe connect from Infocube I create a new Object named "Sale Value" to get YTD of Object name "SS Total value of the invoice lin" with code following <EXPRESSION>SUM(YTD(@Select(Key Figures\SS Total value of the invoice line)))</E

  • IDoc Number of that Document

    Hi Guru's, I want to know the Table/Field from which i can get the IDoc number that was created for that particular document. I know we can see the IDoc number in the 'Processing Log' from the Ouput screen but don't know where that info is stored. th

  • Adobe Reader 11.0.07 defaults to duplex printing. Is there a way to set the default to leave that "print to both sides of the page" box unchecked?

    Adobe Reader 11.0.07 defaults to duplex printing. Is there a way to set the default to leave that "print to both sides of the page" box unchecked? I am working on an end-user's computer, I just updated to the newest Adobe Reader and they don't ever p