Trading partner - BSEG

Hello all,
We have build a program based on BSEG table in order to extract gl account information into a Z report.
This report was running properly until two changes have been installed in SAP:
-New general ledger
-Trading partner
The program is not taking the information from the gl accounts containing Trading partner informed anymore.
As the new general ledger is not using BSEG table, at report FBL3N is not showing trading partner informed.
Please can you assist? Which report can I check to get this information?
Thanks
RG
M

Hi,
In case of Z report, you need to look for an alternative way, where you can fetch the required data to your Zreport.
Sit with your ABAPer and modify the prog accordingly.
Regards,
Srinu

Similar Messages

  • BAPI_ACC_DOCUMENT_POST for field trading partner (bseg-VBUND)

    Hi,
    I am uploading journal entries in SAP by using this BAPI "BAPI_ACC_DOCUMENT_POST". Here program works fine now i want to give trading partner (bseg-VBUND) in line item but i cant find appropriate field in this BAPI for trading partner so that i can do mapping. Can you tell me i which table i have to give input for trading partner entry. Thanks in advance.
    Regards.

    Refer to the following trheads:
    Change field bseg-vbund
    Trading Partner field (VBUND) is left blank in EC-PCA historical data load
    Validation document type
    Field VBUND does not allow changes to the document ?
    Regards,
    Fernando Evangelista

  • How to update trading partner (BSEG-VBUND) in tr.code FB01/FB02?

    Hi,
    I need, under some circumstances, to update value of trading partner code (field BSEG-VBUND) to all items in the FI document, created/changed with transaction FB01/FB02.
    I checked available user exits and bussiness events, but didn't found one, which could do the trick.
    In fact, in bussiness transaction event #00001430 (CHANGE DOCUMENT: Field substitution header/line - Checks prior to posting change completed) - for FB02 I have access to the internal table T_BSEG, but it seems this table is used as import parameter only and any changes didn't take efect at the end.
    Any help how can I do the trick? And this is while I'm in a transaction FB01/FB02.
    My system is 4.6c.
    Many thanks in advance.
    Regards,
    Ivaylo Mutafchiev

    Svetlin, Max,
    what I did until now is:
    1) followed matrix substitution = callup point 3 (complete document) - I checked for existance of correct substitution field(s) in the GB01 table, and re-generated substitution code (as noticed in note 42615). That added my field in the list of fields for substtitution which are considered at the end of substtitution - in forms:
    FORM EXP_REC_015                      
            USING                        
              DATA_CHANGED TYPE GB002_015
            CHANGING                     
              DATA_OUT TYPE GB002_015.
    and
    FORM EXP_TAB_015_BSEG                   
             USING                          
               IN_ORIG STRUCTURE        BSEG
            CHANGING                        
               OUT_RESULT STRUCTURE     BSEG
               B_RESULT.
    both forms are in main generated program GBTAAFI0.
    My field (VBUND) is taken in account - added to the structure:
    DATA:  BEGIN OF TEMP_STRUCT,                          
            VBUND                          LIKE   BSEG-VBUND
            ZFBDT                          LIKE   BSEG-ZFBDT
            END OF TEMP_STRUCT.                            
    here ZFBDT was the other field defined in GB01 for substitution from someone esle - perhaps by default, I don't know.
    Further (in the include MF05LFB0),
    almost all of the structures which contain my changes are cleared (below is extract from the code):
    LOOP AT beltab WHERE xarch NE char_x.                   "Note 0383125
    REFRESH xbseg.                                                     
      REFRESH ybseg.                                                     
      REFRESH xbsec.                                                     
      REFRESH ybsec.                                                     
      REFRESH xbsed.                                                     
      REFRESH ybsed.                                                     
      REFRESH xbset.                                                     
      REFRESH ybset.                                                     
      REFRESH t_bsegco.                                                  
      REFRESH t_fmfich.                                                  
    Further, the logic proceed with the program SAPFF011 and form 'import_*beleg', where my changes were overwritten with original data - before substitution.
    2) Tried Max's proposal - and extended structure BSEG_SUBST with field VBUND, further populated the substitution table in the related BTE 1430 accordingly.
    Unfortunately the flow-logic proceeded further to the same form 'import_*beleg' in the program SAPFF011 and my changes dissapeared.
    I'm at dead-end - have no idea where and what is the problem...
    Checked few OSS notes - 42615, 386896, 513891, 391309, 438076. Everything which is related to my exact situation is set correctly - as far as I found :-).
    Just for tests I tried both ways (BTE and matrix substitution) with another field ==> BSEG-XREF3, and it was updated correctly - accorging to my logic.
    Thanks guys, your suggestions were right at the time and valuable, but they didn't help me to solve my problem. Perhaps there is something messed in our system - I can't be sure. What I can say for sure is that we have working BTE-s (1430 is used in our system - I just added piece of code into it), and validations are working also.
    Thanks again.
    Regards,
    Ivaylo
    P.S. If you have any suggestions, I'll be glad to hear them from you.

  • Trading partner in fast entry

    Hi experts,
    I am creating a new Variant for Fast Entry, It is ok but I need to add the fiels "Trading Partner" (BSEG-VBUND) wich is not possible.
    I have read other post that said to apply sap note 2596 but should I modify the standard?
    I think may be another way to add trading partner in fast entry.
    Do you Know?
    Please any help will be welcome, I am Lost

    Hello Sara,
    Do it as per the Note 2596 - SAPDFKA6: New fields in fast entry screens.
    There won't be any harm in it as SAP suggested, also refer to the below link it might be of some help to you.
    How to add a Custom field in possible fields list in G/L fast entry
    Regards,
    TP

  • Trading partner in FI document

    Dear Experts,
    Where can i set to release the filed- trading partner ( BSEG-VBUND )to user for entrying FI document?
    I have checked 'Field status group' there is no trading partner can set as optional.
    Please advice!
    Thanks a lot!

    Hi,
    if its needed to enter the trading partner manually, use T-Code OBA7 for the document type you want to use.
    In control data mark the check-box "enter trading partner".
    best regards, Christian

  • VBUND(Trading Partner) field in BSEG from Tcode FB50 through programs

    Dear Friends,
    I am traying to update the VBUND(Trading Partner) field in BSEG from Tcode FB50 through programs....but its not updating in BSEG.
    for that we have used substitution programs,
    Did we have any other way to update the VBUND in BSEG from FB50?
    I have debuged the Tcode FB50, and in there its updating the BSEG from internal table t_bseg, and passing the values to t_bseg from SACCIT, but SACCIT is not having the field VBUND. thats the reasone its failed in my case.
    do we have any other better solutions and idea on this???
    Thanks,
    Sridhar

    Refer to the following trheads:
    Change field bseg-vbund
    Trading Partner field (VBUND) is left blank in EC-PCA historical data load
    Validation document type
    Field VBUND does not allow changes to the document ?
    Regards,
    Fernando Evangelista

  • VBUND(Trading Partner) field in BSEG from Tcode FB50

    How to VBUND(Trading Partner) field in BSEG from Tcode FB50 ? ( through program way)
    is it possible?
    Thanks,
    Sridhar

    >
    sridher reddy wrote:
    > How to VBUND(Trading Partner) field in BSEG from Tcode FB50 ? ( through program way)
    > is it possible?
    >  -->whats ur issues ? can you put it in simple english ?
    > Thanks,
    > Sridhar

  • Account 12221001 requires trading partner to be filled

    Hi
    The user had some old documents and he is trying to clear them.
    During clearing he is facing an error "Account 12221001 requires trading partner to be filled"
    Trading partner field is blank in the reconciliation account 12221001 and also customer account.
    BSEG of the document which gives the problem. The reconciliation account is 12221001, the trading partner for the customer line is not filled in.
    How can we fill the trading partner on this line item?
    Thanks in Advance,
    Deepthi.

    hi,
    trading partner field is populated from account , customer or vendor.
    if your customer wants to clear old documents, most probably, some documents are filled with trading partner field and others are not.
    in this situation you cannot clear these documents.
    i have faced the same iproblem. to solve it, you should determine the balance of trading partner included documents,
    you should post two documents using a dummy document.
    lets say the balance is 20.000 usd
    you should post: (initially you should maintain trading partner field in customer data)
    DR/CR    customer.........20.000usd
    CR/DR  dummy acc. ..........20.000 usd
    second posting ( you should clear the trading partner field in customer data)
    CR/DR custoemr......20.0000usd
    DR/CR dummy acc.....20.000 usd
    now you can clear items with trading partner is filled.

  • Validation Rule for trading partner

    Frnds
    I am writing validation for trading parter with below details.
    Prerequsite
    BSEG-HKONT IN ZIC_ACCT
    Check
    BKPF-AWTYP = 'BKPF' AND BSEG-VBUND <> ''
    Error
    Specify Trading Partner for intercompany accounts
    I have created above validation at call up point 2 at line item level
    so when i go to post docuemnt at FB50 and select the GL account from set ZIC_ACCT, it issues error that i have to put the trading partner, but as soon as i put the trading partner, it should allow me to save the document, but it does not. infact it again issues error that i need to put the trading partner.
    so can someone please look into it and let me know if i can writer validation for Trading parter or not?
    Thanks

    Hi,
    You can do as per following:
    Prerequisite:
    BKPF-BUKRS = 'company code' AND
    BSEG-HKONT = 'GL Account' OR AND BKPF-TCODE <> 'FB50'
    Check
    BSEG-VBUND <> ''
    Message
    Enter Trading Partner for GL Account &1
    Message type - E
    Message no. = XXX
    message variables BSEG-HKONT
    Regards,
    Santosh

  • Note 779844 Inheritance of trading partner to line items

    hello
    I need to apply OSS note 779844. This Note has three steps:
    1. A series of source code changes in the system (done through Tx. SNOTE).
    2. Modify database table GB01 by adding to boolean class 15, table BSEG, the field VBUND (company)
    3.Implement a corresponding FI substitution for the callup point 3 with a user exit in which the required trading partner inheritence logic is implemented.
    I have trouble understanding what should be the logic for the point 3, the substitution.
    the note say that "the inheritence of the trading partner (VBUND) to allother line items of the other company code also occurs if not all line items of the two company codes (except for the company code clearinglines) contain profit and loss accounts, therefore also if line items with balance accounts are involved in the posting"
    The note also says to use the substitution with a user exit. I don't know what user exit I should use.
    does anyone applied this note before? can anybody explain to me what logic should I use for the FI substitution?
    thanks

    Hi Jorge,
    I'm in the middle of implementing this SAP note. Just like you, i encountered the same problem.
    I don't understand what does the note means for solution no 3.
       "Implement a corresponding FI substitution for the callup point 3 with
       a user exit in which the required trading partner inheritence logic is
        implemented."
    If you have found the solution, please share with me.
    TQ.

  • Validation for Profit Center and Trading Partner

    Hi Gurus,
    Please help me in creating validation for Profit Center and Trading Partner.
    I want system to give an error if we use Trading Partner related to particular profit centers.
    Please revert asap.
    Thank You

    Hello,
    Please use T.code OB28 and select the call up point 2.
    Than go to Prerequisite in expert mode and say
    Prerequisite  :           BSEG-VBUND <> ' '
      Check:               BSEG-PRCTR = ' '
      Error Message.: xyz
    I have created Validation understanding if someone gives Trading Partner and also Profit center while posting a doc than it will generate an error message.
    however if you have some diff req please change it accordingly/ take Abapers helps if not very clear.
    I hope this helps
    Regards
    Shireesh

  • Transaction F-03 requiring trading partner

    Hello guys,
    I am trying to clear some items in transaction F-03 which are amounting to zero.
    But when i try to clear i am getting a message that trading partner is required since this is an inter-comapny posting.
    I have checked the field status for this particular GL, the field trading partner is not suppressed.
    When i simulate the document, i am also getting a difference in FX which is asking me for trading partner to clear.
    Can some help, could this have anything to do with validation or document change rules?
    Thank you
    Thomson

    Hi Srikanth,
    TRADING PARTNER FIELD REQUIRED AT T.CODE LEVEL AND GL ACCOUNT LEVEL
    Please follow the below steps. You will get the excepted requirement.
    Use T.Code: GGB0
    1. FINANCIAL ACCOUNTING - LINE ITEM
    2. CLICK ON CREATE STEP ICON ON APPLICATION BAR
    3. CLICK ON PREREQUISITE OPTION
    BKPF-BUKRS = 'XXXX' AND BSEG-HKONT = 'XXXXXXXX' OR
    BKPF-TCODE = 'F-03' OR BKPF-TCODE = 'FB50' OR BKPF-TCODE = 'FB60'
    OR BKPF-TCODE = 'FB70'
    4. CLICK ON CHECK OPTION
    BSEG-VBUND <> ''
    5. CLICK ON MESSAGE OPTION
    MESSAGE TYPE: E
    MESSAGE NO: XXX
    ERROR MESSAGE: MAINTAIN TRADING PARTNER FIELD
    6. Use T.code: OB28
    Give Company Code: XXXX
    Call Point: 2
    Validation Rule: XXXX
    Activation Level: 1
    SAVE
    Thanks & Regards,
    Vijay

  • Agent as Trading partner

    Hi experts,
    The client is using a non-SAP application for SD and SAP ECC6.0 for FI. Agent is captured as Trading partner and linked in Customer Master.
    Wants to get the agent  getting displayed in the standard SAP AR reports (without customization) like FBL5N....
    Could you please suggest how it can be facilitated?
    BR
    Karan

    Hi Karan
    Can you please mentioned the technical field name in  the table BSEG, BKPF if is is available then
    please use following path to add the field in the table path is as follow
    spro--> financial accounting --> A/R and A/P --> Customer A/c --> line items --> define additional field for line item display
    hope this is useful
    thanks
    Trinath

  • Issue with trading partner

    Hi ,
    I have a issue with trading partner,
    While clearing the bank clearing account with bank main account user has got the below error
    "Consolidated companies ' ' are different"
    The issue is because u201CTrading Partneru201D, document number xxxx has the trading partner.
    I have given the below solution to client,
    Proposed solution:
    Reverse the payment & invoice documents
    Edit the vendor master data (Remove the trading partner from vendor master data)
    Re-post the invoice
    Do the payment document
    Now client does not want to revere the document, do we have any other way to do this?
    Regards,
    Sridhar

    Hi Sridhar,
    if you make wrong entry in VBUND, it is necessary to REVERSE the document first and re-post with the correct VBUND information.  BSEG-VBUND is one of the important organizational fields which should be managed in the same manner as company code, business area etc. These organizational fields cannot/should not be changed.
    Please refer to note 4152, which provides valuable information on why
    the error F5080 arises in your system.
    Also please consider the following points:
    There is also another note, 109925, which describes in detail the
    possibility to transfer, into all the line items, the trading partner.
    Use
    o  If you want the trading partner to be transferred to all line items,
        do NOT set this indicator.
    The System behaviour is the following one:
    1) Both indicators switched OFF:
    If a trading partner is maintained in G/L, vendor or customer master
    record, VBUND is copied to all document lines. VBUND is unique
    in FI-document.
    2) Indicator "Multiple companies" switched ON and indicator
    "Enter trading partner" switched OFF:
    The company ID (= trading partner) is not inherited to other items for
    document types that allow cross-company postings.
    3) Indicator "Multiple companies" switched ON and indicator
    "Enter trading partner" switched ON:
    You can enter a trading partner when posting to a G/L account and in
    the G/L master record, no trading partner is stored.
    In this case, the company ID specified manually is entered in all
    line items that not yet received a company code from the customer
    or vendor master record.
    Kind Regards,
    Mateus

  • Go-live in EC-CS:update trading partner and transaction type on Balances

    Hi collegues,
    We are on a go-live this december for EC-CS (consolidation) but never have used trading partner nor consolidation transaction type so there are not GL account balances differenciated by these two items on our FMGLFLEXT database for the operative ledger.
    Which is the best option for the data to be collected into our consolidation ledger in EC-CS (ECMCT database) when data transfer for all our consolidation units will be realtime update from FI?
    I really don't know if I must correct the balance on FMGLFLEXT throught FI postings or if just adjustments on EC-CS it's the best option. I'm thinking on the posibility of extracting the Financial Statement at any time from F.01 tx...
    Is there any transaction on FI to authomatically update at least the trading partner on GL accounts positions/balances?
    Thanks in advance!
    Regards,
    Rushid

    Hi David,
    In fact there has never existed any entry for trading partners on GL, AR, AP master data. So consequenly, no balance in FAGLFLEXT/ nor documents on BSEG have ever had these fields populated.
    My question is: which is the common option for a go live in such situation? Our users will distribute the current GL balances into "sub-balances" (GLAcctTxtypetradpartner) in an excell file but I do not really know what to do with this data:
    - direct postings on BSEG cancelling the previous totals,
    - rollup into a Special ledger of the new gl,
    - rollup into the Preparations for Consolidation Ledger,
    - corrections on ECMCT after the periodic extract...
    What would choose? 
    Thanks!

Maybe you are looking for