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

Similar Messages

  • 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.

  • User defined fields for the Trading partner agreements

    Hi,
    Do we have any provision to create custom/user defined fields for the Trading partner agreements ?

    Hello,
    It would be great if you can provide complete details of your use case. I can suggest the possible way of implementation only after understanding your requirement.
    Regards,
    Anuj

  • Issue with the field (Trading Partner) in the BW report

    The Info Object 0PCOMPANY (Trading Partner) is having a reference char 0COMPANY in the BW system so the data for the field Trading partner text will be pulled from 0COMPANY_TEXT data source.
    I have checked in the info object 0PCOMPANY in the tab master data / Text under text table properties it has checked in the medium length text exists.
    Even i have checked with R/3 consultants and found the data for all of trading partners but i am not clear where i have to investigate on this issue.
    Now the values for the field Trading Partner were not displayed in the report i have checked the properties of the field and found display as Standard: key and text.
    Any help will be appreciated in advance.
    Thanks
    Ganni

    Hi,
    set the propety "display" to medium text for this charateristic either in the BEx report itself either in the query definition.
    Ensure that the text are well loaded (run tran RSDMD with this IObj in norder to display master data)
    Only having meduim texts will prevent you to display "key and texts" in reports.
    You could enhance your IObj and enable short/long texts as well; in the transfer rules just load the medium text in short (truncate its length to 20) as well as in the long text.
    hope this helps...
    Olivier.

  • Validation Rule for making Trading Partner mandatory in FB50

    Hi,
    Validation Rule for making Trading Partner mandatory in FB50
    I am trying to make trading field mandatory in FB50. If trading partner is not entered for the line items in FB50, User should get a  error
    I have tried the  follwiong (at the Line Item level) and it does not work:
    1)
    Prerequiste:
    Transaction code = 'FB50'
    Check:
    Trading Partner = ''
    Message:
    2) 
    Prerequiste:
    SYST-TCODE = 'FB50'
    Check:
    Trading Partner = ''
    Message:
    Any ideas?

    The message will only be issued when the result of the check is false.  If you want to issue an error when a trading partner value is not entered, then your check needs to be Trading partner <> ''.  If the user enters a Trading partner value, the check will be true and no message will be issued.  If the user does not enter a Trading partner, the check will be false and the message will be issued.

  • CANNOT OVERRIDE DOCUMENT ROUTING ID FOR SPECIFIC TRADING PARTNER FOR ROSETT

    Cannot override Document Routing ID for specific trading partner for RosettaNet transactions.
    The Document Routing ID for other transactions types (e.g EDI) can be overridden when creating operation capability for a trading partner by unchecking "Use Existing Document Proto Parameter Values" and "Use Default Document Definition".
    This does not work for RosettaNet transactions as no option to override the values is available when "Use Default Document Definition" is unchecked.

    Hello,
    I have replicated this issue and it appears to be a bug. I shall follow up regarding the same.
    Rgds,Ramesh

  • How to Generate 997 for different trading partner with different Interchang

    How to Generate 997 for different trading partner with different InterchangIDS
    We are planning to use same working “ABC -> XYZ (Host)” 850 “ecs” file even for “EFG -> XYZ (Host)” 850 Transaction. And we have successfully implemented without any issues.
    We wanted to send 997 Acknowledgement in case of “EFG -> XYZ (Host)” 850 transaction.
    In this case also we would like to use same “ecs” file which has been used for “XYZ (Host) -> ABC”.
    After adding the 997 capabilities to Stanley I don’t see any extra capability added to “XYZ (Host)” trading partner.
    The generated 997 for Stanely EDI file doesn’t reflect the “XYZ (Host)” trading partner Interchange ID. It is getting reflected the previous 997 Transaction “XYZ (Host)” Intercahnge ID.
    We use following Interchange ID’s
    ABC = 005381447
    XYZ (Host) = 049894764
    EFZ = SWEOT30013
    XYZ (Host) = 5273851T
    The 997 which is generated has the InterchangeID as this “049894764” instead of “5273851T”
    Regards
    Ravi

    Hi Ravi,
    You have to have the two Delivery Channels under Host TP's communication capability. One host delivery channel should be used with one TP only and will have specific values to that TP.
    Go to the Exchange Protocol Parameters of Host TP (XYZ) delivery channel (which you are using in the agreement with EFZ) and provide the required values here. Revalidate and redeploy the agreements and run a test. Let us know if you still face issue.
    Regards,
    Anuj

  • AIP-16076: A wallet password is required for hosted trading partner Oracle

    Hi,
    I have defined a agreement under "Custom Document over Generic Exchange" using File transport protocol.
    I have configured host and remote tp delivery channels with following setup
    i) Encryption Enabled
    ii)Non-repudiation-origin enabled
    iii)Non-repudiation-receipt enabled
    I have created digital certificate using Oracle Wallet Manger application and saved them in B2B file system.
    I have browsed and uploaded digital certificates to B2B during delivery channel creation.
    After completing everything and when I validate the agreement, it throws following error
    AIP-16076: A wallet password is required for hosted trading partner Oracle
    Where I am doing wrong ?
    Should I copy certificates to a specified path ?
    Thanks
    -Praveen

    HI,
    I got it now.
    We have to set Host TP wallet password in General section Host TP B2B UI
    Thanks

  • AIP-16076: A wallet password is required for hosted trading partner

    Hi Please help me to resolve this issue.
    B2B version: 10.1.2.2
    OS: AIX 5.3
    Error
    Agreement XYZ is invalid.
    AIP-16076: A wallet password is required for hosted trading partner ABC in agreement XYZ.
    I did create the wallet, imported TD certificate and created wallet.txt and changed the "tip.properties"
    Restarted B2B.
    I did provide password 'welcome' when I create "Transport Servers". Is there any part I am missing. Please help with info to resolve this issue. It's bit important.
    Thanks !
    Rama K

    Hi Guys,
    Thanks for quick reply.
    Here I am experiencing one more isssue. Please let me know, if you have quick ans for this issue.
    <MSG_TEXT>Error -: AIP-51085: General failure encrypting S/MIME message: Error -: AIP-51091: Adding recipient to S/MIME message recipient list failed : Error -: AIP-51162: invalid asn.1 tag.
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createEncryptedMimeBodyPart(MimePackaging.java:513)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1697)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:262)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:110)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1165)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:701)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:832)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:531)
    at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java(Compiled Code))
    at java.lang.Thread.run(Thread.java:568)
    Caused by: Error -: AIP-51091: Adding recipient to S/MIME message recipient list failed : Error -: AIP-51162: invalid asn.1 tag.
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.encrypt(SmimeSecureMessaging.java:1242)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createEncryptedMimeBodyPart(MimePackaging.java:485)
    ... 9 more
    Caused by: Error -: AIP-51162: invalid asn.1 tag.
    Thanks in Advance,
    Rama K

  • 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

  • BTE for subsituting trading partner

    Hi guys: When booking an interco document via F-02, only the interco GL account has trading partners in it not the other line items. How can i get the trading partner on those line such as expense & revenue?
    I tried using BTE event 1120 & 1020 and i managed to modify table T_BSEG, but when the code is exitted, those fields are replaced as blank again. Is there another event that i can use just before the commit to database so i know i havent lost my trading partner?
    thanks
    Brian

    thanks!

  • Can't delete Capability for a tradeing Partner

    Hi All:
    When I trying to delete a 4C1 (Inventory Information Provider) V99.01 capability from a trading partner, I received the following errors:
    An error occurred when deleting the supported collaboration role.
    java.lang.NullPointerException : null
    I have make sure there is no activate configuration using any 4C1 capabilities (quiese, retire and purge has been done).
    We do have multiple different version of 4C1 capabilities registered for this same trading partner. please do not ask why we need so many versions. In our system (development box), we are having the following operational capability:
    Collaboration Collobroation Role Version
    4C1 Inventory Information Provider V02.00
    4C1 Inventory Information Provider V02.03
    4C1 Inventory Information Provider V09.01
    4C1 Inventory Information Provider V99.01
    4C1 Inventory Information Provider V98.01
    Any help will be greatly appreciated.
    Thanks!
    Kevin

    Hi Kevin,
    I hope you may have followed same steps but still I am listing down -
    1. Make sure there is no configuration in quiesced or retired state which is using this business action. If it is, then purge that configuration first.
    2. There is no agreement in valid state which is using this configuration. If it is then delete that agreement first.
    3. Go to trading partner -->capabilities --> <select protocol>---> operational capability
    delete this business action now.
    If you are trying to delete from partners --> protocols --> <specific protocol> --> document protocol then first make sure that no TP is using this collaboration and then delete.
    Follow below thread for order of deletion of business action (last post of this thread) -
    Deleting the B2B configuration completely
    Regards,
    Anuj
    Edited by: Anuj Dwivedi on May 15, 2009 9:47 AM

  • How to generate cXML response for a Trading Partner in Oracle B2B 11g

    We have a requirement to generate a cXML response whenever there is an inbound message posted from a trading partner to our B2B servlet. Can the response be directly generated in B2B integration layer and sent back to the partner?
    Messages(cXML) will be exchanged as Custom document using HTTPs protocol.

    Thanks for the response.
    Can you please explain how you used custom cXML in the Ack. What document protocol was used.
    Thanks!

  • Trading partner' field (ANLA-VBUND) on asset master data

    Dear experts,
    I have informed field Trading partner' (ANLA-VBUND) on asset master data but we have notice that, in our system, it has not got any function on an accounting level.
    Trading partner is not informed in documents like:
    CR - Loss
    DB - Asset account (with trading partner informed on asset's master data)
    We only get trading partner informed in postings like:
    CR - Vendor with trading partner informed in vendor's master data.
    DB - Asset account
    By the way, although trading partner is informed on asset's master data, trading partner is not informed on depreciation postings.
    At the end, I think that my expectations around the functionality derived on field Trading partner' (ANLA-VBUND) on asset master data are not correct. I could not found any SapNote or SapHelp regarding this question.
    Does any body knows what is the functionality of field Trading partner' (ANLA-VBUND) on asset master data?
    Thanks in advance

    Dear Brigitte,
    Thanks for your answer. Looking to the documentation you mentioned above I've found the following:
    AA/Asset Accounting
        * Asset transfers between company codes: If a fixed asset is transferred to another company code, two posting documents are required - one for each company code. The trading partner of each document must be set with the company ID of the other company code, respectively.
    In my understanding there is no functionality regarding trading partner on asset master data level apart of transfers between company codes. Am I right?
    I understand that my initial approach was not correct.
    Regards

  • 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

Maybe you are looking for

  • How can i delete unwanted songs from iTunes match?

    With a limit on how many songs that can be uploded to iTunes match, how can i remove songs that i didn't want uploaded to the Cloud?

  • How to get rid of apple logo loop off rebut? tried restore.

    I tried the bellow. restored it twice. this morning i tried to update to ios 6.1.2 i'd be updating from like ios 4. something. i had tried to update to 5 but it never would. so i figured i'd give it a try. So i started it. It's said verifying then st

  • How to create a variant for a screen (not a selection screen)

    Hi I foud a function module RS_CREATE_VARIANT. Is this the correct fm for creating screen variant, if yes then pls provide me some help about how to pass values to this fm. if not then pls help me to find out new one. thnks satisfactory answer will b

  • Problem with Database_App_Tables_9.1.0.5.0 Connector

    Hi All, I am using Oracle Identity and Access Management 11g (11.1.1.5.0) and have configured the Database App Tables GTC for Trust Source Reconciliation. I am trying to implement the example configuration as specified in Appendix A of Connector Guid

  • Creation of tax code V0

    Dear experts, Please guide me step by step,how to create a tax code v0(zero percentage).At the time of MIRO,error showing,tax code v0 doesn't exist in country IN in tax procedure TAXINJ Regards Partha