Posting of Trading partner FB01 via BAPI_ACC_DOCUMENT_POST

Folks,
I have written ABAP code to create accounting document in SAP from excel . My requirement is to give trading partner (VBUND) in the sheet which will be processed by SAP. now i am using BAPI "BAPI_ACC_DOCUMENT_POST " to upload entries in SAP but i can not find table fields in BAPI to map trading partner field . can any one throw light on this. I guess i may have to EXTENSION2 in this BAPI , can any one tell how to use thatg.
Regards.

Hi,
Check this structure 'BAPIACGL09'
fields
PART_ACCT       JV_PART     CHAR     10     Partner account number
TR_PART_BA       PARGB         CHAR     4     Trading partner's business area
TRADE_ID                  RASSC                     CHAR     6              Company ID of trading partner
Regards
Krishna
Edited by: Krishna Gowrneni on Apr 22, 2009 12:35 AM
Edited by: Krishna Gowrneni on Apr 22, 2009 12:36 AM

Similar Messages

  • Advance payments were posted without trading partner

    Hello Guys,
    could you please enlighten me on this issue.
    for some line item it shows the trading partner but for it doesnot in FBL3N.
    pls suggest.
    Best Regards,
    Vinay

    Hi Vinay,
    Affiliated companies are usually represented as trading partners in customer and vendor master records. The ‘trading partner’ must be assigned in these master records.
    Then, when an affiliated customer or vendor is posted in a document, the ‘trading partner’ is copied into the receivables or payable entry and, usually, also into the offsetting entry , in this case your GL account.
    So check the offsetting entry in the document number you see in FBL3N, it may have been posted to an inter-company customer or inter-company vendor.
    Regards
    Nitin

  • ACC GL Posting idoc requires trading partner

    Hello all,
    I have created a new interface, which posts an ACC_GL_POSTING Idoc to SAP.
    However this idoc runs into error as follows:
    CLIA: Line item 000 - G/L account 5590041 has to be posted with trading partner.
    I know which trading partner this account has to be posted with. However this partner is used for multiple company codes.
    The document type is ZA. When I look in OBA7 the "Inter-company postings" checkbox is not ticked. The "Enter trading partner" checkbox is ticked.
    Do you have any tips for me? Are there some specific settings I should check? What options do I have to get this Idoc processed succesfully automatically?  Any help would be greatly appreciated.
    - Mike

    Hello Gaurav,
    Thanks for your fast response.
    I haven't defaulted the trading partner as the trading partner can vary for the same GL Account.
    I am trying to get GL Postings processed using the ACC_GL_POSTING idoc type. However I was wondering whether there is a way to avoid entering the trading partner manually. Or how it is possible to enter the trading partner manually when trying to use idoc processing.
    - Mike

  • DOCUMENT SPILTTING ON BASIS OF TRADING PARTNER(VBUND) FIELD

    Dear Friends
    We are on ECC 5.0, we have activated document splitting on BUSINESS AREA basis..
    As for new requirement for consolidated financial reports, we have also added TRADING PARTNER(vbund) field for document splitting ..
    We have define companies(trading partner), assign them to relevant customer and vendor master.
    Also have tick INTER COMPANY POSTING AND TRADING PARTNER field in document types(OBA7)
    in documents, with vendor and customer relevant line items trading partner is coming automatically..
    for G/L related line items we want that trading partner should come automatically through document splitting ..
    please note that we cant assign trading partner with G/Ls in chart of accounts as same G/Ls can be used with different different trading partner at the same time..
    Kindly help me in this issue..
    Regards
    Expertia..

    Document Splitting is too complex a concept for Substitution.  If you have to just copy the Business partner to the missing lines, then you can use substitution.  But if you have more than one BP in any entry and the transaction has to generate entries accordingly to balance it, substitution cannot do that.
    If you are trying to split on any field other than Business Area, Profit Center and Segment, it involves a lot of work in terms of configuration and development.  You have to develop your custom routine to enable splitting on your selected field (VBUND) in your case.
    If I remember right, there is a consulting note which explains a brief summary of what is to be done for having Document splitting on custom fields.  You can try searching Service Market place.
    Ravi.

  • Unable to clear customer due to error: u201CPlease enter valid trading partner:

    Hi team
    i am getting this error in clearing in customer invoice
    i checked out in customer master trading partner no is there :*****
    and that customer is also a Vendor but in vendor master record that trading partner no is not there
    but customer number is there
    i need to clear against a incoming payment AB doc type with some billing document
    its a bank charges i need to pay ...
    i am useing transaction code f-32
    if you need any inputs please do let me know
    Moderator message -personal information removed
    Edited by: Rob Burbank on Sep 9, 2011 9:14 AM

    Hi,
    seems like you have to reverse the document without trading partner and re-post with Trading partner. Then it should work. If this is automatic postings and more often to happen in future think about pre-setting it in GL accoutn if possible or validations/ substiutions.
    Regards
    Hein

  • Trading Partner issue in ECC

    I have just activated the trading partner in ECC vendor/customer master on 1.09.08, thus all posting before this date was posted without trading partner information.
    In BCS, I plan to load balance as at 31.8.08 using flexible upload as opening balance with all the "correct" trading partner information breakdown and subsequently, period movement will be extracted from ECC.
    However, I notice that in ECC, when we make payment to open item created before 1.9.08 (document without trading partner), system will not populate the trading partner information, instead the trading partner information in original line  (i.e. blank) will be posted.
    I think this will create a problem, as I alrady uploaded the inter company balance with correct breakdown, but now period movement will be posted without trading partner, thus my balance in BCS will not be correct.
    Anyone face the same issue before? Appreciate you can share with me how to overcome this issue, thanks.
    Regards.

    This is not an uncommon problem. A few ways to address this are: correction posting in ECC, or correction posting in BCS.
    In ECC a posting to move amounts from blank/null trading partner to actual trading partner is one solution. However this is not always possible when the accounts are reconciliation accounts.
    In the case of reconciliation accounts it may be better to post the correction in BCS at posting level 10.
    Another way to address this is to change the breakdown for these accounts to require trading partner and if blank default is used. Then the correcting entries are from default trading partner to the true trading partner in BCS.

  • Trading partner on payment document

    Hello Experts,
    When posting a payment through F110 on a group vendor, for an invoice on which the trading partner field is populated, the  trading partner field is not updated on the payment document.
    Is there some config here to have the field populated on the payment document ?
    I already tried changing the document type settings but it doesn't change anything.
    Thank you for your answer?
    Best Regards,
    Steven

    Hi
    Trading Partner field in Document type is to get populate at the time of manual entry.
    Through F110, you are doing the automatic posting. Trading Partner field will be updated in the Vendor line item, change the line layout in the FBL1N ....if it is updated in the invoice means...it'll must update the Vendor line item.
    VVR

  • FB01 Enter Trading Partner for Posting Key 01 (Customer Invoice)

    Dear Experts,
    I would like to ask is it possible to enter the Trading Partner for the FI Document line item with Posting Key 01.
    I can modify the Trading Partner for Posting Key 40 and 50 but I cannot find field in the More Data Button.
    Can anyone help me to solve this issue?
    Thanks.

    hi,
    Check whether the document type you are using to post is allowed to enter the trading partner.
    To check use the TCODe OBA7  and select the relevent document type. then select the check box enter trading partner under control data.
    and also check the customer you assigned for that posting key 01 is got assigned trading partner in the master record or not(TCOD XD02/XD03).
    thanks.

  • 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 need to post in IR

    Trading Ptr on STO Invoice Receipt entries. Trading Partner flows through to all line items on FI doc for Goods Receipts, but not for Invoice Receipts on STO PO''s.  On Invoice Receipts, Trading Ptr is only posted on the Intraco A/P line item. Can we get Trading Ptr to post on ALL line items in the I/R doc as well?

    go to your invoice in VF03
    then go via the menu: environment - account determination analysis - revenue accounts
    here you see per valid condition how the acccount is picked up.
    kr
    Nico

  • To enter Trading Partner data for vendor posting using SGL indicator

    Hi,
    I am trying to post a vendor document using f-02, with posting key 29, with a special GL indicator. I need to input the trading partner data. However, I could not find the field under "more data". There was no "further data" selection. I was also not able to enter the trading partner via the path : Extras -> trading partner.
    Please advice how to pull out the field for trading partner for posting using special GL indicatior. I have checked the PK variant screen and the field status group variant ansd could not find the field trading partner.
    Thanks.
    Angel.

    Hi,
    already maintained in vend master data, OBA7, OBC4, OB41 were also maintained.
    But the thing is, the trading partner field did not appear on the posting screen. I was prompted with an message that trading partner is a required field as I have set it as mandatory. And the system ask me to input under "further data". But i cannot find that option. Neither can I find the trading partner field.
    Please assist.
    Angel.

  • Batch-Input/CALL TRANSACTION FB01: Trading Partner cannot be filled in

    Dear experts,
    I have the following problem with performing an FB01 booking on the basis of
    CALL TRANSACTION USING:
    In the customizing of the FI document type you can mark several fields that
    are supposed to appear when you perform an FB01 posting, among them
    the "Trading partner". But this field only seems to show in Non-BTCI-mode.
    There are SAP Notes treating the phenomenon of the additional COBL-data
    screen being always brought up with all available fields in BTCI mode
    (which is fine for me, since I actually want to fill in some fields there, too),
    but this screen does not contain the trading partner and I can't find any hint
    why fields like BSEG-VBUND (trading partner) apparently cannot be reached
    at all in BTCI-Mode.
    Does anybody know this problem, or better yet: have a solution ?
    Thanks in advance
    Andreas

    Hello Akanksha,
    I suppose you're interested in how you make the fields available/visible
    in the posting transactions ?
    BSEG-VBUND/Trading partner for instance belongs to the
    supposed-to-be-available checkbox-selection in customizing of the
    document type you are going to use for your posting.
    The availability of the additional controlling fields (cost center, order no. etc.)
    depends on the cost accounting being active and on the field status group
    that is chosen for your account.
    In the booking/posting transactions you reach the fields with the button
    "further data".
    Best regards
    Andreas

  • Exit in FB01 to populate trading partner

    Hi All,
    I have an requirement to fill the GL line item trading partner with value of trading partner from vendor or customer master.
    For example if I post document with two line item, one is vendor leg and other is GL leg. In vendor line item i have trading partner field which is getting populated with the trading partner from vendor master. The same trading partner needs to be populated in GL line item trading partner field.
    Please let me know can it be done thru exit or is there any other way to do it?
    Regards,
    KS
    Edited by: KS on Apr 27, 2011 6:47 AM

    hi,
    This should be possible to do through a validation on document level. Please look into OBBH for this.
    Regards
    Hein

  • 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 Post XML Messages with SOAP Headers to a Trading Partner URL

    Hi All,
    Greeting to the Oracle B2B Community. We are currently working on how to post a Custom XML Message with SOAP Headers to a Trading Partner URL. I would really appreciate if anybody could provide me some inputs or links to some documentation on how to achieve the above requirement. The details are below:
    1. Our Internal Application generates a Flat File (PO Extract).
    2. The Extract then needs to be transformed to an XML Message. We are planning to use BPEL to do the transformation to XML Message.
    3. Once it is transformed to an XML message it needs to be posted to the Trading Partner URL as an HTTP Post and with SOAP Headers.
    We are planning to use B2B to do the posting but I am not sure on how to do the set-ups and what all parameter files in B2B needs to be updated in order to achieve the same. Also it is mandatory that we send SOAP Headers in the XML Message.
    Thanks In Advance for your help.
    Regards,
    Dibya

    Hello Dibya,
    As you are already doing the transformation from Flat file to XML in BPEL which is typically the capability of B2B, please use the Soap binding in BPEL to send the document to Trading partner.
    Rgds,Ramesh

Maybe you are looking for

  • OIM 9.1.0.1 SPML Web Service Deployment on JBoss 4.2.3

    Ran the script to deploy the services. The log file says thats the build was successful. When I start JBoss it fails to deploy. Anyone tried this. Start seeing error messages here: 2009-12-09 12:39:26,217 ERROR [org.apache.catalina.core.ContainerBase

  • Oracle 8i,9i,10g,11g

    Hi, Can anyone help to know about the differences of Oracle 8i,9i,10g,11g and wit definition?

  • Best approach to read IDOC flatfiles using XI in mass number

    Hi, We have a requirement like, we will be provided with IDOC PO flatfile structures(Exactly same as IDOC,but in flatfile format) . We have to read those flafiles and create POs in our SAP system. please note there is no sender system,will be provide

  • Request context path for portlet has wrong port number

    I have a JSF application deployed as a portlet on the WLS_Portlet domain with port 8889. The portlet is being consumed in WebCenter Spaces, which lives in the WLS_Spaces domain with port 8888. In my code, I am trying to get the request context path:

  • How to edit contact names

    How do I edit my contacts name? Should be simple but I can't seem to be able to do it. I have to delete the contact then re-enter them? Thanks