cancel
Showing results for 
Search instead for 
Did you mean: 

Item Text not appearing on PO screen because I am unable to map it to segment of QuoteMessage

myc
Participant
0 Kudos

Hi,
Can anyone guide me that how to populate Item Text and Header text from Ariba while sending PO to ERP.
I have extrinsic segment in CXML QuoteMessage containing Item Text but I am unable to map it to any segment in QuoteMessage Payload.I have tried mapping to few segment but its not visible on Me23n screen. However while creating PO in ERP with reference to RFQ, text are auto populating but when coming from Ariba text are not populating.

<Extrinsic name="Item text">iTEM tExT 10</Extrinsic>

Can anyone guide where to map this segment in QuoteMessage so that I can find this Item text in Item Detail of PO and similarly in Header Text of PO.

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member259347
Participant

POTEXTHEADER and POTEXTITEM are the segments you need to map. Ensure TextIDs are also populated.

myc
Participant
0 Kudos

Hi sunil.varma01 ,

Thanks for your input.

<POTEXTHEADER xmlns:n1="urn:sap-com:document:sap:rfc:functions">
      <item>
         <TEXT_ID>F01</TEXT_ID>
         <TEXT_FORM>X</TEXT_FORM>
         <TEXT_LINE>PO Header MYC</TEXT_LINE>
      </item>
   </POTEXTHEADER><br>

Issue #1 : As mentioned above I have tried mapping my description from extrinsic element of Cxml to final payload but still cannot view it on Me23n once the PO is created.

Issue #2 : Secondly POTEXTITEM is not even appearing in final payload after trying it to populate through mapping.

former_member259347
Participant

#1. Seems like a config issue. Please investigate deeper or check with Support team once.

#2. If a node is not populated through mapping tool, then use the "Create node" option on POTEXTITEM. This will enforce a node to be created.

myc
Participant
0 Kudos

Thanks for the repsonse.

I have drill down the issue and have observe that even though I have maintained Cross Reference on QuoteMessage for Header and Line item Text with 'F01' but cannot see values of cross reference in Quotemessage payload.

rdemchuk
Active Participant
0 Kudos

Hi myc,

How does your Pre-payload look? *are you sure you are sending text data in the correct field?

This is from the mapping (what version CIG are you working with?)

variable name= "item" select="Combined/Payload/cXML/Message/QuoteMessage/QuoteItemIn"

for each $item, if test="exists(Comments)" then call-template "ExtractComments" to get text value......

Also from what I know, Source:ItemDetail/Description maps to POITEM/ITEM/SHORT_TEXT

myc
Participant
0 Kudos

Hi Thanks for the prompt response.

<Extrinsic name="Terms">


<Extrinsic name="Item text">New plant installation with all equipment.123 s1</Extrinsic>



<Extrinsic name="TrackingNumber">UTILITY</Extrinsic>



<Extrinsic name="RFQId">3000004044</Extrinsic>



<Extrinsic name="MaterialNumber">000000000050002022</Extrinsic>


</Extrinsic>



</ItemDetail>

This is how my preprocessing of Quotemessage payload looks like.

Can you please guide further

rdemchuk
Active Participant
0 Kudos

Though line Text was K01.....

check this link.HELP.SAP.COM

rdemchuk
Active Participant
0 Kudos
rdemchuk
Active Participant
0 Kudos
myc
Participant
0 Kudos

Hi rdemchuk,

Thanks for your response.

There are 3 issues:

1. Whatever value I am putting in Cross-reference against Header Text & Line Text it is not reflecting in Payload.

2. Then I tried to maintain Text ID under POTEXTHEADER F01/K01 directly through mapping in Header Text and still text does not appears at PO screen.

3. Header text segment is available in QuoteMessage Payload as shown below but Item Text is no where in the Quotemessage payload.

<POTEXTHEADER xmlns:n1="urn:sap-com:document:sap:rfc:functions">

<item>

<TEXT_ID>K01</TEXT_ID>

<TEXT_LINE>ID188659872</TEXT_LINE>

</item>

</POTEXTHEADER>