Connecting and Integrating with Multiple Ariba Network Accounts

Objective

After completing this lesson, you will be able to describe steps to integrate with Multiple Ariba Network Accounts.

Overview

Connecting with Multiple Ariba Network Accounts – Overview

Sometimes, you may have a more than one Ariba Network account in your organization. You can use this feature to configure integration with multiple Ariba Network accounts from a single SAP system.

By default, the messages will be routed to a default Ariba Network account from your SAP system. To route a message to a specific Ariba Network account from your SAP system, you must configure your SAP system accordingly. The messages are routed to an Ariba Network, based on the company code assigned to it. To route messages based on any other field, you can use the BAdIs available for this feature.

This feature is available to:

  • Buyers upgrading to CIG-AddOn SP03 from lower versions.
  • Buyers migrating from SAP Business Suite Add-On to CIG AddOn SP03 or higher.

Prerequisites:

  • Maintain entries in the ARBCIG_AN_VENDOR table for all the Company Codes & the Vendors associated with your Ariba Network Buyer accounts.

Integrate with Multiple Ariba Network Accounts

Steps

  1. Activity: 2.1 Enable CIG from respective Ariba Network Buyer accounts

    • Perform necessary activities to enable CIG from your respective / individual Ariba Network Buyer accounts.
    • Secure P User ID & password of each CIG account associated with respective Ariba Network Buyer accounts.
  2. Activity: 2.2 Create RFC Destinations

    Remote Function Call (RFC) is the standard SAP interface for communication between SAP systems. RFC calls a function to be executed in a remote system.

    There is now a whole series of different RFC variants, each of which has different properties and is used for a specific purpose.

    You will need to create RFC Destinations for each Ariba Network Account ID (also referred to as ANID).

    To create your RFC Destinations, navigate to:

    • Integration with Other SAP Components
    • SAP Ariba Cloud Integration Gateway
    • Global Settings
    • Create RFC DestinationSAP configuration screen with the Create RFC Destination option highlighted, used for integrating SAP Ariba Cloud Integration Gateway.
    • Example: You have two AN Buyer Accounts: ANID-1 and ANID-2.
      • The first RFC Destination will use P User ID & Password of CIG account enabled from ANID-1 with appropriate Path Prefix.
      • The second RFC Destination will use P User ID & Password of CIG account enabled from ANID-2 with appropriate Path Prefix.
      • If you are also adopting Article Master Data integration, then you will create 1 more RFC Destination per ANID using the appropriate Path Prefix.

    Note

    To know more about on how to create an RFC Destination, please refer to the AddOn SPRO - Global Settings unit of the AR822 SAP Ariba Cloud Integration Gateway Administration course on SAP Learning Hub.

  3. Activity: 2.3 Create Ports

    You need to create 2 separate Ports & assign appropriate RFC Destinations created in the previous steps (2.2).

    To create your Ports, navigate to:

    • Integration with Other SAP Components
    • SAP Ariba Cloud Integration Gateway
    • Global Settings
    • Create Port definition
    • Example: You have two AN Buyer Accounts: ANID-1 and ANID-2.
      • In the first Port, you will assign RFC Destination created for ANID-1.
      • In the second Port, you will assign RFC Destination created for ANID-2.
      • If you are adopting Article Master Data integration, then you will create 1 more Port Definition per RFC Destination.
    SAP configuration screen with the Create Port Definition option highlighted, used for setting up ports in SAP Ariba integration.

    Note

    To know more about on how to create a Port Definition, please refer to the AddOn SPRO - Global Settings unit of the AR822 SAP Ariba Cloud Integration Gateway Administration course on SAP Learning Hub.

  4. Activity: 2.4 Configure Receiver Port

    Configuring Receiver Port is to establish association of Port with a specific solution – Ariba Network or Ariba Applications (for Article Master Data Integration only).

    To create your Ports, navigate to:

    • Integration with Other SAP Components
    • SAP Ariba Cloud Integration Gateway
    • Global Settings
    • Configure Receiver Port

    Ariba AddOn program uses value configured in Receive Port for a specific solution in Receiver Port field while creating Partner Profile (WE20) via Interface Setup report for a given Logical System.

    Ariba AddOn allows assigning only one value per solution in Receiver Port configuration.

    SAP configuration menu with Configure Receiver Port highlighted, utilized for defining receiver ports in SAP Ariba Cloud Integration Gateway.SAP interface displaying the Table for Storing Receiving Port Solutions, listing IDOCs with associated receiver ports for Ariba integration.

    Note

    To know more about on how to create a Receiver Port, please refer to the AddOn SPRO - Global Settings unit of the AR822 SAP Ariba Cloud Integration Gateway Administration course on SAP Learning Hub.

  5. Activity: 2.5 Create Logical Systems

    Example: You have two AN Buyer Accounts: ANID-1 and ANID-2

    • In this case, you need to create 2 Logical Systems to have 2 separate set of Partner Profiles created pointing to 2 separate AN Buyer / CIG accounts.
    • Separate Logical Systems are required to create 2 separate sets of Inbound & Outbound parameters in Partner Profile configuration to communicate with 2 separate Ariba Network Buyer / CIG accounts.
    • Logical System ID created for ANID-1 will be used in Interface Setup program to automatically create Partner Profiles (in WE20) for the selected documents you would work with for ANID-1.
    • Logical System ID created for ANID-2 will be used to manually create Partner Profiles (in WE20) for the selected documents you would work with for ANID-2.

    To create Logical Systems, navigate to:

    • Integration with Other SAP Components
    • SAP Ariba Cloud Integration Gateway
    • Global Settings
    • Create Logical System

    Click New Entries, create a Logical System for each ANID

    ANID-1 example naming for Logical System: ARBCIG1

    ANID-2 example naming for Logical System ARBCIG2

    SAP configuration screen with the Create Logical System option highlighted, used for defining logical systems within SAP Ariba integration.SAP Logical Systems Overview screen, displaying a list of logical systems with highlighted entries for ARBCIG1 and ARBCIG2.

    Note

    To know more about on how to create a Logical System, please refer to the AddOn SPRO - Global Settings unit of the AR822 SAP Ariba Cloud Integration Gateway Administration course on SAP Learning Hub.

  6. Activity: 2.6 Send SAP Information to CIG

    You need to execute the report provided in Ariba AddOn SPRO to programmatically send SAP system information to respective CIG accounts.

    Since you will be working with multiple AN Buyer / CIG accounts, you will have to execute the report for each AN Buyer / CIG account by providing appropriate credentials & information.

    To create your Ports, navigate to:

    • Integration with Other SAP Components
    • SAP Ariba Cloud Integration Gateway
    • Global Settings
    • Send SAP Information to SAP Ariba Cloud Integration Gateway

    Click IMG activity Synchronize SAP Information with SAP Ariba Cloud Integration Gateway.

    SAP configuration menu highlighting Send SAP Information and Synchronize SAP Information tasks for integrating with Ariba Cloud Integration Gateway.SAP screen for migrating transaction setups to Ariba Cloud Integration Gateway, showing authentication fields, data center selection, and connection options.

    Note

    To know more about on how to execute "Synchronize SAP Information with SAP Ariba Cloud Integration Gateway" report, please refer to the AddOn SPRO - Global Settings unit of the AR822 SAP Ariba Cloud Integration Gateway Administration course on SAP Learning Hub.

  7. Activity: 2.7 Execute Interface Setup

    Interface Setup will create:

    • Partner Profile (Inbound & Outbound parameters in WE20) for IDOCs
    • Logical Ports (in SOAMANAGER) for Web Services / Proxies

    You need to execute Interface Setup report for each solution (Ariba Network & Sourcing Integration).

    Interface Setup report refers to Logical System (for creating Partner Profile) & P User information (for creating Logical Ports).

    Creating Partner Profile

    Example: You have 2 AN Buyer Accounts, for example ANID-1 & ANID-2.

    For creating Partner Profile, when you provide Logical System, Ariba AddOn program uses Receiver Port information created as a part of Global Settings activity to create Inbound & Outbound parameters for that particular Logical System.

    • Since Ariba AddOn allows assigning only one value per solution in Receiver Port configuration, you can execute Interface Setup program ONLY for ANID-1.
    • The Receiver Port will have a specific RFC Destination associated with it which will hold end-point information such as Target Host; Target Port & Authentication (P User ID & Password).
    • Thus, you should NOT execute Interface Setup program for both the Logical Systems. This will not help in creating 2 separate Partner Profiles for 2 separate Logical Systems in WE20.
    • Thus, you need to manually create Partner Profile (LS) entries & inbound / outbound parameters for ANID-2 using respective Port Definition value created for ANID-2.

    Creating Logical Ports

    Example: You have 2 AN Buyer Accounts, for example ANID-1 & ANID-2 which will have 2 separate P User IDs, for example, P01234 & P05678.

    For creating Logical Ports, when you provide P User as an authentication method, Ariba AddOn program uses that information to create Logical Ports.

    • Since Ariba AddOn program overwrites the Logical Ports each time you execute Interface Setup program, you can not use the report to create Logical Ports for connecting to both CIG accounts.
    • Executing Interface Setup program one-by-one even using respective / different P User information will not help in creating 2 separate set of Logical Ports for 2 separate CIG accounts in SOAMANAGER.
    • You should execute the Interface Setup report by providing necessary information ONLY for ANID-1.
    • Thus, you need to manually create Logical Port entries in SOAMANAGER for ANID-2 using respective P User information for ANID-2.

    To execute Interface Setup report, navigate to:

    • Integration with Other SAP Components
    • SAP Ariba Cloud Integration Gateway
    • Ariba Network Integration
    • General Settings
    • Setup the Interface

    Click on IMG activity Configure the Connections to Send Messages

    Provide Logical System ID created for ANID-1 & P User information of ANID-1.

    SAP IMG configuration menu showing Ariba Network Integration with Configure the Connections to Send Messages option highlighted for interface setup.SAP interface setup screen for IDOC integration, highlighting outbound and inbound messages sent to the SAP Ariba Cloud Integration Gateway.SAP interface setup screen for Ariba Cloud integration, detailing data center selection, test instance connection, authentication, and proxy settings.
  8. Activity: 2.8 Manually Create Partner Profile

    Example: You have two AN Buyer Accounts: ANID-1 and ANID-2 which will have separate P User IDs:

    • ANID-1 example P User ID: P01234
    • ANID-2 example P User ID: P05678

    By executing Interface Setup report, you have created Partner Profile (Inbound & Outbound parameters in WE20) for IDOCs for ANID-1 / P01234.

    Now, you need to manually create Partner Profile for ANID-2 / P05678 by accessing TCode WE20.

    To manually create Partner Profile:

    1. On the SAP Easy Access page, run the TCode WE20 – The Partner profiles screen appears.
    2. Click on Create icon.SAP Partner Profiles screen (WE20) displaying partner types like Bank, Customer, and Vendor, with options to create and manage profiles.
    3. Enter following information:SAP Partner Profiles screen showing Logical System (LS) details, including partner number, agent information, and permitted post-processing settings.
      • Partner No.: Enter the value of Logical System you have created in earlier step for ANID-2.
      • Partner Type: Select LS (Logical System).
    4. In Post processing: permitted agent tab, enter following information
      • Ty: Select US (User).
      • Agent: Select User Name.
    5. Click Save.
    6. Click on Create outbound parameter icon under Outbound parmtrs section – the Partner profiles: Outbound parameters screen appears.SAP Partner Profiles screen showing Logical System (LS) details, outbound parameters, and highlighted option to create outbound parameter.
    7. Create Outbound parameter for the documents you are going to adopt by entering values in following fields:
      • Partner No.: Auto populated.
      • Partner Type: Auto populated.
      • Partner Role: Select LS (Logical System).
      • Message Type: Select a message type corresponding to the document. For example, ORDERS for Purchase Order.

        In the Outbound Options tab,

      • Receiver Port: Provide / select the Port you have created for ANID-2 in earlier step.
      • Output Mode: Select Pass IDoc immediately.
      • IDoc Type: Select Basic Type of IDoc with "ARBCIG_ "namespace. For example, ARBCIG_ORDERS for Purchase Order.
      • Check Cancel Processing After Syntax Error box.

        In the Message Control tab.

      • Add entry & select relevant values for Application; Message Type; Process Code & check the Change Message box.

        The Message Type you select here should be used while defining Output Determination via NACE.

      SAP Partner Profiles screen for Outbound Parameters; displays settings for message type, receiver port, IDoc type, and output mode.
    8. Click Save.SAP Partner Profiles screen for Outbound Parameters; shows Message Control settings, including application, message type, process code, and options.
    9. Click Create inbound parameter icon under Inbound parameters section – the Partner profiles: Inbound parameters screen appears.SAP Partner Profiles screen showing Logical System details, outbound/inbound parameters, and highlighted option to create inbound parameter entry.
    10. Create Inbound parameter for the documents you are going to adopt by entering values in following fields:
      • Partner No.: Auto populated.
      • Partner Type: Auto populated.
      • Partner Role: Select LS (Logical System)
      • Message Type: Select a message type corresponding to the document. For example, INVOIC for Invoice.

        In the Inbound Options tab,

      • Process Code: Provide / select the relevant value for the Message Type. For example, INVM for the Message Type INVOIC (Invoice).
      • Check Cancel Processing After Syntax Error box.

        In the Processing by Function Module section,

      • Select Trigger Immediately
    11. Click Save.SAP Partner Profiles Inbound Parameters screen, showing settings for Message Type, Process Code, and Function Module processing trigger options.

    List of Transaction of IDOC types:

    TransactionIDoc Basic TypeIDoc Message TypeDirection
    Request For QuoteARBCIG_REQOTEREQUOTEOutbound
    Purchase Order; Change & CancelARBCIG_ORDERSORDERSOutbound
    Scheduling AgreementARBCIG_DELINSDELINSOutbound
    Order InquiryARBCIG_ORDENQORDERSOutbound
    Order ConfirmationARBCIG_ORDRSPORDRSPInbound
    Invoice from Ariba NetworkARBCIG_INVOICINVOICInbound
    ERP CC MM InvoiceARBCIG_GSVERFGSVERFOutbound
    ERP CC FI InvoiceARBCIG_FIDCC2FIDCC2Outbound
    Pay Me NowARBCIG_FIDCCHFIDCCHInbound
    Payment RemittanceARBCIG_REMADVREMADVOutbound
  9. Activity: 2.9 Manually Create Logical Ports

    Example: You have two AN Buyer Accounts: ANID-1 and ANID-2 which will have separate P User IDs:

    • ANID-1 example P User ID: P01234
    • ANID-2 example P User ID: P05678

    By executing Interface Setup report, you have created Logical Ports (in SOAMANAGER) for Web Services / Proxies for ANID-1 / P01234.

    Now, you need to manually create Logical Port for ANID-2 / P05678 by accessing TCode SOAMANAGER.

    You would need to select this newly & manually created Logical Port while maintaining ARBCIG_CCANID table in this activity.

    You must assign this Logical Port to all the Proxy messages for transactional documents that you want to route to the second Ariba Network Buyer account from your SAP system.

    This is a one time activity when you configure a new / additional Ariba Network Buyer account on SAP system.

    In order to save time & efforts of maintaining multiple entries in ARBCIG_CCANID table for each message type, we recommend to use the same / common Logical Port Name for all proxies.

    • Example: Logical_Port_For_ANID2

    To manually create Logical Port:

    1. On the SAP Easy Access page, run the TCode SOAMANAGER – the SOA Management screen appears.SAP Easy Access screen with SOAMANAGER transaction entered in the command bar for configuring web services and communication settings.
    2. On Service Administration tab, click on Web Service Configuration link.SOA Management interface with Service Administration tab highlighted, showing options like Web Service Configuration to manage services and proxies.
    3. In Design Time Object Search tab, under Internal Name column all the Proxy objects will be displayed which are created by Interface Setup report you have executed in earlier step. Select a Proxy object. For example Receipt proxy CO_ARBCIG_RECEIPT_DETAIL_REQ.Web Service Configuration interface showing search criteria for ARBGC1 and results with internal names, types, and namespaces displayed.
    4. On the Details of Consumer Proxy: <Proxy Name> screen, in Configurations tab, following details of the existing logical ports for the proxy message will be displayed:Web Service Configuration details for consumer proxy, highlighting configuration tab with a list of defined logical ports and statuses.
      FieldDescription
      ActionsIcons to View, Edit, Delete, Deactivate & Ping a web service
      Logical PortName of the Logical Port
      StateDisplays the status of the Logical Port
      Logical Port is defaultIf this is set to true, this Logical Port will be the default port for the message type
      DescriptionDescription of the Logical Port
      Creation TypeMethod used for creation of this object
    5. Click Create, select Manual Configuration – the New Manual Configuration of Logical Port for Consumer Proxy <Proxy Name> screen appears.Consumer proxy configuration screen showing defined logical ports, with the Create menu expanded to select Manual Configuration for setup.
    6. On the Logical Port Name screen, add values in the following fields, click Next.
      • Logical Port Name: For example, Logical_Port_For_ANID2
      • Description: Meaningful description
      New manual configuration screen for logical port setup, highlighting fields for logical port name and description with navigation options.
    7. On the Consumer Security screen,
      • In Authentication Settings section, select User ID / Password
      • In User ID / Password section, provide P User ID & Password information of ANID-2
    8. Click NextManual configuration screen for logical port, showing Consumer Security options with authentication method and User ID/Password fields highlighted.
    9. On the HTTP Settings screen, add values to the following fields, click Next.
      • URL Access Path: /cxf/receiveSOAP
      • Computer Name of Access: Depending upon which environment you are working on (test or Production) either https://testacig.ariba.com or https://acig.ariba.com.
      • Port Number of Access URL: For example, 443.
      • URL Protocol Information: Select HTTPS.
      • Logon Language: Select Language of User Context.
      • Name of the Proxy Host (optional): For example, proxy.ariba.com.
      • Port Number of Proxy Host (optional): For example, 8080.

        User Name for Proxy Access (optional):

        Password of Proxy User (optional):

      Manual configuration of logical port, highlighting HTTP Settings with fields for URL, port, protocol, and transport binding configurations.
    10. On the SOAP Protocol screen, add values to the following fields, click Next.
      • Under Reliable Messaging (Asynchr.) section, in RM Protocol, select SAP RM.
      • Under Message ID (Synchronous) section, in Message ID Protocol, select Suppress ID Transfer.
    11. Click Finish.SOAP Protocol configuration screen for logical port setup, highlighting Reliable Messaging options, Message ID settings, and completion button.

    You will get navigated to the Details of Consumer Proxy: <Proxy Name> screen where you can see newly created Logical Port with Active state.

    Logical port configuration summary displaying defined ports, their status, default settings, description, and creation type for consumer proxy.
  10. Activity: 2.10 Maintain Company Code & ANID relationship

    • The messages are routed to Ariba Network, based on the Company Code assigned to it. If you want to route messages based on any other field, you can use the BAdIs available.
    • To configure multiple Ariba Network accounts in SAP system, you must maintain the Company Codes & ANIDs of all the required Ariba Network accounts in the ARBCIG_CCANID table.
    • To send messages to appropriate AN Buyer / CIG account, Ariba AddOn code will refer to the values (Logical System & Logical Port) maintained in ARBCIG_CCANID table against the combination of AN ID & Company Code.

    To Maintain Company Code & ANID Relationship for all the Ariba Network accounts:

    1. On the SAP Easy Access page, run the transaction code ARBCIG_CCANID – the Assign logical system and logical port to Company Code screen appears. Click New Entries.SAP screen to assign logical systems and logical ports to company codes, highlighting the New Entries button for input.
    2. The New Entries: Overview of Added Entries screen appears.SAP screen showing added entries, including company codes, logical systems, logical ports, descriptions, and Ariba Network IDs, with save action.

      Enter the following information:

      1. CoCode : Enter the company code for the Ariba Network account.
      2. Logical System: Enter a logical system name.c. Logical Port: Enter.
      3. Logical Port name.
      4. Description: Enter a description for the company code of the Ariba Network account.
      5. Ariba Network ID: Enter the Ariba Network ID for the Ariba Network account.
    3. Click Save.
  11. Activity: 2.11 Configure Condition Records

    • SAP system routes the Outbound IDOC messages to the Ariba Network Buyer / CIG account, based on the Logical System assigned to the Company Code in the ARBCIG_CCANID table.
    • In the usual Output Determination (NACE) configuration process, you need to specifically make some changes to the configuration of Condition Records for all the Output Types of the outbound messages that you want to route to the Ariba Network Buyer / CIG account.
    • This activity will help Ariba AddOn to determine appropriate Logical System & in turn appropriate Partner Profile to route the IDOCs to correct AN Buyer / CIG account.

    To Configure Conditions Records:

    SAP NACE transaction displaying Conditions for Output Control overview, focusing on Purchase Order (EF) and Condition Records selection.
    1. On the SAP Easy Access page, run the transaction code NACE – the Conditions for Output Control screen appears.
    2. Select a Message Type / Application (that you want to configure for routing) from the list. For example, EF – Purchase Order.
    3. Click Condition Records button.
    4. Select an Output Type for the message. For example, NEU – the Key Combination popup appears.SAP Conditions for Output Control screen highlighting Purchase Order (EF) application, NEU output type, and selecting Condition Records.
    5. Select a specific Key Combination you want to configure. For example, Output Determination: Doc. Type / Purch. Org / Vendor & click Choose (green tick mark) – the Change Purchase Order (<Output Type>): Selection screen appears.Screenshot shows SAP's Change Output settings for Condition Records (NEU), allowing key combination selection for Purchasing Output determination.
    6. Enter values for following fields & click Execute:
      1. Purchasing Doc Type: For example, NB (Standard PO).
      2. Purch. Organization: For example, 3000.
      SAP interface for Change Purchase Order (NEU): Selection, displaying Purchasing Document Type, Purchasing Organization, and Vendor input fields.
    7. On the Change Condition Records (Purchase Order): Fast Change screen, enter / select the values in following fields:SAP screen for Change Condition Records (Purchase Order): Fast Change, showing vendor details, conditions, communication channels, and languages.
      1. Vendor: Select a Vendor
      2. Function: Select LS (Logical System)
      3. Partner: Leave the field BLANK
      4. Transmission Medium: Select 6 (EDI)
      5. Dispatch Time: Select 4 (Send immediately when saving the application)
      6. Language: Select EN (English)
    8. Click Save.

      Note

      Do not maintain any values in Partner field. If there are existing entries in the table, delete the value in Partner field. It must be left blank.

  12. Activity: 2.12 Configure Check Routines

    • After configuring Condition Records, you need to configure Check Routine to add Ariba provided INCLUDE. You need to assign the newly created Check Routine to each Output Type of all the outbound messages.
    • This INCLUDE has a logic to determine appropriate Logical System for a specific Ariba Network Buyer / CIG account & then to route the Outbound IDOC messages to that Ariba Network Buyer / CIG account, based on the Logical System assigned to the "Company Code<>ANID" combination maintained in the ARBCIG_CCANID table.
    • In the usual Output Determination (NACE) configuration process, you need to specifically make these changes to the configuration of Procedures for all the Output Types of the outbound messages that you want to route to the Ariba Network Buyer / CIG account.

    To Configure Check Routines:

    SAP Conditions for Output Control (NACE) screen navigating to procedures for Purchase Order (EF) within condition records configuration.
    1. On the SAP Easy Access page, run the transaction code NACE – the Conditions for Output Control screen appears.
    2. Select a Message Type / Application (that you want to configure for routing) from the list. For example, EF – Purchase Order.
    3. Click Procedures button - the Change View "Procedures": Overview screen appears.
    4. Select an Output Type for the Procedure & double-click on Control.SAP Change View Procedures: Overview screen displaying procedure configurations for Purchase Orders (NEU) under the application EF.
    5. The Change View "Control": Overview screen appears & displays Reference Step Overview table.SAP Change View Control: Overview screen showing configuration for Procedure NEU with step, requirement, and manual-only fields highlighted.
    6. For the relevant Output Type / Condition Type check if the Output / Condition Type has an existing Check Routine assigned under Requirement column. If yes, get the Check Routine number. Example: 101
      • Go to TCode VOFM & from Requirements menu select Output Control – the Maintain: Requirements Output Control screen appears.SAP transaction /nVOFM Maintain Requirements & Formulas screen navigating to Requirements menu, specifically selecting the Output Control option.
      • Search for the Check Routine number & double-click on it – the ABAP Editor: Display Include <nclude Number> screen appears.SAP Maintain: Requirements Output Control screen listing routine numbers, descriptions, and active applications, including routine 101 for EF.
      • Click on Display <-> Change - the ABAP Editor: Modify Include <Include Number> screen appears.SAP ABAP Editor displaying the include LV61B101, showing code for FORM routines related to output control logic in applications.
      • In the Check Routine source text, select the row below the FORM KOBED_XXX line & click Insert.SAP ABAP Editor in Modify mode for include LV61B101, highlighting editable FORM routines for customization and logic adjustments.
    7. Paste the INCLUDE ARBCIG_DYNAMIC_LOGICAL_SYSTEM IF FOUND. code as the first line of the program, below the FORM KOBED_XXX line & click Save.SAP ABAP Editor showing Modify Include LV61B101, with an inactive status and code changes highlighted for FORM routine logic.
    8. Click Activate.SAP ABAP Editor in Modify Include LV61B101 mode, now active, displaying updated FORM routine logic for dynamic processing.
    9. For the relevant Output Type / Condition Type check if the Output / Condition Type has an existing Check Routine assigned under Requirement column. If no, do the following:
      • Go to TCode VOFM & from Requirements menu select Output Control – the Maintain: Requirements Output Control screen appears.SAP transaction /nVOFM for Maintain: Requirements & Formulas, menu highlighting Requirements and selecting Output Control for customization tasks.
      • Create a new Check Routine by providing a number & Application / Message Type . For example, 999 & EF. Then double-click on it – The ABAP Editor: Modify Include <Include Number> screen appears.SAP screen for Maintain: Requirements Output Control displaying routines list, descriptions, active status, and application fields for customization.
      • In the Check Routine source text, select the row below the FORM KOBED_XXX line & click Insert.
      • In the Check Routine source text paste the INCLUDE ARBCIG_DYNAMIC_LOGICAL_SYSTEM IF FOUND. code as the first line of the program, below the FORM KOBED_XXX line, click Save.SAP ABAP Editor showing Modify Include RV61B999, with active status, revised code, and highlighted INCLUDE statement for dynamic logic system.

      Note

      Step 8: When you create a new Check Routine, do not assign any Output Type / Application to it by maintaining a blank Application field. By doing this, you can use this Check Routine for multiple Output Types.
    10. Click Activate.SAP ABAP Editor screen displaying Modify Include RV61B999, highlighting the code edit tool and active status for applied changes.
    11. Go back to the Maintain: Requirements Output Control table / page, select the entry / row of newly created Check Routine, delete the value in Application field.
    12. From Edit menu, select Activate – the Active box in the entry will get checked.SAP screen for Maintain: Requirements Output Control, highlighting activation process via Edit menu for routine 999, dynamic LS.
    13. Follow the steps 1 to 5 & assign the newly created Check Routine to the relevant Output Type / Condition Type.
    14. Click Save.SAP Change View 'Control': Overview screen, displaying procedure details, including step, requirement, manual-only checkbox, and description.
  13. Activity: 2.13 Using BAdIs

    By default, Ariba AddOn routes the messages to Ariba Network Buyer / CIG account based on the "Company Code<>ANID" combination maintained in the ARBCIG_CCANID table.

    • If you want to route messages for transaction documents to Ariba Network Buyer / CIG account based on any field other than the Company Code, for example, the Purchase Organization or Plant or any other field, you need to implement the BAdIs for the respective messages.
    • An implementation method is provided in the BAdIs for each transaction.
    TransactionBAdIMethod
    Payment ProposalARBCIG_PP_UPDATEDET_LOGICAL_PORT
    Invoice Status UpdateARBCIG_INVOICESTATUSUPDATEDET_LOGICAL_PORT
    Purchase RequistionARBCIG_PURREQ_CHANGEDET_LOGICAL_PORT
    Service Sheet ResponseARBCIG_SESR_UPDATEDET_LOGICAL_PORT
    Advance Ship NoticeARBCIG_SHIP_NOTICE_REQUEST_OUTDET_LOGICAL_PORT
    Product Activity MessageARBCIG_BADI_PRODUCT_ACTIVITYDET_LOGICAL_PORT
    Receipt RequestARBCIG_RECEIPT_UPDATEDET_LOGICAL_PORT
    Remittance AdviceARBCIG_REM_CANCEL_STATUSDET_LOGICAL_PORT
    Quality NotificationARBCIG_QUALITY_NOTIFICATIONDET_LOGICAL_PORT
    Quality Inspection RequestARBCIG_QUALITY_INSPECTIONQINSP_REQ_BADI
    Quality Inspection DecisionARBCIG_QUALITY_INSPECTIONQINSP_DECI_BADI