EXIT_SAPLV60B_002

hii...i want to use this function module for MIRO to change baseline date as MIGO date...help me how to do it...

hi Sugumar,
nice plan... but this exit is for SD, so you won't be able to change any date in MIRO...
you have to try using the enhacement: LMR1M001
hope this helps
ec

Similar Messages

  • User Exit EXIT_SAPLV60B_002 not accurate 100% of the time

    Hi.
    we use the above user exit to bring the delivery # to the customer & gl lines of an accounting document. this works 100% of the time for the gl line (user exit EXIT_SAPLV60B_004), but not 100% of the time for the customer line (user exit EXIT_SAPLV60B_002). 
    below is the include & code we have.  does anyone have suggestion as to how the customer line can be accurate 100% of the time?
    INCLUDE:  ZXVVFU02
    CODE:  Read table CVBRP index 1. XACCIT-XREF1 = CVBRP-VGBEL.
    thx

    You requirement is to check the constrain based on scheduling . THere  is not user exist I believe that may exaclty address your requirement.  THan also check below two user exit.
    CNEX0028  Check activity release
    CNEX0029  Check network release
    Ideally yhou should chekc for hte some BAPI for hte network save will help you .
    Regards
    Nitin P.

  • SDVFX002 : Exit_saplv60b_002 Link between SD and FI documents

    Hi All,
    I want to know whether I can use this exit for changing the Payment Block Key to 'blank' in case of Credit Memos. As of now, the Payment Block Key is put as 'A' by SAP for this situation.
    Please let me know if I can use enhancement 'SDVFX002' for the said purpose. And if not, can you guys suggest any other alternative?
    Thanks in advance.
    Anand

    Hi ,
    Please pass PRPS-PSPNR to BSEG-PROJK field and it should work . Please check if there is valid data in BSEG for that PRPS-PSPNR. I have tried below code and it worked.
    DATA:lv_wbs   TYPE PS_POSNR VALUE  '01111111', (numeric value)
               lv_belnr TYPE belnr_d,
               lv_projk TYPE PS_PSP_PNR.
    SELECT SINGLE belnr
                                 projk
             FROM bseg
             Into (lv_belnr, lv_projk)
             WHERE bukrs = 'XXXX'
              AND  projk = lv_wbs.
      IF sy-subrc = 0.
       WRITE:lv_belnr.
      ENDIF.
    Thanks
    Sri

  • Data de vencimento do documento de referencia incorreto.

    Boa Noite Grupo
    Estou com o seguinte problema
    Tenho um cenario de venda de complemento ov com referencia a Fatura
    Porem quando eu gero a fatura do documento de complemento, ele pega a data de vencimento do meu documento de refencia ou seja não pega a data atual de faturamento.
    Ja verifiquei o controle de cópia no opção ctg do item na opção Dados VBRK/VBRP = 11
    Mas mesmo assim não alterou a data de vencimento.
    Tem algum outro lugar que eu consiga corrigir esta data ??
    Grato a todos

    Bom Dia caro colega,
    De forma standard, o sistema não permite tal customização. A solução para este caso é utilizar a exit "exit_saplv60b_002" conforme orientação abaixo:                                                                               
    1. Salvar o conteúdo do campo "Fatura ref." em um outro campo, como por exemplo "Allocation".                                             
    2. Mover brancos para o campo "Fatura ref."/Ano/Item                                                                               
    Veja a informação dos desenvolvedores da SAP sobre esta ativação: "By this way, the baseline date will not be recovered with the date from the original document."                                                                               
    As Notas 301077 e 872755 contém informações sobre esta exit que devem  ajudá-lo.                                                                               
    No caso das duplicadas geradas, perceba que você poderá, através da  transação FBL5N, dando um duplo clique no documento em questão, mudar o campo "Baseline Date (Bline Date - ZFBDT)" fazendo com que o sistema  
    recalcule a data de vencimento da duplicata.          
    Espero poder ter ajudado nessa questão,
    Ruy Castro

  • Billing Doc-Header-Texts copy Accounting Doc-Hader Texts?

    Dear gurus,
    I it possible to copy Billing Doc.-header- Text1 to
    Accounting Document>>>>>>"Doc. Header Text" field?

    Hello,
    the SAP note 301077 lists the available userexits in SD/FI interface.
    If, for example, you want to fill a BSEG field of customer line, userexit EXIT_SAPLV60B_002 is the good one.
    Instead if you want to fill a BSEG field of a G/L line, userexit EXIT_SAPLV60B_004 is the good one.
    Best regards,
    Ivano.

  • Error: Field Pmnt terms is a required field for G/L account

    Hi Experts....
    When I am trying to release the billing document no in VF02
    It gives me an error
    Field Pmnt terms is a required field for G/L account
    This error comes only when payments are made through Credit Card....
    Message F5808.
    when I did a debug on this the field freigabe is made 'X'
    and I hve cleared the value..Now it saves but the accounting document is not created.
    We are in 4.7C version..
    Can any one help me out in this issue....
    Thanks for your help....
    Regards,
    Chaitanya

    Hi Friends,
    Please refer SAP OSS Note 119047.
    In the OSS Note they have mentioned..
    Pass the payment terms to the field
    xaccit-zterm = '0001'. in the User Exit.
    Program : LV60BF0C,
    Customer Function '002'.
    Include File ZXVVFU02.
    SE 37:- EXIT_SAPLV60B_002
    Still I don't understand why SAP doesn't support payment terms for Credit Card. But when a Sales Order is  created without credit card the field xaccit-zterm  has a value.
    Thanks,
    Chaitanya K

  • Opiton to choose bank accounts at the time of Credit Memo Request

    Hi,
    We have maintained multiple banks for same customer in customer master. Our requirement is to have an option to choose a particular bank account at the time when a credit memo request is created. The customer wants different credit notes to go to different bank accounts. We do not want to do it at the time of payment as this becomes quite manual. Is there any way we can do this at the time of entry of Credit Memo request in VA01 ?
    Thanks,
    Praveen

    Dear Praveen,
    I don't think you can have this option in the standard functionality.
    Because account assignment will takes place based on these combination
    Chart of accountsCondition typeMaterial account assignment groupCustomer account assignment groupAccount key.
    So you can't assign different G/L with same combination, if you want different G/L accounts then you need to change either one the key combination.
    Other wise you can have different credit memo types based on the Bank accounts
    -->Generate the condition table with billing type as one of the key field.
    -->Maintain access sequence for that, assign to condition type.
    -->Now define and assign the new account determination procedure for the credit memo process.
    -->Finally you assign the Bank G/L account with bill type(I,e Credit memo type) is as one of the key combination.
    But make sure that you have maintained proper copy control settings for all these credot memo types from credit memo request or other reference document.
    You can try with some user extis with the help of ABAPer,
    The following user exits are available in report SAPLV60B for transfer to accounting
    USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMKCV (header fields).
    EXIT_SAPLV60B_001: Change the header data in the structure acchd
    You can use this exit to influence the header information of the accounting document. For example, you can change the business transaction, "created on" date and time, the name of the person who created it or the transaction with which the document was created.
    EXIT_SAPLV60B_002: Change the customer line ACCIT
    You can use this exit to change the customer line in the accounting document. This exit is processed once the ACCIT structure is filled in with data from document header VBRK.
    I hope this will help you,
    Regards,
    Murali.

  • Accounting No not Created For Sales Orders when Processed thru Credit cards

    Hi Experts,
    I was able to successfully post FI document through Billing document in SD.
    The Problem is encountered when a Sales Order is created
    for Credit Card customers.
    When the sales order is created the credit card information we are prompted with an error message Payment terms is a required field for G/L Acc so and so...
    The payment terms field in the posting key 01 is marked required and the same field for the reconcilation account is optional. However this config has not created any problem for the Non credit card sales orders.
    If any one has faced the same problem. Please help me out in this issue.
    Thanks,
    Chaitanya

    Hi Friends,
    Please refer SAP OSS Note 119047.
    In the OSS Note they have mentioned..
    Pass the payment terms to the field
    xaccit-zterm = '0001'. in the User Exit.
    Program : LV60BF0C,
    Customer Function '002'.
    Include File ZXVVFU02.
    SE 37:- EXIT_SAPLV60B_002
    Still I don't understand why SAP doesn't support payment terms for Credit Card. But when a Sales Order is  created without credit card the field xaccit-zterm  has a value.
    Thanks,
    Chaitanya K

  • The Line item text transfer from SD-Billing Document to FI Doc(Accounting)

    Hi Experts,
    Actually in Standard process the Line item text doesnu2019t get transferred to FI Doc-Accounting Document.
    But we have a need to ensure that the Line item text of a material gets transferred from a Billing Document to  Accounting document.
    Please advice how can we achieve this.
    Thanks in Advance
    Montee

    Hi,
    If you want to populate the field SGTXT in FI tables (BSID, BSAD, BSEG,...) check the enhancement SDVFX002. So, in the function EXIT_SAPLV60B_002 you can populate XACCIT-SGTXT when you run the invoicing process.
    I hope this helps you
    Regards,
    Eduardo

  • Base LIne Date calculation in MIRO SAP IS-AFS6.0

    Hi Freinds,
    My business requires a payment condition for vendor " Payment after 30 days of Material Receipt Date or Schedule Delivery Date whichever is later". I have created a payment term.
    But how will system calculate accordingly? I find out a solution if I change the baseline date accordingly it can be solved. Can anyone tell me any other suitable procedure to do it? Or if this is the right procedure then please suggest how can I configure system in such a way that whenever I use this payment term the system automatically consider the later date in Baseline date so that my payment will be due after 30 days of it.
    I am using IS-AFS 6.0 version.

    I find out a solution if I change the baseline date accordingly it can be solved
    You have found right solution, make it mandatory to fill Baseline Date while doing MIRO,Check in OBB8 settings for payment terms & baseline date, Select Posting Date as Default for baseline date column, or you can use User exit EXIT_SAPLV60B_002 or LMR1M001 for populating automatically

  • User exit/BADI to change the Accntg doc which gets created during Billing

    I am trying to do the following . Is this possible ?
    When a delivery related billing document is created an accounting document is created in the background , I want to modify the line items in the accounting document, Just before posting the accounting document.
    I am using  exit EXIT_SAPLV60B_008  as suggested but I don't see the accounting line items in any of the internal tables in this exit.
    My accounting document when it gets created looks like this. And I want to modify one of these lines before the document is posted.
    Thanks in advance.
    Regards,
    Ankur Bhandari
    1 01 32517 Jaaaa 3,700.83 USD
    2 50 3100000 MERCHANDISE SALES 3,199.96- USD
    3 40 3100000 MERCHANDISE SALES 160.00 USD
    4 50 3200000 DELIVERY INCOME 132.00- USD
    5 50 3200000 DELIVERY INCOME 10.00- USD
    6 50 2170156 SALES TAX COLLECTED 198.87- USD
    7 50 3400000 WARRANTY INCOME 320.00- USD
    8 15 32517 Jaaaa 3,700.83- USD
    9 40 1117217 RECV. VISA/MCARD Sto 3,700.83 USD
    Any answers on how can I delete line 1 8 and 9 and add another line which balances the amount ?
    Need to do this just before the accounting document gets generated.
    Is this possible ?

    Hi Ajay,
    I just want throw a light on your issue.
    There are couple of other user-exits also available here.
    Just check the required data is available or not?
    EXIT_SAPLV60B_001              User Exit AC Interface (Header Line)               
    EXIT_SAPLV60B_002              User Exit AC Interface (Customer Line)             
    EXIT_SAPLV60B_003              User Exit RW Interface (Cost)                      
    EXIT_SAPLV60B_004              User Exit AC Interface (GL Account Item)           
    EXIT_SAPLV60B_005              User Exit AC Interface (Accruals)                  
    EXIT_SAPLV60B_006              User Exit AC Interface (Tax Line)                  
    EXIT_SAPLV60B_007              User Exit AC Interface (Customer Line)             
    EXIT_SAPLV60B_008              User Exit AC Interface Transfer Tables             
    EXIT_SAPLV60B_010              User Exit Item Table for the Customer Lines        
    Thanks,
    Ramakrishna

  • Line item details

    My customer wants to identify exactly the difference between the credit note, debit note and invoice in the fbl5n report line items,
    can we insert billing type description in the fbl5n report or what is the other way doing this, i was planning to keep different document types for different documents so that he can identify by document type.
    All the customer wants to know which document is debit note, credit note and invoice.
    how can we do this.

    Hi,
    One suggestion. Perhaps you can use the enhancement SDVFX002. The documentation in IMG:
    EXIT_SAPLV60B_002: Change the customer line ACCIT
    You can use this exit to change the customer line in the accounting document. This exit is processed once the ACCIT structure is filled in with data from document header VBRK.
    So, you can populate the field SGTXT that you can see in tcode FBL5N
    I hope this helps you
    Regards,
    Eduardo

  • Cancel one billing document through VF11

    Hi Gurus,
    My client does not want to cancel more than one billing document at the same  time. Can I know which user exit can be used to restrict to cancell one billing billing document through VF11.
    Regards,
    Rakesh

    User Exits For Billing
    USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)
    The internal number range used in the standard system is specified in the billing type table and can be changed in this user exit. This user exit is only called when the billing documents is created.
    USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMKCV (header fields).
    USEREXIT_ACCOUNT_PREP_KOMPCV (Module pool SAPLV60A)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMPCV (item fields).
    USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    Depending on the number range, table TVFKD is used to set the billing date (country-specific requirments in Italy).
    USEREXIT_NUMBER_RANGE is automatically deactivated when this user exit is being applied.
    USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
    This user exit is only called when the billing document is created. It is used to provide the header and the item of the new billing document with deviating or additional data.
    USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB)
    Printing the item line of a billing document can be supplemented or changed.
    USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Printing the header line of a billing document can be supplemented or changed.
    User exits in program RV60AFZD
    Short descriptions of the user exits are contained in the program:
    USEREXIT_RELI_XVBPAK_AVBPAK
    USEREXIT_NEWROLE_XVBPAK_AVBPAK
    USEREXIT_NEWROLE_XVBPAP_AVBPAK
    User exits for program SAPLV60B (Interface to accounting):
    EXIT_SAPLV60B_001: Change the header data in the structure acchd
    EXIT_SAPLV60B_002: Change the customer line (accit and accccr)
    EXIT_SAPLV60B_003: Change the customer line in costing
    EXIT_SAPLV60B_004: Change a GL account item (accit and acccr)
    EXIT_SAPLV60B_005: User exit for accruals
    EXIT_SAPLV60B_006: Change the control line (accit and acccr)
    EXIT_SAPLV60B_007: Change the installment plan
    EXIT_SAPLV60B_008: Change the transfer structure acccr, accit and acchd
    EXIT_SAPLV60B_0011: Change the parameter for cash account determination or reconciliation account determination
    Regards,
    Raj

  • Line item wise account determination

    Hi,
    Suppose i have an invoice of Rs 1000 amount where 2 line items exist(1st line item value 600 & 2nd line item amount is 400) .In this case when release it for accounts the accounting entry is:--
    Customer a/c debit 1000
    To Revenue account 600
    To Revenue account 400
    But we want it should goes like this
    Customer a/c 600
    To Revenue a/c 600
    Customer A/C 400
    To Revenue a/c 400
    Means customer account should be debited as many time as many line items are there with respect to line items amount.
    Please suggest.
    Regards,
    Satya

    Hi Satya,
    The standard accounting for an SD billing document has only one customer line and that is fine!
    Customer a/c debit 1000 => There can be only one
    To Revenue account 600
    To Revenue account 400
    Just to check if your requirement can be done:
    SAP provides a customer exit to change the customer line ACCIT.
    EXIT_SAPLV60B_002: You can use this exit to change the customer line in the accounting document. This exit is processed once the ACCIT structure is filled in with data from document header VBRK.
    This exit is used to modify the customer line, not to generate other ones, so it will not solve your problem.
    My recommendation: Instead of doing anything that might break SAP standard functionality, please check the requirement as IMHO it does not make sense.
    If you really want several customer lines, then generate several SD invoices, each one with it's own customer line as the first FI document item.
    Define an invoice split routine and ... problem solved.
    Best of all: Do nothing as standard functionality is correct for 99,99 % of customers!
    Hope it helps,
    Franck Lumpe
    Freelance SAP Consultant

  • G/L account should be determined based  on billing date .

    I have a requirement where in for a certain condtion type the account determination should be dependant on billing date . If the billing date is before a specified date, the condition type shoud hit a specific account and if the billing date falls after the specified date, it should hit a different account. How can this be acheived ? Do we have a user exit for this requirement ?
    For you info, the condition type is an accrual conditon type ..
    Regards
    Mahesh..

    Hi Mahesh,
    The fallowing User Exits available for Release to accounting please go through these it may help you.
    The following user exits are available in report SAPLV60B for transfer to accounting (function group V60B):
    EXIT_SAPLV60B_001: Change the header data in the structure acchd
    You can use this exit to influence the header information of the accounting document. For example, you can change the business transaction, "created on" date and time, the name of the person who created it or the transaction with which the document was created.
    EXIT_SAPLV60B_002: Change the customer line ACCIT
    You can use this exit to change the customer line in the accounting document. This exit is processed once the ACCIT structure is filled in with data from document header VBRK.
    EXIT_SAPLV60B_003: Change the customer line in costing
    The customer line is filled in differently for costing. You can use exit 003 to influence the ACCIT structure.
    EXIT_SAPLV60B_004: Change a GL account item ACCIT You can add information to a GL account item (such as quantity specifications) with this exit.
    EXIT_SAPLV60B_005: User exit for accruals
    Once all relevant data for accruals was entered in the GL account item, you can add to this data with this exit.
    EXIT_SAPLV60B_006: Change the control line ACCIT
    You can use exit 006 to add information to the control line.
    EXIT_SAPLV60B_007: Change the installment plan
    You can use exit 007 to add information to the installment plan
    parameters in the GL account item.
    EXIT_SAPLV60B_008: Change the transfer structure ACCCR, ACCIT and ACCHD
    After the accounting document is filled in with data, you can use exit 008 to change the document once again.
    EXIT_SAPLV60B_010: Item table for customer lines
    You can use exit 10 to influence the contents of customer lines before they are created.
    EXIT_SAPLV60B_0011: Change the parameter for cash account determination or reconciliation account determination
    You can use this exit to change inbound parameters in order to influence account determination.
    I hope it will help you,
    Regards,
    Murali.

Maybe you are looking for

  • Nikon to IPhoto to Snapfish

    I got a new Nikon digital camera (D40) and a macbook pro pretty much at the same time and tried to upload my pictures to snapfish (via iphoto) but for some reasons even thought the quality of the pictures was really good in the camera, by the time it

  • Opening balnce

    Hii All             i am in a roll out project i want to know how upload all opening balnce with new g/l account. i knw normally we done through with the help of BDC  &  LSMW. i need to knw  how to frame this thing with lsmw.. Regards   Ajeesh.s

  • Web Service - Request never turns to GREEN

    Friends, I have created Web Service Source System followed by Data Source and did the required setting in Web Service Admn screen (WSADMIN) and could able to generate/publish WSDL and able to see that PSA getting the records with trigger of web servi

  • Email address link causing form loss

    I am working on a form that has a Text field, that is populated with an email address. When Reader has the "Create links from URLs" option on (Edit > Preferences > General), then this Text field becomes a mailto link. It works fine, except when using

  • Dan Tull - Awesome Adobe Customer Service

    We all take a swipe when customer service anywhere is poor, so I just wanted to highlight the outstanding customer service that Dan Tull at Adobe is putting into people who are having database upgrading issues with LR 1.1. I had a double problem, bot