B2B values in E-Commerce 5.0

Hi All,
I am using B2B E-Commerce 5.0. I want to save a hidden value in b2b/shipto.jsp in some javascript.
document.ShipTo.save.value="true";
How can I pick this value up in another page such as b2b/order.jsp or is there a better way of knowing if somone has clicked the save button and to keep it in session until the user finishes the order?
Thanks,
Ronan

Hi,
I am trying to use session in the following way:
In the shipto.jsp I have a hidden input in the ShipTo form
<input type="hidden" name="save" value="" />
When the user clicks the Save button it will set the value:
document.ShipTo.save.value="true";
saveForm() is called after this in my custom javascript.
In the order.jsp I try to reteieve the value as follows
String saved = (String)request.getParameter("save");
But it just keeps returning a null value.
I don't have any custom class.
I have only recently started on B2B and normally this would work in jsp.
Thanks,
Ronan

Similar Messages

  • Difference between b2b and b2c in commerce

    hi all,
    Can anyone tell the clear difference between b2b and b2c, and when we are going for b2b and b2c in commerce
    regards
    shya

    B2B have few extra features it provides to implement B2B solution like Order Approval, Cost Center, Invoices, Profile Organization structure, CustomCatalog are mandatory, PriceLists are mandatory etc.
    With ATG10, B2C also made Custom Catalogs mandatory.
    If you do not want the B2B features in your project then go for B2C.
    Peace
    Shaik

  • B2B: Copy Pricing Procedure or Condition Types

    Hello sdners!
    I use b2b sap crm: e-commerce 7.0.
    Please advice me FM, which copy Pricing Procedure or Condition Types from catalog item to basket (order)!
    E.g: i want to buy a position from catalog with the name " A ". It cost 10 eur.
    When I click to order - the price of the catalog is transferred to the order (basket).
    Please help me find FunctionModule which do it ?
    Thanks

    Technically the price for the catalog item and the basket item come from two entirely different ways.
    Whereas the catalog item gets the price "directly" from IPC (or TREX in some instance), the basket price is computed in the ABAP side of the application. In the ABAP, the item price is again technically comes from IPC, but IPC is provided with some additional information to get the "customer specific" price.
    So, in theory, you can not copy the catalog item price using any FM.
    Even if you "copy" from catalog to basket (say, in the UI or java layer), the item in the basket will get the price from CRM backend everytime  the basket get updated.

  • SOA B2B adapter(send) - B2B console not identifying partners correctly

    Hi there,
    My case is like this.
    Trading partner is sending a doc through custom http server which B2B cant reach.
    So I wrote a SOA Composite to fetch this xml from remote & then send the document to B2B.(as if partner is sending to host)
    I used B2B adapter & send operation for this.
    The issue is, B2B is not correctly recognizing the sender trading partner.
    B2B engine is assigning the same TP for both sender and receiver.
    I am setting Generic Identifier to set the sender/receiver value.
    (for example... am using Google as Host & Amazon as Partner.. )
    Properties Set in B2B Adapter:
    28-Apr-2011 10:43:20 Sending property "b2b.toTradingPartnerId", value is "Google".Sending property "b2b.toTradingPartnerId", value is "Google".
    28-Apr-2011 10:43:20 Sending property "b2b.documentProtocolVersion", value is "Amazon_1.50".Sending property "b2b.documentProtocolVersion", value is "Amazon_1.50".
    28-Apr-2011 10:43:20 Sending property "b2b.documentProtocolName", value is "Custom".Sending property "b2b.documentProtocolName", value is "Custom".
    28-Apr-2011 10:43:20 Sending property "b2b.fromTradingPartnerId", value is "Amazon".Sending property "b2b.fromTradingPartnerId", value is "Amazon".
    28-Apr-2011 10:43:20 Sending property "b2b.toTradingPartnerIdType", value is "Generic Identifier".Sending property "b2b.toTradingPartnerIdType", value is "Generic Identifier".
    28-Apr-2011 10:43:20 Sending property "b2b.documentDefinitionName", value is "PO_Defn".Sending property "b2b.documentDefinitionName", value is "PO_Defn".
    28-Apr-2011 10:43:20 Sending property "b2b.fromTradingPartnerIdType", value is "Generic Identifier".Sending property "b2b.fromTradingPartnerIdType", value is "Generic Identifier".
    28-Apr-2011 10:43:20 Sending property "b2b.documentTypeName", value is "PURCHASEORDER".Sending property "b2b.documentTypeName", value is "PURCHASEORDER".
    28-Apr-2011 10:43:20 Invoked 1-way operation "send" on partner "SendB2BOrder".Invoked 1-way operation "send" on partner "SendB2BOrder".
    As seen In B2B Console:
    Sender Type     Generic Identifier
    Sender Value     Amazon
    Receiver Type     Generic Identifier
    Receiver Value     Google
    Sender     Google (????)
    Receiver     Google
    Any help will be greatly appreciated.
    Thanks
    Ganesh
    Edited by: Ganesh on Apr 28, 2011 6:13 PM

    Not sure, What exactly are you trying to achieve.
    Please check with your TP that url should be http://<url>:<port>/b2b/httpReceiver . "http://<url>:<port>/b2b/httpReceiver" or "http://<url>:<port>/b2b/transportServlet" URLs are used by B2B to receive the http request.
    To send the message out from B2B, values should be like this:
    Sender Type Generic Identifier
    Sender Value Google
    Receiver Type Generic Identifier
    Receiver Value Amazon
    b2b.toTradingPartnerId = Amazon
    b2b.fromTradingPartnerId = Google
    This means message to going from Google to Amazon.
    If still the issue persist, Send the log to my mail.
    Rgds,
    Nitesh
    [email protected]

  • Group by based upon condition

    Database : SQL Server 2000 Enterprise Edition
    OS : Windows Server 2003
    Huh?  Every one will ask me why I am posting SQL Server question in Oracle forum ?  I shall reply something like this :
    Actually my friend is SQL Server DBA and he is getting problem to solve the below query.  He asked me to solve in Oracle 9i (Because since he is using SQL Server 2000, so I guess it is almost similar level) and/or through pure SQL; but I am really very poor in SQL (need to read docs more times); I failed to help him.  He just asked me how to solve in Oracle and if it is solve in Oracle then he will try to solve in by looking similar function in SQL Server's functions etc.  Even though, I have posted the question in two SQL Server forums, but probably there is less activity, so I am posting here :
    create table student
    rollno int,
    name varchar(30),
    class varchar(20)
    insert into student values (1,'Robert','IT');
    insert into student values (2,'John','Arts');
    insert into student values (2,'Hussain','IT');
    insert into student values (1,'David','Science');
    insert into student values (3,'Polo','IT');
    insert into student values (2,'Jonathan','Science');
    insert into student values (4,'Joseph','History');
    insert into student values (1,'Richard','History');
    insert into student values (1,'Michel','Commerce');
    insert into student values (1,'Albert','Geography');
    SQL> select * from student;
        ROLLNO NAME                           CLASS
             1 Robert                         IT
             2 John                           Arts
             2 Hussain                        IT
             1 David                          Science
             3 Polo                           IT
             2 Jonathan                       Science
             4 Joseph                         History
             1 Richard                        History
             1 Michel                         Commerce
             1 Albert                         Geography
    10 rows selected.
    SQL>
    Required Output :
    rollno  name        class
    1        Robert      IT
    2        Hussain     IT
    3        Polo        IT
    4        Joseph      History
    Logic behind required ouput : Rollno should be unique from all the classes giving priority to :
    1.IT
    2.Science
    3.Arts
    4.Commerce
    5.Geography
    6.Anyone
    means, if suppose we are going to fetch a unique roll number (x), and if it is exists in all the classes then first it should be from IT, and if it is not in IT class then it should search in Science Class, if it is not in IT and Science class, then it should search in Arts class, if it is not in IT, Science,Arts then it should search in Commerce Class; like wise. All existing roll numbers must be unique from all classes giving priority to IT, Science, Arts, Commerce, Geography and if that unique roll number is not from above 5 classes, then it may be of any one class.
    Kindly let me know, if I am unclear in my question and/or needs to provide more details. Since my friend is using SQL Server 2000, so I would like to request to please help me/him by using simple SQL please.
    Thanks and Regards
    Girish Sharma

    Probably need more test cases:
            SELECT ROLLNO, NAME, CLASS
      FROM (SELECT a.*,
                   RANK ()
                   OVER (
                      PARTITION BY rollno
                      ORDER BY
                         (CASE
                             WHEN class = 'IT' THEN 1
                             WHEN class = 'Science' THEN 2
                             WHEN class = 'Arts' THEN 3
                             WHEN class = 'Commerce' THEN 4
                             WHEN class = 'Geography' THEN 5
                             ELSE 6
                          END))
                      rnk
              FROM student a)
    WHERE rnk = 1;
    ROLLNO NAME CLASS
    1 Robert IT
    2 Hussain IT
    3 Polo IT
    4 Joseph History
    Cheers,
    Manik.

  • CRM Middleware NOTES

    I am searching some notes on CRM. Please can someone kindly send me the notes on CRM Middleware (CRM500) and CRM Services (CRM700) and any other similar notes.
    My email is [email protected]
    Thanks in advance,
    Josue

    Hi Josue,
    The official SAP training documents like CR500 and CR700 can't be distributed through this forum.
    If you want to have some important middleware notes, then please refer to the CRM best practice documentation at this link : http://help.sap.com/bp_crmv150/CRM_DE/html/S05_EN_DE.htm
    Check 'Sales > Sales Order Processing B2B in CRM E-Commerce > C71, B09 and C03 etc
    Regards,
    Paul Kondaveeti

  • E-Commerce 5.0 for ERP B2B Scenario setup

    Hello
    Has anyone done this setup for the ERP E-Commerce B2B 5.0 scenario? The documentation is not clear as to how to perform the setup. I have seen other posts with regard to E-Commerce and a CRM backend but nothing related to the latest version of E-Commerce 5.0 for ERP Right now we are getting the following ‘Runtime Errors’:
    (jco)
    jcoping : ERROR
    Connection failed. com.sap.mw.jco.JCO$Exception: (101) RFC_ERROR_PROGRAM: 'ashost' is missing
    ZSKY_B2B (IMS)
    Catalog Engine Test : ERROR
    null
    We have checked the config to define the ashost.
    Any help would be much appreciated.
    Thanks,
    John

    If anyone knows how to get a user-entered custom value from the item level to a custom java class, please let me know.
    I'm still looking into how to extend the quote and allow for the re-use of it, if all the quantity on the line item has not been exhausted.
    I can easily add a custom field to the header of a .jsp and access that user entered value by coding against the requestParser.
    Example: Parameter xxx = requestParser.getParameter("customerHeaderParm");
    But, when I add a customer parameter to the item level of the .jsp, I cannot leverage the same to code and get at the user entered value. The value comes back as null.
    The two files I am working with are as follows: orderstatusdetail.jsp and Z_DocumentStatusOrderQuotAction, which is an extension of the standard class, DocumentStatusOrderQuotAction.
    I am working with the requestParser within the ActionForward isaPerform() method of Z_DocumentStatusOrderQuotAction. I need to get to those item level values BEFORE the order is created from the quotation.

  • E-Commerce 5.0 Custom B2B Application changes are not reflecting on screen

    <h5>Hi Experts,
    I am currently working  the E-Commerce for ERP project. Part of that I am customizing some of standard screens. I was able to indentify JSP, .Properties, .XLF files where I can change Header name (startpage.header),  Shop Name (b2b.jsp.applicationName) etc . I am following the SAP help guide (How Tou2026 Create Custom Application in E-Commerce 5.0.pdf).
    Below are the steps I completed so far
    1)     Created a custom track in NWDI
    2)     Added dependency SC components
    3)     Check in & Imported to development tab
    4)     Imported track in to NWDS
    5)     Created custom DC (J2ee Enterprise Application) under CRMCUSTPRJ SC
    6)     Created copy files from the standard application crm~b2b to our custom application home/b2b_xyz
    7)     Added used relationship between Add a used relationship between the New DC(B2B_XXX) and the Web DC (crm/isa/web/b2b )
    8)     Added relationship between Web DC (crm/isa/web/b2b )and Ext DC (crm/home/shr/ext )
    9)     All above tasks are added to NWDI Activity
    10)     No Build error etc.
    11)      Deployed in to DEV Server and able to access Shop Front and Shop Amin (SCM) screens successfully (Went everything smooth till this step)12)      Now I modified Shop Header and Application name Key/Values in crmb2bresources_en.properties, crmb2bresources_en.xlf of NDI_XXXXXX_Dcrmisawebb2b~sap.com DC
    13)      Rebuild crmisawebb2bsap.com
    14)      Import Used DCu2019s in custom B2B_XXX Project, Rebuild and Deploy
    15)      Restart B2B_XXX custom application in Visual Administrator- Deploy  JDBC
    After all above steps I am expecting to see the shop header and Application Name in my shop. But It wasnu2019t happened.
    I also checked in and activated my activities in NWDI. And my NWDI track
    auto-deploy is on . I believe I donu2019t need to release my NWDI activities to Test.
    Please help me with your inputs.
    Thanks
    Aravind
    <h5>
    Edited by: Aravinda Boyapati on Nov 5, 2010 5:12 PM

    Hi
    Please check  the following for NWDI system
    http://ip:port/TCS/Deployer
    Check deployment status of your request id.
    You can also see the build or deployment errors.
    Regards,
    Sumit

  • Using E-Commerce (ISA) B2B From CRM5.0 with CRM7

    Hi all,
    We've been running the E-Commerce B2B Java (ISA) from CRM 5.0 for many years. It is heavily customised.
    We do not have the last SP that was released but are quite a bit behind that. This is essentially because upgrading the Java once it is customised is such a lot of work.
    Now we want to upgrade our CRM to CRM 7 (probably EHP 2).
    Is the old ISA (Java B2B from CRM 5.0) supported in CRM7, do the RFC's still exist, do the BAdI's (ISA Basket Head/Item etc) still exist?
    1) Can we just direct our B2B shop to the new CRM 7 server once we're done with the upgrade?
    Unless BAPI's/RFC's have had their signatures modified (or have been removed) I think that this should work.
    2) Will this work but only if we have the latest Java SP?
    Obviously we'd prefer to just point what we have at the new CRM7 machine, and be up and running, since updating the Java means reintegrating all of the modifications that we've made over the last 6 years and that would be a substantial amount of work.
    Thanks for your time and help,
    Patrick.

    Hi Patrick,
    Yes, we had huge customizations on almost all the JSPs you mention above as well as close to 300+ additional java classes and as well as many modified standard SAP java code. All these over many many years of development.
    ISA7.32 is no different from ISA 5.0 technically except that it runs on JDK6. Functionally there are a few extra features like Loyalty Management.
    The biggest hurdle we had was about the changed signature of methods of standard Java classes and some classes even deleted from packages in the newer version. Any custom java classes using these classes/methods had to be adjusted.
    With similar/more enhancements to what you mention above, upgrading the entire codebase to the newer version took us around 60 days of effort including the fresh setup right from the SLD upto the new J2EE engine and doing the code conflict merge.
    The approach we took was to take all JSPs from the 5.0 version and overwrite the 7.32 version (as it would not make much sense to rewrite them) and for the Java/XML files we did a compare and merge approach.
    Regarding the backend RFC calls, most of them remain same in the order/basket area. I had noticed some changes in the contract items piece where there were now additional import/export parameter and some were even not optional forcing us to send some dummy values where necessary.
    However, if you are using the variant configuration functionality in ISA you will be in surprise. The old ISA 5.0 IPC configuration will not work in 7.32. The newer version has something called as a decoupled mode (for performance reasons) and we had some challenges in that area to get the entire IPC working well. However if you use IPC only for the pricing bit, not much to worry as it remains mostly same.
    PS: We were running a B2C scenario and not B2B. B2C is much more complicated.
    Hope this helps.
    Pradeep

  • Error Log in E-Commerce CRM B2B with SU01 user

    Hi guys,
    I´m configured ISAUser Admin with value "CRM_SU01UserID" for component usertype in http: //server:port/isauseradm/admin/xcm/init.do.
    Also I´m configured my scenario B2B with value "CRM_SU01UserID" in component usertype.
    In rute Customer Relationship Management &#61664; E-Commerce &#61664; Basic Settings for E-Commerce &#61664; Internet User &#61664;Internet User Settings &#61664; Set B2B Internet User, I´m configured Only use Internet User (SU01), howewer when I access my shop in  http://server:port/b2b/b2b/init.do, system display error bold " Logon is invalid; check your entries "bold
    The user SU01 has assigned to a business partner in CRM.
    Do you have any idea about this error?
    Regards,
    Lyda

    Cree a new role "Internet User" for my contact person. This internet user are associated with my USER ID. Now, i access with mi userID and my pass changed (my new pass for Internet user"

  • XCM Settings for IPC 6.0 to work with B2B ERP 6.0 E-commerce application

    Hi All,
    We are currently implementing B2B ERP (ECC 6.0) E-commerce using IPC 6.0 for the sales pricing and configuration needs.
    To make IPC work with B2B E-commerce application I need to do the necessary XCM settings for IPC. I launched the following URL to do the XCM settings for IPC.  http://<hostname>:<portnumber>/ipc/admin/xcm/init.do    I created a JCO connection with ECC system using the menupath Components->Customer->JCO and adding values to required fields such as Base Configuration (value: server_connect) , Server, Client, Message Server, Userid and Password.  I saved the configuration to create the necessary JCO connection with the ECC system. I executed the "Run Test" option and found the test to be successful.
    To complete the Application Specific settings in XCM, I followed the menupath  'Application Configurations->SAP->erp' to create a new customer configuration. In the field JCODATA of the new configuration I added the JCO component name that was created in the previous step. I made this as the default configuration and saved it. The new configuration shows up under the sub-node Application Configurations->Customer-> 'New Configuration Name'.
    Please let me know do I need to do any other XCM settings for IPC? Is there anything missing or need to be rectified? How I can test and make sure that IPC is connected to ECC and ERP E-commerce application and the connection is working fine. Please answer in detail.
    Thanks in advance.
    --R D

    Hi,
    Go to B2B XCM application : http://host:port/zb2b/admin/index.jsp
    select "Extended Configuration Management (XCM) Administration"
    then select your application configuration from the "Customer" node.
    Click on the "Display" button.
    then maintain "ipcdata" parameter as what you have maintained in the IPC application.
    Thanks,
    Dinesh.

  • Not getting attribute values in IPC routines Scenerio R/3 B2B using AP 7.0

    Hi,
    Our Scenerio is using ISA R/3 B2B using AP 7.0. I have developed IPC routines but when i debug my routines in SM53 I notice that I'm not getting any attribute value except for VKORG.
    I'm pasting the code below. Please help me if I have to implement some BADI or do something more to get the attribute values.
    I have defined the attributes properly in Routine assignment in tcode /n/sapcnd/ueass
    userexitlogger.writeLogDebug("*requirment 901*" + "Plant = "plant"||ANZ_MONATE ="+ item.getAttributeValue(ANZ_MONATE_STR).toString()"||ANZ_JAHRE="item.getAttributeValue(ANZ_JAHRE_STR).toString()"||MATKL="item.getAttributeValue(MATKL_STR).toString()"||PSTYV="item.getAttributeValue(PSTYV_STR).toString()"||VKORG="item.getAttributeValue(VKORG_STR)"||PRSFD="item.getAttributeValue(PRSFD_STR)"||MVGR2="item.getAttributeValue(MVGR2_STR).toString()"||PRSDT="item.getAttributeValue(PRSDT_STR).toString()"||AUDAT="item.getAttributeValue(AUDAT_STR).toString());
    I would reward points for help
    Many Thanks n regards,
    Dipender

    I would like to go through each Value of the xml file and give each Value a name
    e.g. from the xml file <VentCount Value=1> Retreive the value above and giving it the name VentCount. Then I would beable to use the name vent count as follows:
    setVentCount() //My own method can use as follows: setVentCount(VentCount); I would like to do his for ever value, each value with a specific name

  • Need Help: How to configure/set-up custom interchange code values in B2B

    Hello All,
    Hope everybody is doing well.
    We are currently facing a problem in implementing Inbound 850 Purchase Orders in B2B from one of our Trading Partners (Customer).
    The Customer will be sending us EDI ANSI X12 ver 4010 Purchase Order files, but in the file they are sending a custom GS08 (8th element of GS Segment having Version/Release/Industry Identifier Code) value i.e. "004010RIFMAT".
    The above value is not present in the Standard Code values when we define an ECS using B2B Document Editor.
    Hence the document is failing in B2B since it is not able to identify the Trading Partner.
    If anyone has faced similar issues, I would appreciate if you could let me know on how to configure the same in B2B. Please let me know the steps in detail.
    Thanks In Advance.
    Regards,
    Dibya

    Hello Dibya,
    Can you create a new group ecs with appropriate codelist for GS08 and use it while modelling B2B flow. Make sure to undeploy and validate the agreement.
    Rgds,Ramesh.

  • Automatic assigning of products to catalog in ERP E-Commerce 5.0 B2B

    Hi Everyone,
    We have lots of products (aprox 25000), which we want to  assign to catalog. We have decided to take a 2 step approach.
    A) create/desin a Ztable which represent the Tree structure of catalog layout design and then create a program to insert all the products into the Ztable.
    B) Use the ISA catalog Replication badi, copy the standard class CL_ISA_REPLICATION_CATALOG as Z and use the methods of this class to read our Ztable to assign and replicate the products to the respective layout areas.
    Something like this approach we have used in CRM b2B implementation, but there the replication process was different program.
    Can someone share his/her experience  on this replication BADI and class ?
    Thanks in Advace,
    Dips

    Hi Martin,
    This is a very common requirement. Normally when there are thousands of products which needs to be assigned in catalog. Then the process is to just define the catalog. Then design a logic which would tell you, at what level( Catalog area/node) your product should go when replication happens.
    In such a scenerio you will not see any products attached in catalog, but all the products will straightaway get assigned to catalog in TREX by means of replication.
    Also the tables and tcode which you mentioned are for CRM. My Scenerio is ERP E-Commerce.
    Thanks and regards,
    Dipender Singh

  • B2B Document Definition - Using xpath 'or' in Identification Value

    Hello,
    I have a requirement similar to the one below, this is an example from the Oracle documentation,
    In the below example, Oracle B2B compares the value of the country attribute to the value set for Identification Value. If the values match, then the document is identified successfully.  I have a scenario, where I will receive data with value in the country attribute to be "US" or "France" or "India". Can an 'or' be used in the identification value? such as US or France or India as the Identification values for the Identification Expression "//*/@country".
    Any ideas / suggestions are greatly appreciated.
    Option 3: Check the Value of an Attribute
    Assume that the value of the country attribute is US. Set the parameters as follows:
    Field
    Value
    Identification Value
    US
    Identification Expression
    //*/@country
    Here is the excerpt of the XML payload for this option.
    Check the Value of an Attribute
    <?xml version="1.0" encoding="windows-1252" ?>
    <MyAddress country="US" xmlns="http://www.example.org"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="PO.xsd">
      <name>B2B Buyer</name>
      <street>100 Oracle Parkway</street>
      <city>Redwood City</city>
      <state>CA</state>
      <zip>94065</zip>
    </MyAddress>
    Thanks,
    Venkatesh

    Hi,
    I am interested to know if you managed to make any progress on this issue?
    We have a similar requirement whereby a trading partner sends an ebMS request using a single document type with the ebMS ACTION header identifying the action the request relates to. For example, the following are the key fields from two requests:
    1)
      SENDER_NAME = TradingPartnerX
      RECEIVER_NAME = OurCompanyName
      SERVICE_NAME = Manage Work
      SERVICE_TYPE = v1.0
      BUSINESS_ACTION_NAME = assignWork
      Payload = <ManageWorkRequest>...</ManageWorkRequest>
    2)
      SENDER_NAME = TradingPartnerX
      RECEIVER_NAME = OurCompanyName
      SERVICE_NAME = Manage Work
      SERVICE_TYPE = v1.0
      BUSINESS_ACTION_NAME = updateWork
      Payload = <ManageWorkRequest>...</ManageWorkRequest>
    Where the Payloads of the two requests could potentially be identical.
    Currently, we have the following configuration:
    - Custom xml document type for ManageWorkRequest:
      - Action name: (blank)
      - Service name: (blank)
      - Service type: (blank)
      - From Role: (blank)
      - To Role: (blank)
      - Validate ebMS Header: unchecked
    - Custom xml document definition for ManageWorkRequest:
      - XML Identification Expression (XPath): //*[local-name() = 'ManageWorkRequest']
      - XML Identification Value: (blank)
    - TradingPartnerX Documents:
      - Definition added for ManageWorkRequest
        - both 'Sender' and 'Receiver' checked
      - Document Details:
        - Override DocType Param: checked
        - Document Type ebMS:
          - Action name: (blank)
          - Service name: Manage Work
          - Service type: v1.0
          - From Role: Buyer
          - To Role: Supplier
          - Validate ebMS Header: unchecked
    - Agreement setup between OurCompanyName and TradingPartnerX for inbound communication from TradingPartnerX to OurCompanyName
    When TradingPartnerX attempts to send an assignWork ManageWorkRequest, B2B fails to identify which document type and agreement it relates to. After increasing the B2B logging level, the following can be seen in the soa_server1-diagnostic.log file:
    [2013-11-19T11:16:39.881+10:00] [soa_server1] [TRACE] [] [oracle.soa.b2b.repository] [tid: Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms\n] [userId: <anonymous>] [ecid: ccce6c0f16adb222:111ddc50:142539e3958:-7ffd-000000000013a96f,0] [APP: soa-infra] [SRC_CLASS: oracle.tip.b2b.log.ToplinkLogger] [SRC_METHOD: log] 2013.11.19 11:16:39.880--ServerSession(606155273)--Connection(692532584)--Thread(Thread[Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms[[
    ,10,Application Daemon Threads])--SELECT ID, DIRECTION, APPS_DOCTYPE_NAME, DOC_DEF_NAME, APPS_DOC_PROTOCOL_VERSION, DOC_DEF_TIMESTAMP, APPS_DOCUMENT, DOC_PROTOCOL_NAME, APPS_XSLTFILE, DOC_PROTOCOL_VERSION, ATTRIBUTE1, DOC_REF_NAME, ATTRIBUTE3, DOC_ROUTING_ID, ATTRIBUTE5, DOCTYPE_NAME, ATTRIBUTE7, FROM_DC, ATTRIBUTE9, BUSINESS_ACTION_NAME, LABEL, CREATED, LABEL_DESC, APPS_DOC_PROTOCOL_NAME, MODIFIED, APPS_ACTION, RECEIVER_NAME, ATTRIBUTE2, SENDER_NAME, ATTRIBUTE6, SERVICE_NAME, ATTRIBUTE10, SERVICE_TYPE, DEFINITION_MO, STATE, AGREEMENT_ID, TO_DC, ATTRIBUTE8, TPA_NAME, IS_CUSTOM, TPA_REFERENCE, ATTRIBUTE4, CREATED_BY_UI, USER_NAME, CONTROL_NUMBER_SET FROM B2B_LIFECYCLE WHERE ((SENDER_NAME = ?) AND ((RECEIVER_NAME = ?) AND ((BUSINESS_ACTION_NAME = ?) AND ((SERVICE_NAME = ?) AND ((SERVICE_TYPE = ?) AND ((DIRECTION = ?) AND (STATE = ?)))))))
            bind => [TradingPartnerX, OurCompanyName, assignWork, Manage Work, v1.0, INBOUND, Active]
    [2013-11-19T11:16:39.883+10:00] [soa_server1] [ERROR] [] [oracle.soa.b2b.engine] [tid: Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms\n] [userId: <anonymous>] [ecid: ccce6c0f16adb222:111ddc50:142539e3958:-7ffd-000000000013a96f,0] [APP: soa-infra] Error -:  B2B-50547:  Agreement not found for trading partners: FromTP TradingPartnerX, ToTP OurCompanyName with document type ACTION:assignWork Service:Manage Work ServiceTypev1.0-INBOUND.[[
            at oracle.tip.b2b.tpa.RepoDataAccessor.queryAgreementMO(RepoDataAccessor.java:866)
            at oracle.tip.b2b.tpa.RepoDataAccessor.getAgreementDetails(RepoDataAccessor.java:415)
            at oracle.tip.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:465)
            at oracle.tip.b2b.tpa.TPAProcessor.processIncomingTPA(TPAProcessor.java:243)
            at oracle.tip.b2b.engine.Engine.processIncomingMessageImpl(Engine.java:2560)
            at oracle.tip.b2b.engine.Engine.processIncomingMessage(Engine.java:1751)
            at oracle.tip.b2b.engine.Engine.incomingContinueProcess(Engine.java:4258)
            at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3856)
            at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3309)
            at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:637)
            at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
            at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
            at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
            at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Error -:  B2B-50547:  Agreement not found for trading partners: FromTP TradingPartnerX, ToTP OurCompanyName with document type ACTION:assignWork Service:Manage Work ServiceTypev1.0-INBOUND.
            at oracle.tip.b2b.tpa.RepoDataAccessor.queryAgreementMO(RepoDataAccessor.java:866)
            at oracle.tip.b2b.tpa.RepoDataAccessor.getAgreementDetails(RepoDataAccessor.java:415)
            at oracle.tip.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:465)
            at oracle.tip.b2b.tpa.TPAProcessor.processIncomingTPA(TPAProcessor.java:243)
            at oracle.tip.b2b.engine.Engine.processIncomingMessageImpl(Engine.java:2560)
            at oracle.tip.b2b.engine.Engine.processIncomingMessage(Engine.java:1751)
            at oracle.tip.b2b.engine.Engine.incomingContinueProcess(Engine.java:4258)
            at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3856)
            at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3309)
            at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:637)
            at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
            at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
            at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
            at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Looking at the SQL which has been logged, B2B is looking for an agreement which has the following:
      SENDER_NAME = 'TradingPartnerX'
      RECEIVER_NAME = 'OurCompanyName'
      BUSINESS_ACTION_NAME = 'assignWork'
      SERVICE_NAME = 'Manage Work'
      SERVICE_TYPE = 'v1.0'
      DIRECTION = 'INBOUND'
      STATE = 'Active'
    and it fails to identify any matching agreements which is correct - there aren't any matching these constraints. However, if we specify the 'Action name' field in the DocType param overrides for TradingPartnerX, then B2B is able to identify the agreement and everything works.
    Based on this behaviour, it seems that in this scenario, B2B requires a separate agreement for each possible value which can be passed as the BUSINESS_ACTION_NAME in order to identify the document type and agreement correctly. My question is - is there another way to configure B2B to allow a list of valid 'Action names' rather than having to create a separate agreement for each one with the only difference being the value of the 'Action name' field?
    If anyone is able to provide advice or guidance, it would be much appreciated.
    Thanks
    Kevin

