Trading partner - Validation

Hi Gurus,
I want to create validation with the help of which system will give error message if i enter trading partner 1000 and profit center 1000, while doing posting through FB50.
Please help me in doing this.
Thank You

hi
you have to use
GGB0
create New validation for Line items
Prerequisite will be your Transaction code
Check will be your Profit center

Similar Messages

  • Error msg . while creating a GR w.r.t. PO --"ENTER A VALID TRADING PARTNER"

    Hi ,
    While  creating a GR w.r.t. Purchase Order (MB01)  getting a following msg:
    "ENTER A VALID TRADING PARTNER "
    In Vendor Master : Partner function  has the vendor details
    OA     Ordering Address     
    VN     Vendor     
    PI     Invoice presented by     
    Any thread would be helpful .
    regards,
    chait

    Hi ,
    THere is no entry in field :Trading partner LFA1 -
    VBUND  
    ALso the vendor has acccount group : RMIT  :  Remit to Address
    PArtner functions are maintained in vendor master viz. OA ,VN , PI .
    regards,
    chait

  • Error validating TP...AIP-11052: Writing following objects: Trading Partner

    Hi,
    I am getting following error validating trading partner. I have double checked the TP setup, everything looks fine. I had earlier successfully validated, later added a document type and trying to re-validate.
    AIP-11052: Writing following objects: Trading Partner failed due to following constraint violation: PARTY. CAN NOT UPDATE UNVERSIONABLE OBJECT IN A VALIDATED CONFIGURATION
    Does anyone have any clues??
    Thanks
    Venkat

    Make sure you do not have active configuration which is using this agreement.

  • 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

  • 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

  • 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

  • Trading Partner and Validation for Tradin Partner

    Hi Gurus,
    Please tell me the use of Trading Partner field while doing transactions. What is the benefit we can get out of it?
    Can we write a validation rule, so that system will throw an error, if particular trading partner is used for particular profit center group or profit center?
    Please revert back asap.
    Thank You

    Hi,
    This will clear ur ideas...
    In Business Terms Trading partner is your business partner within Group with whom you are doing business.
    In order to identify Inter Company transactions Trading partner field is used.
    You need to define all the Group Companies as company in SAP and all the defined Companies will be available for selection in Trading partner field. Trading partner can be defaulted in GL, Customer or Vendor Master. If you need you can populate trading partner at Document level too by doing settings in Document Type Master in T Code OBA7.
    Trading partner is normally used to control (payment/transaction) vendor/customer business with the group. Something like group/inter group business. You have to go to master record. for eg, in customer master, go to CONTROL DATA tab so see Acccount Control, in which you have provide trading partner number/reference.
    Regards
    Manish

  • 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 &lt;&gt; ''.  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.

  • 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

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

  • 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

  • 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

  • Oracle Wallet manager password for B2B Host trading partner

    Hi All,
    I have exported one trusted certificate from B2B midtier wallet manager.
    I have saved it as ora_wallet.txt and and oracle.tip.adapter.b2b.WalletLocation refers to its path.
    I associated host trading partner delivery channel with non-repudiation and encryption.
    Now I need to provide wallet manager password for host trading partner in B2B UI.
    I am providing the password which I used while creating the certificate.
    I am getting following error:
    An error occurred when updating the trading partner.
    Error -: AIP-16001: The model validation engine failed due to an internal system error.
    As a second trail I exported user requested certificate from wallet to B2B but same error
    Where I am doing wrong ?
    Thanks

    Hai Ramesh,
    I did the setup described by you in the last post and I pushed an outbound payload.Fortunately previous error was gone
    Now I am getting following error in log file
    Error -: AIP-50025: Repository error
         at oracle.tip.adapter.b2b.init.Repository.readCertificates(Repository.java:1060)
         at oracle.tip.adapter.b2b.init.Repository.initExchange(Repository.java:487)
         at oracle.tip.adapter.b2b.init.Repository.initialize(Repository.java:557)
         at oracle.tip.adapter.b2b.init.B2BServer.readRepository(B2BServer.java:432)
         at oracle.tip.adapter.b2b.init.B2BServer.initialize(B2BServer.java:164)
         at oracle.tip.adapter.b2b.init.B2BStarter.startB2B(B2BStarter.java:217)
         at oracle.tip.adapter.b2b.init.B2BStarter.run(B2BStarter.java:104)
    Thanks
    Praveen

  • B2B SelfService Error creating Trading Partner .zip import file using ant

    SOA 11g 11.1.1.5 B2B - We are trying to create an import file for out trading partners into SOA B2B 11g but are getting errors when we run the ant script to build the import zip file.
    We ran the ant-b2b-util to get the b2bselfservice.xsd file, loaded that into jDev to show the selfservice.xml structure.
    We have built a trading partner xml file and at this point have stripped it down to one TP just to see if we could get it to work and we keep getting the same error messages.
    From the $SOA_ORACLE_HOME/bin directory (where we have placed our TP xml file: TPD_NA.xml) here is the command and results from running the ant script:
    [oracle@nalinoap05 bin]$ ant -f ant-b2b-util.xml b2bselfservice -Dinput=$ORACLE_HOME/bin/TPD_NA.xml -Doutput=$ORACLE_HOME/bin/TP_Docs.zip
    Buildfile: ant-b2b-util.xml
    b2bselfservice:
    weblogic_dependencies:
    [echo]
    [echo] Weblogic server location: /oracle/SOAWDEV/11.1.1.5/Oracle/Middleware/wlserver_10.3
    [echo] JNDI properties folder location: /oracle/SOAWDEV/11.1.1.5/Oracle/Middleware/Oracle_SOAWDEV/bin
    [echo]
    verifyargs:
    utility:
    [echo]
    [echo] java.naming.provider.url=${java.naming.provider.url}
    [echo] java.naming.factory.initial=${java.naming.factory.initial}
    [echo] java.naming.security.principal=${java.naming.security.principal}
    [echo] java.naming.security.credentials=*****
    [echo]
    [echo]
    [echo] args=selfservice
    [echo]
    [java] Commandline arguments 1: [selfservice]
    [java] 2012.04.10 at 13:27:35:559: main: (INFO) Input file location(s) :[oracle/SOAWDEV/11.1.1.5/Oracle/Middleware/Oracle_SOAWDEV/bin/TPD_NA.xml]
    [java] 2012.04.10 at 13:27:35:559: main: (INFO) Output file location :/oracle/SOAWDEV/11.1.1.5/Oracle/Middleware/Oracle_SOAWDEV/bin/TP_Docs.zip
    [java] 2012.04.10 at 13:27:35:596: main: (INFO) TradingPartner created :/soa/b2b/tp_id1AC191488133.xml
    [java] 2012.04.10 at 13:27:35:600: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=4010VICS docType=852 docDef=852Def not found in doc_*.xml file
    [java] 2012.04.10 at 13:27:35:600: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=4010 docType=997 docDef=997Def not found in doc_*.xml file
    [java] 2012.04.10 at 13:27:35:600: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=5010 docType=850 docDef=850Def not found in doc_*.xml file
    [java] 2012.04.10 at 13:27:35:601: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=5010 docType=860 docDef=860Def not found in doc_*.xml file
    [java] 2012.04.10 at 13:27:35:601: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=4010VICS docType=864 docDef=864Def not found in doc_*.xml file
    [java] 2012.04.10 at 13:27:35:601: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=5010 docType=864 docDef=864Def not found in doc_*.xml file
    [java] 2012.04.10 at 13:27:35:601: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=5010 docType=997 docDef=997Def not found in doc_*.xml file
    [java] 2012.04.10 at 13:27:35:602: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=5010 docType=856 docDef=856Def not found in doc_*.xml file
    [java] 2012.04.10 at 13:27:35:602: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=5010 docType=810 docDef=810Def not found in doc_*.xml file
    [java] 2012.04.10 at 13:27:35:691: main: (SEVERE) TPD_NA.xml: Error in Validation:
    [java] [org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef',
                   org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef',
                   org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef',
                   org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef',
                   org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef',
                   org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef',
                   org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef',
                   org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef',
                   org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef']
    [java] Java Result: 255
    BUILD SUCCESSFUL
    Total time: 1 second
    Here is the contents of TPD_NA.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <SelfService xmlns="http://xmlns.oracle.com/integration/b2b/selfservice/profile">
    <TradingPartners>
    <TradingPartner hosted="false" name="OvvvvvvvX" >
    <Identification name="EDI Interchange ID" value="18xxxxxxxxxX" />
    <Identification name="EDI Interchange ID Qualifier" value="14" />
    <Identification name="DUNS" value="18xxxxxxxxxX" />
    <Identification name="Generic Identifier" value="18xxxxxxxxxX" />
    <Identification name="AS2 Identifier" value="18xxxxxxxxxX" />
    <SupportedDocumentDefinition initiator="true" docTypeName="852" docProtocolVersion="4010VICS" docProtocolName="EDI_X12" docDefName="852Def" />
    <SupportedDocumentDefinition initiator="true" docTypeName="997" docProtocolVersion="4010" docProtocolName="EDI_X12" docDefName="997Def" />
    <SupportedDocumentDefinition initiator="true" docTypeName="850" docProtocolVersion="5010" docProtocolName="EDI_X12" docDefName="850Def" />
    <SupportedDocumentDefinition initiator="true" docTypeName="860" docProtocolVersion="5010" docProtocolName="EDI_X12" docDefName="860Def" />
    <SupportedDocumentDefinition initiator="true" docTypeName="864" docProtocolVersion="4010VICS" docProtocolName="EDI_X12" docDefName="864Def" />
    <SupportedDocumentDefinition initiator="true" docTypeName="864" docProtocolVersion="5010" docProtocolName="EDI_X12" docDefName="864Def" />
    <SupportedDocumentDefinition initiator="true" docTypeName="997" docProtocolVersion="5010" docProtocolName="EDI_X12" docDefName="997Def" />
    <SupportedDocumentDefinition initiator="false" docTypeName="856" docProtocolVersion="5010" docProtocolName="EDI_X12" docDefName="856Def" />
    <SupportedDocumentDefinition initiator="false" docTypeName="810" docProtocolVersion="5010" docProtocolName="EDI_X12" docDefName="810Def" />
    </TradingPartner>
    </TradingPartners>
    </SelfService>
    We have exported our metadata and looked at the doc_EDI_X12.xml file and ALL of these referenced documents exist in that file and can be seen by going to Administration --> Document and under the Document Protocols navigation --> EDI_X12 --> 5010 --> 810 --> 810Def (as an example).
    If we strip out all of the SupportedDocumentDefiinition lines then the ant script will build an import file with just the trading partners and Identifications.
    What are we doing incorrectly or what is not working properly to get the ant script to build the import zip file??
    Thanks for any assistance,
    Ken

    Does that mean we have to create all of the document type definitions in the selfservice file?
    We have created (installed) all of the document types by installing them from the B2B Administration --> Document page.
    The definitions in the Trading Partner xml file exactly match the definitions of the installed documents.
    In the selfservice.xsd the <element> SelfService shows the profile:DocumentProtocols as minOccurs as 0 :
         <element name="SelfService">
              <complexType>
                   <sequence>
                        <element minOccurs="0" maxOccurs="1"
                             ref="profile:DocumentProtocols" />
                        <element minOccurs="0" maxOccurs="1"
                             ref="profile:TradingPartners" />
                        <element minOccurs="0" maxOccurs="1"
                             ref="profile:Agreements" />
                   </sequence>
                   <attribute name="version" type="profile:non-empty-string"
                        use="optional" />
              </complexType>
         </element>
    so we thought that since the documents had already been defined (created/installed) to B2B they would not have to be redefined in the selfservice xml.
    If we have to define all of the document types in the selfservice xml file that we are using for the trading partners what are the minimum values that we need to include?
    Could we use minimal definitions such as this:
    <DocumentProtocols>
    <DocumentProtocol name="EDI_X12">
    <DocumentProtocolVersion name="4010">
    <DocumentType name="850">
    <DocumentDefinition name="850def" />
    </DocumentType>
    <DocumentType name="997">
    <DocumentDefinition name="997def" />
    </DocumentType>
    </DocumentProtocolVersion>
    </DocumentProtocol>
    </DocumentProtocols>
    before the <TradingPartners> section of the seflxervice xml file?
    Thanks for your assistance!

  • "Invalid Trading Partner Setup" Error for Invoice Inbound Propagation.

    Hi,
    I am trying to post xml data into the invoice interface tables through the link <http://<<server name>>:port/servlets/oracle.apps.ecx.oxta.ECXOTAInbound>.I have created an xml with repect to the transaction map. But when I post this xml i get an error in ecx error tables: ECX_INVALID_TP_SETUP. Though the trading partner setup is correct. I am unable to proceed further.
    Please provide your inputs, if anyone has worked on the similar scenario.
    thanks,
    Danish

    Please check the validation in GGB0.
    The document which you are trying to post is not matching as per the validation.

Maybe you are looking for

  • Tab Order

    Hi All, I need some information regarding Tab Order in EP. I know about “Sort priority” property but wondering what is the default order. Suppose I have three Role Role A Role B Role C EP show these roles in the following Order Role B | Role A | Role

  • Create Item with no Page Regions, but with P0 Region Issue

    Hi, Suppose you have a region on Page 0 called: P0_REGION. You then create a page, P100, with no region. If you try to create a Page Item you get the following message: Unable to Create Page Item You must create at least one region before you can cre

  • Inbox and Personal docs not listed/imported with Import Wizard (XI R2 SP3)

    Post Author: CFC CA Forum: Migration to XI R2 When using the Import Wizard to import personal and inbox documents from BO 6.5.3, the documents are not listed in the Import summary and are not found.  I've read various posts on BOBJ, etc and have atte

  • BW -- BIW -- BI -- BW

    Hi, What is your feeling about the "new" name of SAP Datawarehouse solution ? And more generally what do you think about all the permanent name changing that the SAP marketing department insists on ? BC --> WAS --> Netweaver 04s --> Netweaver 7.0 XI

  • Roll back a whole site

    is there a way to roll back a whole site?