RFE segments mapping in order
I have the following input and current output attached
Each field under Z1EKDP1 from the source creating refsegment qualf and value in target by using creatif
which is working fine
But I am not getting the same order as per Z1EDP1
My requirement output should be as per below but getting as per screen shot
reference
qualfier zzcontracnumber
value Test1
qualfier other dpasrating
value Test2
qualfier zzprimecotnract
value Test3
qualfier zzasqty
reference value Test4
qualfier zzcontractnumber
value Test5
qualfier other dpasrating
value Test6
qualfier zzprimecotnract
value Test7
qualfier zzasqty
value Test8
mapping zzprimecontact -exists and not equal not blank creaeif > refsegment
Thanks for your help
Basiclly i need to display data in target as per Z1EKPD1 .I am getting firsr z1ekpd1 reference contracno and 2nd z1ekpd1 segment reference contract number instead of that first z1ekpd1 refsegment qualifier and value -contract number , and ,first Z1EKPD1 refsegment pasrating and value in same order as Z1EDKPD1.
1ST Z1EKPD1
Expected
CONTRACTNUMBER - QUALIFIER
VALUE
RATING - QUALIFER
VALUE
QTY QUALIFER
VALUE
2ND Z1EKPD1
CONTRACTNUMBER - QUALIFIER
VALUE
RATING - QUALIFER
VALUE
QTY QUALIFER
VALUE
Similar Messages
-
ODI-1228: ORA-22950: cannot ORDER objects without MAP or ORDER method
Simple interface between two schemas in the same oracle database (10g)
I am trying to copy one table and do one simple lookup (in a table located in 3rd schema on the same database)
Integration task fails on
ODI-1228: Task messagexml_document (Integration) fails on the target ORACLE connection S2_P1.
Caused By: java.sql.SQLException: ORA-22950: cannot ORDER objects without MAP or ORDER method
Can anybody tell me, what I am doing wrong? Code that generate this error is just a simple INSERT with SELECT and sub SELECT with JOIN?
I just can't find anything about this error.
I'm stuck :-(I discovered that one of my fields is an XMLType field and is a part of comparison ODI do when it tries to do incremental update. The error message here is just a message from db that it can't compare XMLType fields to each other.
Is there any way to learn ODI to not to compare by XMLType field? -
ORA-22950: cannot Order Objects without MAP or ORDER method (line 15)
Hi
I have created a function
create type att_con.ind_field_value as object (s_owner varchar2(50), s_table varchar2(50), s_field varchar2(50));
create type att_con.ind_field_value_table as table of att_con.ind_field_value;
create or replace function fn_find_field_entries
(s_entry IN varchar2)
return ind_field_value_table
IS
found_count integer;
t_return ind_field_value_table := ind_field_value_table();
begin
for cur in (select owner, table_name, column_name
from all_tab_columns
where owner 'SYS'
and owner 'SYSTEM')
loop
execute immediate
'select count(' || cur.column_name || ') from ' || cur.owner || '.' || cur.table_name || ' where ' || cur.column_name || ' = ' || s_entry
into found_count;
if found_count 0 then
t_return.extend;
t_return(t_return.last) := (cur.owner, cur.table_name, cur.column_name);
end if;
end loop;
return t_return;
end;
and i am getting the above error when i try and run it with
select * from table(att_con.fn_find_field_entries('NDUNNE'))
anyone know what this error might mean?
thanks in advance22950, 00000, "cannot ORDER objects without MAP or ORDER method"
// *Cause: an object type must have a MAP or ORDER method defined for
// all comparisons other than equality and inequality comparisons.
// *Action: Define a MAP or ORDER method for the object type
// -
Profitability segment for purchase order creation - how to read it
Hello,
how to read it profitability segment for purchase order creation at item level ??
There's a method on ME_PROCESS_PO_CUST ?
TksHi,
Use the below FM from the function group KEAK
To read: COPA_CALL_PROF_SEGMENT or COPA_INPUT_PSEGMENT_RETURN
To create: COPA_PROFITABILITY_SEGMENT
Hope this helps
Regards
Shiva -
Mapping Problem ORDERS Idoc to Edifact
Hi,
I have a mapping problem with the IDOC ORDERS:
I get the IDOC with several E1EDP01. Each E1EDP01 has several E1EDPT1, where i want only the first one (which I get over the TDID value). Each E1EDPT1 has min. 1 E1EDPT2.
Now I have to map each field TDLINE from first two E1EDPT2 of the first E1EDPT1 to the Edifact fields /LIST/S_UNB/S_UNH/G_SSG25/S_LIN/S_IMD[1]/C_C273/D_7008 (from the first E1EDPT2) and, if a second E1EDPT2 exists in /LIST/S_UNB/S_UNH/G_SSG25/S_LIN/S_IMD[1]/C_C273/D_7008_2.
I use following UDF:
//a = TDLINE
//b = Number of entry in the List
int pos =Integer.parseInt(b[0]);
if ( pos < a.length )
result.addValue(a[pos]);
else
result.addValue(ResultList.SUPPRESS);
Unfortunatly, I think becaus of the context problems (not every E1EDPT1 has two E1EDPT2), it's not working. Could somebody help me with this problem?
Thanks in advance
DominicDear Dominic ,
I had same problem when I was trying to do the same thing for FTX segment.
Your UDF is fine but you don't need else condition.
//a = TDLINE
//b = Number of entry in the List
int pos =Integer.parseInt(b[0]);
if ( pos < a.length )
result.addValue(a[pos]);
for C_C273 assigned contant value and
D_7008 assigned TDLINE but change the context to E1EDPT1
and for D_7008_2
TDLINE(context to E1EDPT1 )
====>UDF====>D_7008_2
Contant(=1)
It should work becasue my map is working fine. If not let me know error message.
Thanks
Shubhankar -
Copying of Profitability segment from Sales Order to Purchase Order
Dear Edurado,
My requirement is in the sales order account assignment tab there is Profitability segment which is done by CO PA , the same PA segment must be automatically flow to Purchase order while creating the Po with ref to a sales order. Profitabilty segment is flowing but the fields like customer , Material is not flowing ,user must have to enter manully which he does not want.... i want all the field is Profilabbility segemnet of SO must be flow to PO while doing Po with ref to SO.
Regards
AbhiHi,
Try transaction code KE4IM, to map the MM condition types to COPA value fields.
Trust this helps much!
Cheers! -
EDI Mapping to ORDERS IDOC - urgent
Hi All,
My scenario is creation of sales orders in R/3 using inbound EDI messages.
Source is the Seeburger external definition(ORDERSV9)(Copied object into my name space) and the target message is the orders IDOC(R/3)(imported).
my question is: we have many segments and the feilds in the target message(IDOC). how will in know which feilds from source message are mapped to the correct feild in correct segment of the target message.
Please clarify as I'm stuck in Mapping?
Cheers,
SmithHi Liang,
I know the structure, feilds and the data in the feilds of the EDI structure. I just need to know to which target feilds in IDOC the respective source feilds are mapped to?
In target IDOC structure we have nearly 100 feilds and i'm not sure which feilds are to be mapped to create a sales order in R/3.
Fucntional consultants couldnt help much and are not completely aware where the data is posted in the sales order from the feilds in the idoc structure.
I'm waiting for any EDI experts to respond. Will see
Cheers,
Smith -
Mandatory fields for mapping in ORDERS idoc.
Hi
I m working on File to idoc scenario for creation of sales order in ECC 6.0 , now I want to know what are the mandatory fields in ORDERS idoc which needs to be populated or else disbaled so that the sales order gets created properly in the ECC 6.0..
Pl let me know the method of finding mandatory field for mapping for any idoc and which fileds of idoc are to be disabled.
Pl help ..
ans will be rewarded .
thanks & rgds
mojibHI,
U can disable the control record segment and in the IDOC adapter use the option apply control record from payload.
If you have set the Apply Control Record Values from Payload indicator in the receiver IDoc adapter, the following fields are filled from the IDoc-XML payload:
· MESCOD
· MESCFT
· TEST
· EXPRSS
· STD
· STDVRS
· STDMES
· SNDSAD
· SNDLAD
· RCVSAD
· RCVLAD
· REFINT
· REFGRP
· REFMES
· STATUS
· DIRECT
· OUTMOD
· CREDAT
· CRETIM
read the information in below link:
http://help.sap.com/saphelp_nw70/helpdata/EN/ab/bdb13b00ae793be10000000a11402f/frameset.htm
thnx,
chirag -
PI : Idoc to JDBC scenario : repeating segments mapping issue
Experts
Please help.
Question reg. mapping for ECC idoc to JDBC scenario.
I am using the ORDRSP idoc which has multiple segments as below.
IDOC -> multiple E1EDK14 segments with 2 fields (QUALF and ORGID)
Depending on the value of the QUALF field i need to populate the column in my target structure.
QUALF 001 => Colmn a
QUALF 002 => Colmn b
For now my graphical mapping is very simple - QUALF => column a (done just to find out how PI mapping works)
What happens in my case, is the PI Payload shows all the E1EDK14 segments however only the value 006 present in the first occurence goes into the target column.
How do I repeat a mapping between QUALF and target col. for multiple occurences of the same segment?
Please can you guide me reg. use of context, loop over segment, UDF = which will be the best solution to achieve this?Hi
My mapping is as below. I will take an example of a sales order that has 2 line items 00010, 00020. The payload is as follows
I see this payload in the SXMB_MONI transaction => Receiver grouping => Payloads
- <ZORDRES>
- <IDOC BEGIN="1">
+ <EDI_DC40 SEGMENT="1">
+ <E1EDK01 SEGMENT="1">
+ <E1EDK14 SEGMENT="1">
<QUALF>006</QUALF>
<ORGID>01</ORGID>
</E1EDK14>
+ <E1EDK14 SEGMENT="1">
<QUALF>007</QUALF>
<ORGID>01</ORGID>
</E1EDK14>+ <E1EDK03 SEGMENT="1">
+ <E1EDK03 SEGMENT="1">
+ <E1EDK03 SEGMENT="1">
+ <E1EDK03 SEGMENT="1">
+ <E1EDKA1 SEGMENT="1">
+ <E1EDKA1 SEGMENT="1">
+ <E1EDKA1 SEGMENT="1">
+ <E1EDKA1 SEGMENT="1">
+ <E1EDKA1 SEGMENT="1">
+ <E1EDK02 SEGMENT="1">
+ <E1EDK02 SEGMENT="1">
+ <E1EDK17 SEGMENT="1">
+ <E1EDK18 SEGMENT="1">
+ <E1EDK18 SEGMENT="1">
+ <E1EDP01 SEGMENT="1">
<POSEX>000010</POSEX>
+ <E1EDP01 SEGMENT="1">
<POSEX>000020</POSEX>
</E1EDP01>+ <E1EDS01 SEGMENT="1">
<SUMID>001</SUMID>
<SUMME>2</SUMME>
</E1EDS01>
+ <E1EDS01 SEGMENT="1">
<SUMID>002</SUMID>
<SUMME>1100.00</SUMME>
<SUNIT>GBP</SUNIT>
</E1EDS01>
</IDOC>
</ZORDRES>
There are 2 problems. First one which I discovered after posting the query. I can see only the line item 10 in the query that gets contructed in PI to insert the data into the target jdbc table. Please see jdbc receiver communication channel log below
If you see above there are 2 E1EDP01 segments for line 00010, 00020.
INSERT INTO tblOItem (IDocDate, IDocTime, SalesOrderNo, ItemNo, Plant, ItemCategory, UnitSellPrice, QuantityOrdered, QuantityAllocated, ScheduledDeliveryDate) VALUES (20111206, 135530, 0015002085, 000010, 0086, ZTAN, 0.00, 1.000, 1.000, 20111201)
My source and target mappings are as below.
ZSALORD
IDOC
BEGIN
E1EDK01
E1EDP01
POSEX =============> SalOrdItm table column itemno
My target side structure (idoc to jdbc scenario is as follows)
I have mapped the E1EDP01 to Statement - I thought this will build one query per line item (per occurence of E1EDP01) but this is not working.
MT_OITEM
Statement
dbtablename ============> SalOrdItm
action =================> Insert
table
access
Itemno (this is one of the columns from the table)
The occurence of E1EDP01 is 0..9999999 while the occurence of Statement node is 1...unbounded.
Please is there any email address where I can send you screen shots if the above is not clear.
I need to get this interface delivered as soon as possible but am STUCK.
Edited by: gary jojo on Dec 6, 2011 3:06 PM -
To populate Segment data to Order item level in additional tab B
Hi Experts,
I am working on Inbound interface using IDoc (ORDERS05); during Idoc process IDOC_ORDERS_INPUT; i have to take segment value and need to populate at order items level; in custom field (in additional tab B).
For that i am using FM (Customer exits) :
Step 1- EXIT_SAPLVEDA_001 (Getting segment value and passing to XVBAP-Zfield).
Step 2- EXIT_SAPLVEDA_002 (Passing Value to respective screen using BDCDATA table).
Due to unable to find where i have to set flag and how ?; To avoid multiple record to append ; BDCDATA Table with same screen.
As mention in this link for Header level additional tab B : http://www.sapfans.com/forums/viewtopic.php?f=21&t=62945#p1025880.
They are using my_flag to avoid ,issue as i mention in above step.
Step 3 - At last they are deleting my_flag in FM : EXIT_SAPLVEDA_003. (find in above link)
Thanks in Advance
Regards
Vinayyou need to use a flag of type vbap-posnr .
and your check statement will become
check my_flag NE XVBAP-POSNR. (or the ZZXVBAP-POSNR).
and setting the flag
my_flag = XVBAP-POSNR.
so for same posnr it wont repeat the append.. hope this can help -
Is it possible to copy segment mapping in message mapping??
Hii Experts,
I want to duplicate one segment and I want to copy all the mappings of one segment into the other in message mapping.
Mapping Templete does not work here.
Anyone knows any other work around ?? The segment contains hell lot of mapping rules and it is difficult to copy each and every rule.
Thanks in advance.
ShriHi shripad
just try one thing right click on target field which you want to copy and select option copy node ..if it is work then it may.....otherwise i donot think its possible..
Thanks
Kunaal -
Hello,
We have a requirement that we would receive IDocs from a third party and we would send them back.
But the condition is,if these ORDERS IDocs contain materials belonging to different distribution channel then IDoc has to be split in two (10 or 20 DC) having materials belonging to same DC.
So at the max,we can have 2 IDocs created for 1 IDoc.
How can we achieve this?
Regards,
ShwetaShweta,
We have a requirement that we would receive IDocs from a third party and we would send them back.
Through which adapter are you communicating to III party?
Is it a Asynch scenario?
As per my understanding, you need to split the incoming IDOCs based on the Distribution channel.
I suggest you to use Multi Message mapping > then right click on Messages1 and select duplicate structure.
Now provide the mapping for the first messages to execute for DC = 10 similary provide mapping for second message to execute for DC = 20.
Enhanced interface determination if you want to send each one as different message.
Regards,
Venkat. -
VF02 picking segment from internal order
Hi all,
In VF02, the segment field is picking the last three characters of Internal Order field value. For Eg:
Internal Order : 200375000020
segment : 020
But actually the segment number is 375 ( 3 characters from 4 th digit of internal order).
The internal order (200375000020) is already maintained in the real time business.
My requirement is The Standard Transaction VF02 should pick 3 digits from 4th character of internal order.
Can we have any exit for this kind of scenario.
Please help me to solve this issue.
Thanks in advance,
Regards,
Murali Krishna. THi Vinod,
I found enhancement spot in the corresponding screen where it is picking the segment from internalorder. and problem solved. But I have done this for released bill document.
Actually I need to do this task for un released bill documents
regards,
Murali Krishna. T -
Mapping IDOC ORDERS - Xcbl orders 3.0
Hi,
Could anyone tell me where i can find standard mapping for IDoc ORDERS03 to the Xcbl Orders 3.0?
We have strange mapping issues with the texts as these can be empty. This is causing problems in the mappings.
Thanks for your help.
Regards,
Laurent.Ok here is my case example:
source structure :
E1EDP01 (item 1)
POSEX
-E1EDPT1(0..9999)
--E1EDPT2(0..9999)
---TDLINE(0..1)
E1EDP01 (item 2)
POSEX
-E1EDPT1
--E1EDPT2
---TDLINE
-E1EDPT1
--E1EDPT2
---TDLINE
E1EDP01 (item 3)
POSEX
E1EDP01 (item 4)
POSEX
-E1EDPT1
--E1EDPT2
---TDLINE
Target structure :
ListOfStructuredNote(0..1)
-StructuredNote(0..9999)
--GeneralNote(0..1)
mapping one to one:
POSEX -> ListOfStructuredNote
E1EDPT2 -> StructuredNote (context on E1EDP01)
TDLINE -> GeneralNote(0..1)
The two first structures are mapped ok
But the General note is missing one context because item3 has no texts.
I need to add this context otherwise the 4th TDLINE is getting in the 3rd Structurednote.
Is UDF obligatory because it would be my first?
Thanks....
Laurent -
User exit for profitability segment in service order settlement rule
Does anybody know if exit EXIT_SAPLKEAK_001 works for the profitability segment creation during the creation of a settlement rule of a service order?
The context is the following: the company uses service orders which are settled periodically (it receives revenue from sales order which is posted to the service orders at time of billing, and also costs at time of goods issue). The profitability segment in the settlement rule of the service order needs to be the same as the one from the billing document that posted to the order.
Can I use EXIT_SAPLKEAK_001 to find the characteristics from the billing document and populate it in the PSG of the settlement rule? If yes, could this be applied to only one specific service order type?
Thank you.Hi
If your settlement is triggered by a batch or is triggered by a workflow exit EXIT_SAPLKEAK_001 is not run. From release 5.00 on characteristic groups are indeed not considered any more during batch input processes because there were problems before with initial chars of a CO-PA line item resulting from a batch input process that actually shouldn't be initial.
Refer SAP Note 581739, which put an end to usage of char groups during batch input processes. Also refer SAP Note 142628.
Regards
Sanil Bhandari
Edited by: Sanil K Bhandari on Jun 23, 2011 10:12 AM
Maybe you are looking for
-
Os 10.5 install failure computer will not boot
acquired a hand-me-down G4 and went to upgrade the 10.4.11 os to 10.5. I had planned to do a archive and install because I dont have software disks for many of the applications, however, I never even got that far... put in the 10.5 disk, it loaded an
-
Hi there, i have to make a change in a PI Mapping... Until now the mapping was looking that: SOURCE: <ITEM> <KSCHL>100</KSCHL> <VKORG>1000</VKORG> <CNO>123456</CNO> <DISCPRODHIER>12345</DISCPRODHIER> <DISCAMOUNT_T>15</DI
-
How to make visible context menu for nodes of the given level of treeTable?
Hello I'm using JDeveloper 11g 10.1.1.4 I have a TreeTable component with 4 different levels (Contry-Branch-Town-Object). I need to show custom elements of the context menu (right click of the muse) only for rows with "Object". Now, I'm doing it with
-
Final Cut Pro Audio Levels Low when exporting to mp3 and mp4
Hi everyone! When I export audio from Final Cut as an mp3, my levels are very low. When I export footage as an mp4, the audio is low as well. But before exporting, my levels are right at or below 0. So they are where they should be. So for examp
-
Hi SAP gurus. I'm using LSMW program 490 for general task list. When I use the program, it jumps to IA01. I have allready run SM31, and add the value IA05 in SXDA3 table. But the problem still continue. Is it possible to link the operations in task l