Population of XREF2-Reference Key 2 for a Accounting Document

Hi Gurus,
I have a requirement while posting an accounting document by clearing the Customer open item.
My requirement is Populating the BSEG-XREF2 with customer tolerance Group (KNB1-TOGRU) of the Customer.
I tried implementing the logic in the substitution rule but it is not working. At the time of the subsitution rule code, there is no value in the Field BSEG-KUNNR and i am not able to pull the Customer Tolerance Group.
Can you please tell me are there any user exist or enhancement points to Populate BSEG-XREF2 while posting an accounting Document.

Hi Anand Sirgapuram ,
I don't know if you know what are BTE Business Transaction Events, but you can use them for this kind of needs, you can use the BTE: SAMPLE_PROCESS_00001120, you have to copy it and activate it using the SAP transaction FIBF.
Regards
Yassine NEJMY

Similar Messages

  • Experiment submission failed. Request ID: ID . Please resync the access keys for storage account mystorageaccount

    I am trying to run Sample 1 in the Azure ML studio. I have created a Standard workspace and it is linked to a Storage account. When I run the experiment, I get the error
    Experiment submission failed. Request ID: <ID>. Please resync the access keys for storage account <mystorageaccount>
    I'm not sure how to resync the access keys. I've regenerated my access keys and workspace auth tokens but that did not work.

    I figured it out. Needed to go to the Azure Portal, choose the Machine Learning service, then click Manage Keys at the bottom.

  • Function module to find the attachment list for an accounting document?

    Is there a function module to find the attachment list for an accounting document? Or which table stores such references?
    I know I can find this info from the transaction FB03, but is there a function module to find the attachments for an accounting document? So far I only found the attachments are stored in the table SOOD, and archived documents in table TOA03, but I can't find the table that stores the links between the accounting document and its attachments?
    <b><REMOVED BY MODERATOR></b>
    Thanks,
    Ning
    Message was edited by:
            Alvaro Tejada Galindo

    Hi,
      i_object1-typeid = 'YARSATTA'.  "<<< Give your Object id name
      i_object1-catid  = 'BO'.
      i_object1-instid = i_yarsitem-docno.    "<<<< Document Number
      call method cl_gos_attachment_query=>count_for_object
        exporting
         is_object = i_object1
         ip_arl    = space
        receiving
         rt_stat   = i_stat1.
      read table i_stat1 into wa_stat1 index 1.
      if sy-subrc eq c_0.
         move wa_stat1-counter to v_attno1.
      endif.
    For link you need to check for table SRGBTBREL
    and also please check class CL_GOS*

  • Validation of a reference field when posting accounting document using FB50

    Hi all,
    We hada requirement to restrict the users from entering japanese caharaceters in the reference field of a accounting document. The validation for this was done using the transaction OB28. when the user posts the accounting document using transaction FB01 or changes the accounting document using transaction FB02, the validation provided in OB28 does work(it throws an error restricting the user from entering japanese characters if he has done so). But whenthe user pots the accounting document using the transaction FB50, the same error message comes as information message although the coding is for giving an error message.
    This however does not happen when the user logs on in English. In English logon the error mesage does appear.
    When the user logs on in Japanese the message comes as an information message but at the same time does not allow posting of the document.
    Debugging this revealed that the OSS note 197329 has been applied to the standard SAP program SAPMF05A.
    Any pointers to how this can be rectifiied would be appreciated.
    Thanks in advance.

    I think it would be best if you opened an OSS message on this.
    Rob

  • Manual creation of idoc for a Accounting document FIDCC1

    Hi,
    Some of the config for the change pointer was not moved to production and some accounting documents have been created which have not triggered the IDOC.
    Is there a way to create the idoc for the accounting documents already created.
    Regards,
    Puneet.

    Once you have all your change pointers setup correctly (view bd52) then you should be good to go BUT to answer your question about the existing documents .. you would need to somehow "touch" those documents to trigger the creation of the IDOCs. You can modify something on then that also is attached to the change pointer say a date? 1/11/11 change to 1/12/11 but don't save that value .. change back to 1/11/11 then save.
    Just my thoughts .. let me know how it goes.
    Jay Esparza

  • DMBE2(LC2 amount for a accounting document) in BW

    Hello Friends,
    The users have a requirement to display the LC2 amount for an accounting document along with LC1 and LC3 amounts. Now the problem I am facing is that the LC2amount is postive for both the actual debt and payments made against the debt amount. Now in the subtotal for a particular customer for that account is adding to the original debt value instead of subtracting as all the LC2 amount values are positive.
    Now, the LC2 amount is mapped to DMBE2(LC2 amount for a accounting document) in SAP R3.It is stored  in BSAD,BSIS and BSEG tables and its value is positive in those tables too.
    I don't understand why LC2 is positive for both the debt and payment amounts. But LC1 and Lc3 have both positive and negative amounts.
    Also, is this the standard SAP design or custom to a client.
    How do I resolve this and provide the correct LC2 balance in the reports.
    Regards,
    Tanya

    Hi Tanya,
    Do you have a characteristic in the provider(Something like document type) which tell you whether the current record is debt or payment.
    If you do have such a characterisic, then you can create a formula with an if condition -multiply LC2 by -1 if it is a debt.
    Regards,
    Sunmit.

  • Document Summarization for External Accounting Documents - ECC 6.00

    Hi All,
              I would like to know about the Document Summarization for external accounting documents in controlling. please can anyone suggest when we have to use this in ECC 6.00.
    Regards,
    Pranav

    Hi,
    Please see note 1070629 - FAQs: New General Ledger Migration
    https://websmp204.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1070629&_NLANG=E
    Extract :
    77. How can I deactivate classic Profit Center Accounting (EC-PCA) after activating the new General Ledger?
    Note 702854 explains how to deactivate classic Profit Center Accounting.
    If you use document splitting for profit centers in ERP2004, delete the dummy profit center from the table TKA01 also. For this purpose, Note 702854 provides the program Z30PCA23. Use the program Z30PCA23 to delete the dummy profit center of classic Profit Center Accounting in the controlling area.
    Hope this helps.
    Cheers,
    Gimmo

  • Transaction Key for Purchase Account

    Hi Dear All,
    I want ti define another Purchase account key for frieght like FRE.
    How to creat it?
    Regards
    Gitesh

    Hi Gitesh,
    We won't assign Purchase A/C keys in Pricing Procedure.
    Normally we activate Purchase A/C posting @ company code level under the following settings.
    SPRO - MM - Valuation and Account Assignment - Account Determination - Account Determination Without Wizard - Purchase Account Management.
    As I have already mentioned above system uses the Standard transaction key EIN & EKG for Purchase A/C postings.
    I dont think we have the option to change this standard one.
    Now if your requirement is to use a different transaction key instead of FRE then create a new trans.key & assign the same to the freight condition type in Pricing Procedure.
    Hope its clear.
    Thanks & Regards,

  • Cdot with ssh keys for domain accounts

    Has anyone on this board got ssh working with domain keys for cdot??

    I use multiple keys; it is easy enough to manage them using keyring, and it means that I am able to compartmentalize them according to use case: work (which I obviously have a professional interest as well as personal in protecting) home (one for each box), and then keys for specific tasks (eg., automated backups, acess to particular services like github, mercurial etc).
    This means that if one key is compromised, the others are unaffected and I can revoke the compromised key and, after cleaning up the mess as best I can, generate another and move on.
    The only system I employ is to give each key a meaningful name (having multiple keys named id_{d,r}sa doesn't scale at all) and a policy of only adding the minimum necessary keys to each box's keyring; again, entering all the passphrases with any frequency helps manage this tendency.
    I am also very careful about the key on my android as I see this as the most obvious risk: losing your phone is a pain; losing your phone and potentially relinquishing the key on it would be catastrophically asinine...

  • Reference field in SA accounting document

    Hi Friends,
    Got a requirement, to avoid populating the reference field in accounting field only for type SA (G/L account document). So, while creating through VBOF,   I am debugging to findout the place where the field is getting populated.
    Can anyone help me to understand on how it is getting copied from invoice? Is there any userexits to achieve the same?
    Thanks in advance.

    Hi,
    yes it is possible to change the refernce field in teh accounting document once posted.
    You ahve to mantain Rules for Changing Documents in SPRO.
    The path is ING--Financial Accounting (New)Financial Accounting Global Settings (New)DocumentRules for Changing Documents--Document Change Rules, Document Header
    Here amke a new entry as below
    Field NAme BKPF-BKTXT
    Account type blank
    Tarnsaction Type blank
    Company code Blank
    Check the box for "Field can be changed"
    Hoe this helps
    Reagrds
    Pratiksha
    *Assign Points if useful

  • Number Range For the accounting document

    Hai, 
    After creating the billing document, account determination error is coming.
    Message says that number range 01 is not maintained for the accounting document

    Go to OBA7, select the document type RV and execute.  There ensure that the object 01 in the field number range assignment.  Next go to FBN1, key in company code and ensure that the above object is maintained there.
    thanks
    G. Lakshmipathi

  • Instruction Key - Editable in Accounting Document

    Guys
    Can you help me with changing fields in Accounting document - i need to make instruction key editable.
    Thanks!

    Hi,
    Go to Path SPRO > Financial Accounting (New) > Financial Accounting Basic Settings (New) > Document > Rules for Changing Documents > Document Change Rules, Line Item and here add Instruction key (Field name as "BSEC-DTAWS") and Save.
    Then try to change it in FB03.

  • For BSID- Accounting Document Number corresponding PO Number is required

    Hi Gurus,
                 I have got a requirement to develop a report similiar to 'FBL5N' . I am getting the details of open and cleared items of a customer from BSID and BSAD tables respectively. My requirement is also to fetch the corresponding PO number of the LINE items displayed in the report.
                Can any one suggest how can I fetch PO number with Accounting document number(BSID-BELNR)  or (BSAD-BELNR).
               Your efforts in this matter are deeply appreciated and <<removed_by_moderator>>.
    Thanking You,
    ZIa.
    Edited by: Vijay Babu Dudla on Jan 28, 2009 11:07 PM

    If you have fields BSID-VBEL2 and BSID-VPOS2 are populated with the sales order, than access VBKD with the Sales Order to get the Customer PO (VBKD-BSTKD)
    Or
    First, You need to get the Billing document. Access BKPF with the BSID-BELNR to get the AWKEY where AWTYP = 'VBRK'
    Now, you can go to SD document flow with the billing document to find out the Sales Document. Access VBKD with the Sales document to get the Customer PO
    Regards,
    Naimesh Patel

  • Number range for Invoice & Accounting document to be same

    Forum Members
    The client requirement is to have same document number for both invoice & Accounting document.
    Earlier for fiscial year 2006 it was same where as for fiscial year 2007 it is coming as different.
    Can somebody help in providing the details & configuration details?
    Regards,
    Vengat

    Hi Vengat,
    Go through this link and it may be helpful for you.
    http://www.ficoexpertonline.com/archive/Volume_03_(2004)/Issue_05_(May)/V3I5A1.cfm?session=
    Regards,
    RitiG

  • GRN for respective Accounting document number

    Hi guru,
    I need to show a report like bellow:
    +Accounting doc number+         +GRN+
    4900030516                      4900743137
    Both document number and GRN is saved in same table MSEG.
    can you please give me the relation, depending on that I can recognise 'GRN  4900743137' is created for
    'doc number 4900030516'
    with thanks
    Moshior
    Edited by: moshiur sohel on Oct 7, 2010 8:24 AM

    hi,
    1st to find accounting docs for GR find BKPF - BLART  = WE
    read table field BKPF-AWKEY
    suppose u found AWKEY = 49007431372010 
    AWKEY =    GR number + GR year
    for above example GR number is = 4900743137  and GR year = 2010
    you can use reverse logic if want to go from accounting document to GR document .
    hope this helps
    regards
    Avinash
    Edited by: avinash goswami on Oct 7, 2010 12:11 PM

Maybe you are looking for