Skip to Content
Author's profile photo Former Member

ISA and GS segments mapping – Value mapping v/s Predefined TPM UDFs – II

RequirementRead Part I – ISA and GS segment values – Value mapping v/s Predefined TPM UDFs – I

Predefined UDFs approach


Receiver Partner Conversion


Template – SAP Partner Conversion
/wp-content/uploads/2014/03/udf_1_402776.png

SAP Partner RCV_001 has a corresponding value TestTP1 for Legacy Partner

/wp-content/uploads/2014/03/udf_1_402776.png

Functional Profile – SAP Partner Conversion profile has the above template attached

/wp-content/uploads/2014/03/udf_4_402778.png

Different values for test and production environment can be maintained here

/wp-content/uploads/2014/03/udf_5_402810.png

  – RCVPRN has value RCV_001, this is passed as the second input and functional profile name as the first input to getFunctionalProfileProperty.

  – Output is TestTP1 ( as maintained in the TPM template)

/wp-content/uploads/2014/03/udf_3_402779.png

Receiver ID Qualifier


Template – Sender Receiver ID qualifiers

/wp-content/uploads/2014/03/udf_25_402853.png

Functional profile -Qualifiers- value for TestTP1 – 01 in production and test

/wp-content/uploads/2014/03/udf_26_402855.png


The converted partner is used in another getFunctionalProfileProperty. to get the qualifier value


/wp-content/uploads/2014/03/udf_6_402832.png

Element, sub-element, segment separators


Template – EDI Separator

/wp-content/uploads/2014/03/udf_7_402781.png

Functional Profile EDI Separators – EDI separator template attached

/wp-content/uploads/2014/03/udf_8_402856.png

Partners


Create the partners used in above templates (TP2 and TestTP1 )


TP2:

/wp-content/uploads/2014/03/udf_9_402782.png

Identities – ID- TP2 , Qualifier – 01

/wp-content/uploads/2014/03/udf_10_402866.png

Messages – ANSI X12 860 004010 SAP

/wp-content/uploads/2014/03/udf_11_402784.png

Add EDI Separators in the functional profiles tab of TP2; Save TP2 ; will add agreements in the latter part

/wp-content/uploads/2014/03/udf_12_402791.png

TestTP1-

/wp-content/uploads/2014/03/udf_14_402792.png

Identities – ID- TestTP1, qualifier – 01

/wp-content/uploads/2014/03/udf_15_402867.png

/wp-content/uploads/2014/03/udf_17_402794.png

Agreement

/wp-content/uploads/2014/03/udf_13_402869.png

Test agreement – Outbound; fill below parameters

/wp-content/uploads/2014/03/udf_18_402795.png

test agreement is created in between TP2 and TestTP1

/wp-content/uploads/2014/03/udf_19_402796.png

Retrieving separators in mapping

Use the following input parameters in getAgreementID – internally generated ID will be returned (best match)

/wp-content/uploads/2014/03/udf_20_402870.png

The agreement ID is mapped to getFunctionalProfileName which returns the name of the functional profile (EDI Separators)

/wp-content/uploads/2014/03/udf_21_402871.png

Function profile name is used to retrieve the value for functional property key ele.sep (mapped to element separator)

/wp-content/uploads/2014/03/udf_22_402876.png

Similarly, map other separator values

/wp-content/uploads/2014/03/udf_24_402800.png

Obtain Sender, Receiver qualifiers as below

/wp-content/uploads/2014/03/udf_30_402878.png

Complete Mapping

/wp-content/uploads/2014/03/udf_23_402879.png

Usage Indicator- getSystemEnvironment returns the value of environment configured in TPM (Test/Production)

/wp-content/uploads/2014/03/udf_32_402880.png

TPM Data can be exported and imported across environments

/wp-content/uploads/2014/03/udf_37_402881.png

Configuration-

/wp-content/uploads/2014/03/udf_44_402882.png

Monitoring – Based on TPM User defined search criteria (header values like Sender ID, Receiver ID etc. filters can be added.



Suggestions to optimize the design are welcome 🙂 !!!




Assigned Tags

      5 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Very nicely explained Pooja..

      Like we have getAgreement , do we have a function where you provide the agreement name/agreement ID and sender ID, Receiver ID, qualifiers etc are returned?

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Thanks Tarun,

      As per my knowledge we don't have such a function , however we have getIdentity

      which returns the required identity based on source partner ID and Qualifier code.


      Sarath Sasi

      Please add to this , if you have come across a UDF which is the reverse of getAgrreementID



      Thanks,

      Regards.

      Pooja


      Author's profile photo Former Member
      Former Member

      Hi Pooja,

      Nice one. Your blog series in the B2B domain is really helpful.

      I have a question regarding these UDF that access TPM profile. How do they access the TPM content. Is there any java API that SAP has provided to access TPM content.

      We wish to access the TPM content from Java Mapping. Is that possible.

      Thanks.

      Regards,

      Sudharshan N A

      Author's profile photo Ankit Soni
      Ankit Soni

      Hi Pooja,

      I also have same question. Can you please reply ?

      Appreciate your help.

      Thanks,

      Ankit

      Author's profile photo Former Member
      Former Member

      Hi Pooja,

      Thanks for the blog.

      Is there any generic rule to configure modules in adapters? Like EDI search module should be used only at EDI separator receiver adapter.. etc. We want to understand the usage of modules in both inbound and outbound scenarios.

      Regards

      Ragu