EXIT_SAPLV50E_001 User Exit is not working for multiple plants case

Hi,
I have to update foreign trade data in Invoice during invoice creation using VF11. For that, I have written code in EXIT_SAPLV50E_001 and updated segal value. This functionality is working fine, if I have a single plant in an invoice. But customer has scenario where they can have multipl plants in an invoice.
For multiple plants in an invoice, this EXIT_SAPLV50E_001 is not called.
I am unable to find another better place where in I could place my code. Please help. Remember, case in multiple plants.
Will be rewarded.
Regards
Arpit

Hi Arpit,
               Please use below mentioned user exit in T-code VF11
he following user exits are available for tcode VF11
Exit Name           Description
SDVFX001            User exit header line in delivery to accounting
SDVFX002            User exit for A/R line in transfer to accounting
SDVFX003            User exit cash clearing in transfer to accounting
SDVFX004            User exit G/L line in transfer to accounting
SDVFX005            User exit reserves in transfer to accounting
SDVFX006            User exit tax line in transfer to accounting
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
J_3RSINV            Customer enhancement: Pricing
or You can use BADI
BADI_SD_SALES_BASIC
BADI_SD_TO_FM
BADI_SD_BILLING
Regards,
    Thangam.P

Similar Messages

  • Calculation formula userexit not working for multiple condition types

    Hi,
    we have a problem in the CRM ISA-B2B scenario where the custom user exit is only working for single condition type.
    but we need it for multiple condition types .
    the value of the subtotal is not being retrieved for multiple conditions. at a time only one condition value is being retrieved and shown in the webshop - shopping basket.
    for ex:
    we have scenario 1 where Y001 -Freight condition type is applicable for one customer.and Y002 is applicable for another customer.
    when we are trying to show the subtotal condition value in the webshop by using a single custom user exit in the pricing procedure it is only working for either of the above 2 customers depending on the VMC cache status.
    is there any problem if use the single user exit for both condition types?
    and if it needs to be differentiated how exactly we can do that with the same logic in the java class.
    Thanks in advance,
    PSR.

    Hi Arshi,
    below is the code:
    public class ZValFormula_ZZWI1 extends ValueFormulaAdapter {
         private static String zzwi = "ZZWI1";
         private static char  zzwiC = '@';
         private static UserexitLogger userexitlogger = new UserexitLogger(
         ZValFormula_ZZWI1.class);
         public BigDecimal overwriteConditionValue(IPricingItemUserExit item,
                   IPricingConditionUserExit condition) {
              ICurrencyValue val = condition.getConditionValue();
              userexitlogger.writeLogDebug( "value saved for " + zzwi + " (" + zzwiC + ") = "
                        + val.getValueAsString());
              item.setSubtotal( zzwiC, val.getValue());
              return val.getValue();
    hope this would give more idea to look at the problem.
    Thanks,
    PSR

  • BAPI_ACC_DOCUMENT_POST - User Exit is not working

    Hi all,
    I need to perform a posting and pass in some field into the extension table. I have follow the sap note recomendation and created a project in CMOD using ACBAPI01 as the component. I then added the coded into the user exit. When I tried to debug it doesn't not execute the code inside the user exit. Also BAPI_ACC_DOCUMENT_POST was executed w/o any error. However when I check the system, there's no document posted.
    Also please correct me if I'm wrong. I'm not so sure what to populate for the following field in the header. Is the following correct?
      gt_docheader-obj_type   = 'IDOC'.
      gt_docheader-obj_key    = '$'.
      gt_docheader-obj_sys    = 'BGS1'.
      gt_docheader-bus_act    = 'RFBU'.
    Thanks in advance
    Ricky

    Hi Ricky and Igor,
    Rick is right: You can use userexit wherever they are provided. Many BAPIs as i.e.
    [code]BAPI_ACC_DOCUMENT_POST        
    BAPI_ACC_DOCUMENT_CHECK
    BAPI_ACC_GL_POSTING_POST      
    BAPI_ACC_GL_POSTING_CHECK
    BAPI_ACC_BILLING_POST         
    BAPI_ACC_BILLING_CHECK
    BAPI_ACC_INVOICE_RECEIPT_POST
    BAPI_ACC_INVOICE_RECEIPT_CHECK
    BAPI_ACC_GOODS_MOVEMENT_POST  
    BAPI_ACC_GOODS_MOVEMENT_CHECK
    [/code]
    are implemented including userexit (to be seen as CALL CUSTOMER-FUNCTION in coding). Only the most impotant and regularily used fields are part of the BAPI interface. If the customer makes an append to any table or structure, the handling of the additional fields does not always happen automatically in the BAPI.
    We created a User exit for BAPI BAPI_ACC_GL_POSTING_POST because the customer made extensions to the posting block.
    The additional parameter values are passed in the BAPI extension table which is a genereric character table. In include ZXACCU15 we do the transfer of values passed via extension table to table t_accit which is part of the interface of the ueserexit.
    If then BAPI is executed but it does not trigger the userexit, then you can put a breakpoint at the statement before CALL CUSTOMER-FUNCTION and see if you get there. If CALL CUSTOMER-FUNCTION is not executed, then try do de-activate the CMOD project and activate it again. This usually helps.
    For the document header I can provide you just anaother example which works for us:
    [code]  ls_documentheader-obj_type              = 'BKPFF'.
      ls_documentheader-obj_sys               = lv_logsys.
      ls_documentheader-obj_key               = '$'.
      ls_documentheader-username              = sy-uname.
      ls_documentheader-header_txt            = 'Investment Notes reconciliation'(026).
      ls_documentheader-comp_code             = ps_alv_display-bukrs.
      ls_documentheader-doc_date              = p_bldat.
      ls_documentheader-fisc_year             = p_gjahr.
      ls_documentheader-pstng_date            = p_budat.
      ls_documentheader-fis_period            = p_bper .
      ls_documentheader-doc_type              = p_blart.
    [/code]
    Hope this helps.
    Regards,
    Clemens

  • User status does not work for campaign automation

    Hi,
    We have 5  user status in our campaign. When we select the campaign automation option,   the user status appears but when we try to change from a status to another (sample: Open to Planificado) the next error appears:
    Diagnosis
    System error: An invalid transaction ID was used to check whether or not a business transaction is allowed.  Transaction %%%% does not exist.
    System Response
    You cannot carry out the requested function for object Campaign.
    Procedure
    Please contact your system administrator.
    We include the option release in each user status and everything works fine, however, we require that release status (system estatus) only appears in the latest  user status
    I hope someone help me
    Thanks,

    The error was resolved by applying the following note  1513934 - transaction %%% does not exist

  • User exit or functional module for multiple GR of Production order.

    Hi All,
           I have done a enhancement in CO11N so that batches can get created in production order  confirmation.
    Now When I go to MIGO to do GR I have option to enter the nulitple batches against the production order.
    But what I am looking for is there any exit or functional module which reads the production order and fecth batches which were created from CO11N.
    Regards.

    Hi,
    A few options:
    1. User Exit - MBCF0002
    2. BADi - MB_MIGO_BADI, MB_DOCUMENT_BADI
    3. A Z program by calling BAPI_GOODSMVT_CREATE
    Regards,
    Vivek

  • 3.4: keyword auto-completion not working for multiple levels

    Auto-completion does not work with higher level keywords, which used to work in LR 3.3 (IIRC).
    Example:
    I enter in the "Click here to add keywords" field:
    "He" then LR tries to complete the keyword by showing keywords starting with "He". Fine.
    But this is a keyword which does not exist so far, so I enter "Heldenplatz > W" because I want to have sorted it under Wien. If I'm not mistaken, LR 3.3 showed after entering the "W" a list of existing keywords starting with W (auto-completion for the one level higher tag). This is not the case anymore. I have to enter  "Heldenplatz > Wien" completely, which makes it slow and error-prone.
    Am I mistaken or can you reproduce it?
    Cheers

    GaryRowe wrote:
    How can it be, after all this time, that they still do not have effective regression testing in place ? Any sane development team (who wants to remain sane ;-) builds this as a priority ... unless they aren't given the resources?
    I think (don't remember though) that this never worked, so regression testing would not have helped.
    What is really to worry, that features aren't consequently and completely implemented (and tested). With a new option in Lightroom 3, Adobe has offered support for keywords with spaces. It seems that this feature as neither been thoroughly analysed or implemented. Thus, we face the currently inconsequent support of it:
    keyword completion only works with the first entered word, but when you enter a complete keyword hierarchy using the ">" letters
    filtering seems to have problems too

  • HT2486 Smart Group not working for Multiple 'Not a Member of' Options

    I am trying to go through my contacts and assign everyone to a group.  I want to create a smart group whose criteria is "not in Group 1" AND 'Not in Group 2'.
    This does not work.  It simply gives me all the contacts.
    Also, is there anyone to see a contact and know to which groups they belong.  When I can't remember who someone is, it is helpful if I know what group.

    I have a different conclusion : for me, it works since 10.9 where it has never worked before (and I just checked it still works with 10.9.1) !
    I did not modified my groups, they simply started to work properly with 10.9.

  • User-exit or BADI required for changing Plant-sp.matl status in MM02

    Hi Folks,
    Our user requirement is when standard price is 0, we should assign value 'Z4' to Plant-sp.matl status(in MRP1 and Costing1 tabsin MM02) . Could any one suggest me a user-exit name or a BADI name to change Plant-sp.matl status in MM02. <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
    Regards,
    Ramineni.
    Edited by: Alvaro Tejada Galindo on Aug 22, 2008 5:59 PM

    hi,
    u can use it.
    u can use this exit also.
    MGA00001
    EXIT_SAPLMGMU_001
    i hav done  this coding in this exit and it is working.
    not same of ur requirement but try somthing like this.
    tables : mara,makt.
    data : it_mara type mara occurs 0 with header line,
           it_makt type makt occurs 0 with header line,
           it_marc type marc occurs 0 with header line,
           it_mbew type mbew occurs 0 with header line.
           select * from mara into table it_mara .
           if it_mara[] is not initial.
           select * from makt into table it_makt for all entries
           in it_mara where matnr = it_mara-matnr.
           endif.
          loop at it_makt.
          if stext-maktx = it_makt-maktx.
           if it_makt[] is not initial.
          select * from marc into table it_marc for all entries
          in it_makt where matnr = it_makt-matnr.
          select * from mbew into table it_mbew for all entries
          in it_makt where matnr = it_makt-matnr.
           endif.
        read table it_marc with key matnr = it_makt-matnr.
          if wmarc-werks = it_marc-werks.
       read table it_mbew with key matnr = it_makt-matnr.
       if wmbew-bwtar = it_mbew-bwtar.  " 'VAL_OPEX' or wmbew-bwtar = 'VAL_CAPEX'.
          message e001(zgm_msg).
            endif.
            endif.
            endif.
            clear it_makt.
            clear it_marc.
            clear it_mbew.
            endloop.

  • EMMA Not Working for Billing & Invoicing Cases

    Hi
    I have configured case type and case category for Billing Block - Message type AJ063. Cases are not getting created through EMMA. Where as in ECC 6.0 EHP 0 the same was working. Is there any Note required for ECC 6.0 EHP 2. To be precise Current version is SAPK-60202INISUT. Also to add this we see message that jobs preapred. But when we looked into EMMA executed with Radio button Prepared Jobs enabled then No relavant jobs shown. Same thing happened with AJ098 also.

    Hi PRESII,
             This problem is generally observed in ECC 6.02 support level 03 and below. after you upgrade it from ECC 6.0.  SAP has done the chnages and incorporated the same in ECC 6.02 support level 04. I suggest that you upgrade your support level 4 or later and your problem should be solved.
    Cheers,
    Amin

  • Field exit is not working for a user

    Hi,
    We have implemented a field exit in ME12 to change the purchase info record short description. It is working fine for most of the users except for some users. I just wanted to know is there any way we can restrict the field exits based on Authorization
    Did any one faced this kind of issues
    Bhanu

    Hi,
    Reason could be that users are logged on different servers : check that profile parameter abap/fieldexit is set equally in all application servers.
    If it's okay, then you'll find the reason only by tracing 2 users, one which is okay, the other not, doing exactly the same thing. To do that, use SE30 with a variant with "no aggregation", as Olga explains in her blog ([SDN blog: ABAP Runtime Analysis (SE30) - How to analyze ABAP program flow|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/4847/17050 [original link is broken] [original link is broken] [original link is broken] ]). Then you compare the 2 traces to see from which point execution differs. You can use SAT transaction, available from 7.0, to compare 2 traces far more quickly.
    BR
    Sandra

  • Firefox 5.0 not Working for Multiple Users Sharing the Laptop

    Hello All,
    I upgraded Firefox from 3.15 to 5.0 using my user ID (admin) in Vista Business SP1. The same copy of Firefox 3.15 also used to work fine under my son's user id. The new install of 5.0 works fine under my user id but immediately freezes under my son's id. I reinstalled 5.0 in the same location under my son's user id but no change.
    I can get Firefox 5.0 to work under my son's login by running it as administrator but then only my bookmarks, etc. load. None of his profile or bookmarks are present.
    Any ideas on how to fix this?
    Thanks...
    Neil

    Google needs to update the Google Toolbar program for Firefox 5.0.
    The Google Toolbar '''7.1.20110512W''' version does work pretty good in Firefox 5.0 by using the Compatibility Reporter extension. But not every feature works 100%.<br />
    https://addons.mozilla.org/en-US/firefox/addon/add-on-compatibility-reporter/
    http://googlesystem.blogspot.com/2011/06/enable-google-toolbar-in-firefox-5.html
    Google Labs has been working on a GTB 8 version, but it looks like it isn't made for Firefox - just for Internet Explorer. <br />
    http://www.google.com/support/toolbar/bin/answer.py?hl=en&answer=1111588#toolbar_info <br />
    So, maybe Google isn't going to be supporting Firefox any longer. That might be a move to force Google Toolbar users over to Google Chrome, which I believe has all those features built-in.

  • LookUpSet is Not working for multiple columns in SSRS 2008 R2

    Hi Friends,
    I have a problem when i use more than one LookUpSet in SSRS to display more than one value based on Day Number & other fields..Please find the below details and please suggest me a solution for this.
    Crystal : 
                    Day1                              Day2
    Period 4     Arts,Maths               Arts,Maths
    For this in SSRS i am using LookUpSet as below based on StaffID,PeriodNumber & DayNumber like  this:
    = (IIF(Fields!DayNumber.Value=1,Join(LookupSet(Fields!StaffID.Value & Fields!PeriodNumber.Value &  Fields!DayNumber.Value
        , Fields!StaffID.Value & Fields!PeriodNumber.Value & Fields!DayNumber.Value
        , Fields!ClassCode.Value
        , "TIMSTF5"), "," ),"")) 
    which is displaying correct in SSRS,But when i use the same expression to display Day 2 classes it is returning empty even though i have values on Day 2.Please have a look at the SSRS output below:
                    Day1                              Day2
    Period 4     Arts,Maths              
    Day 2 Expression is :
    = (IIF(Fields!DayNumber.Value=2,Join(LookupSet(Fields!StaffID.Value & Fields!PeriodNumber.Value &  Fields!DayNumber.Value
        , Fields!StaffID.Value & Fields!PeriodNumber.Value & Fields!DayNumber.Value
        , Fields!ClassCode.Value
        , "TIMSTF5"), "," ),""))
    I am not sure why it is not liking to use more than LookUpSet in the same report,Please suggest me with a work around for this.
    Thanks in advance,
    Sam.

    Hi Guys,
    I have sorted out the problem.Solution for the above problem is use Max before the expression like below, since it has multiple days and periods in the Dataset.
    = Max((IIF(Fields!DayNumber.Value=2,Join(LookupSet(Fields!StaffID.Value & Fields!PeriodNumber.Value &  ields!DayNumber.Value
        , Fields!StaffID.Value & Fields!PeriodNumber.Value & Fields!DayNumber.Value
        , Fields!ClassCode.Value
        , "TIMSTF5"), ","  + vbcrlf),"")))
    Thanks,
    Sam

  • Firefox 4: have 4 users and its not working for one. The actual Firefox search bit doesn't load properly: very bare and search doesn't work . However, bookmarks etc seem OK

    Have just upgraded to Firefox 4 today, and seems OK for 3 out of 4 users, but not for one of us. It's just that bit in the middle with the red fox logo and the search box that don't load properly - looks very bare - and can type into box but nothing happens when press 'search'

    Don't know - the bit in the middle of the web page which sounds like the search container!
    However, have found a work around - opening up Google and saving that as the home page.
    Thanks for your reply.

  • ECR/ECO Workflow not working for multiple Objects

    Hello all,
    We have implemented ECR/ECO workflow by customizing the SAP standard one. We are facing a problem when entering multiple ECO objects such as mutiple Documents, materials, BOMs etc. When we create the ECR, two parralel workflow start (one for ECM and other for ECO) and depending on how many ECO objects we have included, multiple instances of ECO workflows will trigger (I think this is the standard behaviour as well but not sure)
    In our workflow, we have a wait step in ECO workflow that waits until ECM has been converted into ECO (ECOP status) and starts the ECO workflow. Also, we have created a Wait step in ECM workflow and that waits until the ECO workflows have reached the CONFIRMATED Step when the processing of the objects are finished.
    When we enter one object, both workflows start and ECO waits until ECM has been converted into ECO and then start the processing the Objects. when the ECO workflow is done (Status confirmated), it switches back to ECM workflow and then goes on with Close/Release steps of the Objects/ECO etc.
             But, when we have multiple ECO objects, both start well as ECR converts to ECO and the ECO starts and then work items are processed but then stops just before the CONRIMATED steps even though all objects are changed/maintained properly and  ECO workflows are completed. As a result, the control doesn't refer back to ECM and we never get the ECO close and Release step work items.
    I have checked SWETYPV, SWEL, business objects ECM and ECO but nothing gives a result..
    Any help would be appreciated..
    Thanks

    Can you please update on what is the status in the workflow log. You can check this from SWIA tcode.
    If it is in process step please check for ST22 dump if any.
    Thanks
    Arghadip

  • Bdc session is not working for multiple records

    Hello Experts
    we have written abdc for f-27 using the session method.it is working fine for one record but if we supply mulite records it
    is giving the error, like bseg-wbter( ie amount which comes in the second screen) is not found in screen 1.
    ie the first screen.The bdc is working fine for one record in notepad.after completing the first record it goes to
    second record and in the first screen itself it says amount field not found in screen 1. But
    actually this field comes in second screen.
    my flat file is like this..
    10.10.2008     DA     9641     10.10.2008     1     IND     TEST          31     10001     320.21     10.10.2008     01     120021     345.94
    10.10.2008     DA     9641     10.10.2008     1     IND     TEST          31     10001     560.22     10.10.2008     01     120021     231.94

    please kindly see my program..
    LOOP AT itab.
        REFRESH itabbdc.
        PERFORM bdc_dynpro      USING 'SAPMF05A' '0100' 'X'.
        PERFORM bdc_field       USING 'BDC_CURSOR' 'RF05A-NEWKO'.
        PERFORM bdc_field       USING 'BDC_OKCODE' '/00'.
        PERFORM bdc_field       USING 'BKPF-BLDAT'  itab-bldat.
        PERFORM bdc_field       USING 'BKPF-BLART'  itab-blart.
        PERFORM bdc_field       USING 'BKPF-BUKRS'  itab-bukrs.
        PERFORM bdc_field       USING 'BKPF-BUDAT'  itab-budat.
        PERFORM bdc_field       USING 'BKPF-MONAT'  itab-monat.
        PERFORM bdc_field       USING 'BKPF-WAERS'  litab-waers.
        PERFORM bdc_field       USING 'BKPF-XBLNR'  itab-xblnr.
        PERFORM bdc_field       USING 'FS006-DOCID' itab-docid.
        PERFORM bdc_field       USING 'RF05A-NEWBS' itab-newbs.
        PERFORM bdc_field       USING 'RF05A-NEWKO' itab-newko.
        PERFORM bdc_dynpro      USING 'SAPMF05A' '0302' 'X'.
        PERFORM bdc_field       USING 'BDC_CURSOR' 'RF05A-NEWKO'.
        PERFORM bdc_field       USING 'BDC_OKCODE' '/00'.
        PERFORM bdc_field       USING 'BSEG-WRBTR'  itab-wrbtr.
        PERFORM bdc_field       USING 'BSEG-ZFBDT'  itab-zfbdt.
        PERFORM bdc_field       USING 'RF05A-NEWBS' itab-newbs2.
        PERFORM bdc_field       USING 'RF05A-NEWKO' itab-newko2.
        PERFORM bdc_dynpro      USING 'SAPMF05A' '0301' 'X'.
        PERFORM bdc_field       USING 'BDC_CURSOR' 'BSEG-WRBTR'.
        PERFORM bdc_field       USING 'BDC_OKCODE'  '=BU'.
        PERFORM bdc_field       USING 'BSEG-WRBTR'  itab-wrbtr2.
       PERFORM bdc_load USING 'F-27' itabbdc.
      ENDLOOP.
    *&      Form  open_session
          text
    -->  p1        text
    <--  p2        text
    FORM session_start .
      CALL FUNCTION 'BDC_OPEN_GROUP'
        EXPORTING
          client = sy-mandt
          group  = 'F-27DA'
          keep   = 'X'
          user   = sy-uname.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    "session_start
    FORM bdc_load USING tcode TYPE sytcode
                           bdcdata LIKE itabbdc.
      CALL FUNCTION 'BDC_INSERT'
        EXPORTING
          tcode     = tcode
        TABLES
          dynprotab = itabbdc.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.

Maybe you are looking for

  • I have a set of drum samples that I want to use as one of the drum kits in Garageband. How?

    Hi there I don't know what this is called so I havent been able to search for it online. I have a set of WAV drum samples (kick, snare, hihat etc all as individual sounds) that I would like to use over an entire song as the drum kit for the song. Mea

  • CSS changes not implemented

    I'm working through Lesson "Adobe Dreamweaver CS3 with ASP, ColdFusion, and PHP: Training from the Source" by Bob Flynn. The lesson is about CSS. I edit the CSS file as instructed, the changes to Headings, text size and colour are reflected in the de

  • Printing out French characters

    Hi to everyone. I'm trying to make a small application that will help me learn french verbes. I have the verbes in a file (written with notepad on windows) and I want to print them usign System.out.println(); The problem is I'm in Greece, so my local

  • CalDAV cannot access icloud calendar

    I use CalDAVSync on my Android. It's worked perfectly for years with Fruux.  I was hoping that when I got an iCloud account I could use it, but I get the message "This URL seems not to point to a (supported)CalDAV calendar. Huh?  It's visible in iClo

  • CSS 11501

    we have a Cisco Content Services Switch model 11501 that load balances between 4 application servers. The credit card module a component of the application servers mysteriously stopped working. When we put a trace on the line we observed multiple tra