Maybe you are looking for

  • Where can I learn about Laptop hardware/ram/etc information?

    First off: I had no idea how to phrase the above question.  Sorry if I categorized it wrong... Here's my predicament:  I was thinking of downloading/purchasing Adobe Creative Suite 6 Production Premium... However, I read the tech specs for it and was

  • File SENDER - "Recordsets per message" being ignored..

    Hi I have a file to file scenario Sender file: A1,A2,A3 B1,B2,B3 I want to split the SENDER/SOURCE file in the adapter (NO BPM) so that I am creating n number of RECEIVER files - ONE for each line. I am trying to use content conversions and setting "

  • ICloud backup iOS 8.1 - failing to backup

    Since updating iOS to 8.1 yesterday, my iPhone 6 and my iPad retina mini are both failing to make iCloud backups. Either manually or automatically when powered and idle. I have loads of space on iCloud so that is not the issue. Tried deleting existin

  • Save Points to override APEX DML functions

    I have some APEX pages that run some underlying procedures which do DML functions on 6 different tables. At the start of each of the DML functions which are in PL/SQL packages, I have set Save Points. I process thru a number of additional pages and r

  • SH address in quotation

    Hi, While creating quotation my SP and SH are same but the address of SH system is showing somthing else What is the probable reason behind this? thanks in advance Regards, Anup