IDOC Mapping Fields
The following fields of segment E1FIKPF of IDoc FIDCCP01 is not present in BKPF table
AWREF
AWORG
BUKRS_SND
KURS2_M
XBLNR_LONG
Wht are these fields represents exactly...how should I map these fields
Hi Sunil,
ACCTHD-AWREF Reference document number
ACCTHD-AWORG Reference organisational units
BUKRS_SND - BUKRS
KURS2_M - Exchange rate
XBLNR_LONG - Didnt found this segment
Best regards,
Prashant
PS : Please reward all helpful answers
Similar Messages
-
How to map idoc segment field E1IDB02-FIIKONTO with BSEG-ESRNR.
Hi,
I have searched for lot of threads in the forum , and also i tried myself but i am not able to map this fields segment with my logic, so please anyone kindly contribute in mapping idoc segment field with the logic given below:
idoc type :PAYEXT outbound idoc.
message type: PEXR2002
This is my logic: i need to populate the ISR number(BSEG-ESRNR ) in idoc segment field( E1IDB02-FIIKONTO)
DATA : str1 TYPE string,
len1 TYPE i,
len2 TYPE i,
str2 TYPE string,
str3 TYPE string.
str1 = '01-1234-4'. ---> BSEG-ESRNR "ISR Subscriber Number
REPLACE FIRST OCCURRENCE OF '-' IN str1 WITH '_'.
REPLACE ALL OCCURRENCES OF '-' IN str1 WITH space.
CONDENSE str1.
len1 = STRLEN( str1 ).
IF len1 LT '9'.
len2 = '9' - len1.
CASE len2.
WHEN '1'.
REPLACE ALL OCCURRENCES OF '_' IN str1 WITH '00'.
WHEN '2'.
REPLACE ALL OCCURRENCES OF '_' IN str1 WITH '000'.
WHEN '3'.
REPLACE ALL OCCURRENCES OF '_' IN str1 WITH '0000'.
WHEN '4'.
REPLACE ALL OCCURRENCES OF '_' IN str1 WITH '000000'.
WHEN OTHERS.
ENDCASE.
ELSEIF len1 EQ '9'.
REPLACE ALL OCCURRENCES OF '_' IN str1 WITH '0'.
ELSEIF len1 GT '9'.
REPLACE ALL OCCURRENCES OF '_' IN str1 WITH space.
CONDENSE str1.
ENDIF.
Thanks in Advance.Resolved.
-
Help on ORDERS05 IDoc mapping..
Hi Experts,
Please help me out in finding out the IDoc Segment fields(ORDERS05) equivalent to the following SAP fields.
20 Quantity VBAP KWMENG Num(6)
21 Unit of Measure VBAP VRKME Char(3)
22 Gross Price KONV KBETR Curr(11.2)
23 Discount KONV KBETR Curr(11.2)
24 Surcharge KONV KBETR Curr(11.2)
25 Net Value KONV KBETR Curr(11.2)
26 Cost Object
31 Payment Terms VBKD ZTERM Char E1EDK01 -ZTERM
32 Footer Msg1 STXI n/a Char
33 Footer Msg2 STXI n/a Char
34 Footer Msg3 STXI n/a Char
35 Total KONV KBETR Curr E1EDS01 -SUMID (004)
I thought for
Quantity : E1EDP01-MENGE
Unit of Measure : E1EDP01-MENEE
Gross Price : E1EDP01-PREIS
But when i went to WE19 and posted the idoc by populating the above segment fields its not getting updated in the sales order, instead in the created sales order it shows quantity as 0 and its not getting updated.
so iam not sure whether these segment fields (in ORDERS05 IDoc) are the right fit for quantity, UoM and Gross price. Please provide me the correct segment fields mapping for the above SAP fields.
Actually Gross price, surcharge, discount and Net value are calculated automatically by SAP while creating the sales order based on the amount and quantity entered - right..? Then do i need to populate the values for these fields also in IDoc for testing using WE19.
Please reply me.
Thanks in advance,
karthik.In sales order,these quantity updating in Tatget quantity,look at VBAP Table ..
You will get good idea..
Reward Points if it is helpful
Thanks
Seshu -
Hi,
Iam new to idocs and a functional consultant. I need to know whenever we receive the inbound idocs and if i see the segments of the inbound idoc, do the fields which i see in the segments are the sap fields.????/ for instance if the inbound idoc needs to create a sales order, then the fields of the segments of such an inbound idoc are the normal sap sales order fields ??
do i need to give functional specs to the abapers that whenever the inbound idocs is received the segments fields need to be mapped to sales order fields if such an idoc needs to create a sales order ??
regards
sachinHi Sachin,
Most of the IDoc segment fields are simmilar to SAP transaction fields e.g. most of the ORDERS IDoc segment fields will be simmilar to what you can see in VA01/VA02 screen fields.
Some fields may have different names.
In the case of few segments which may repeate in IDoc with different qualifiers (such as partner details, date segments), fields will be same but different qualifier value decides where these field values will be populated in the Order.
If you are using standard function module to create Order, it will take care of mapping IDoc segment fields to VA01/VA02 screen fields. But if it is a Z function module, then you need to specify the mapping.
Hope this information will help you.
Regards,
Mahesh Pakhale -
IDoc string field to JDBC date field - Not working
Hello everyone,
Once again I must ask you something that is keeping me..
I had a interface type RFC ASync to JDBC SQL Server, it was working fine. Then, I was asked to change to a type iDoc ASync to JDBC SQL Server.
At first, it was not a problem, just manual work. But them, I am getting an error.
In the RFC, I had a date field, that was directly related to the date field on the JDBC destination, so the mapping was pretty much straight forward. The SQL INSERT command was working fine on this cenario.
Now, in iDoc, this field was automatically converted to a string, and somehow, PI is not understanding that string has to be mapped to a date field in the JDBC.
Is there any 'workaround' for me to do this?
Thanks!
Ricardo Sancio Lóra
BrazilThe issue here is that somehow, the same SQL insert command that was working, does not work anymore.
This is the SQL command took from RWB log monitor:
INSERT INTO aniversariantes_sap (matricula, nome, nascimento, unidade) VALUES (00000070, 'Ricardo Lora', '19851216', 00000000)
If I run this query on my DB it works.
But, in PI, it's not, here is the error:
Could not execute statement for table/stored proc. "aniversariantes_sap" (structure "ANIVERSARIANTES_SAP") due to com.microsoft.sqlserver.jdbc.SQLServerException: Syntax error converting datetime from character string.
I´ve tried cast() and convert() using mapping 'habilities', but also, does not work. Work if I run in the DB, but not if PI runs it.
Wierd..
Ricardo -
Hello,
We'd like to store the idoc data extracted from EDI 852 inbound transaction in an infocube for DP. SAP Note 154604 suggests that trx <b>/sapapo/map_tser</b> can be used for specifying the infocube.
However, in SCM 4.1, this trx has a field for PA only, not infocube. I was wondering how to pull the data into infocube.
Any suggestions would be appreciated.
Thank you,
MalliHello,
I'm afraid that i can not help you.
I am witting you because i am trying to get information about VMI/ SMI implementation, for ex. IDOC mapping, best practices, etc.
I will be appreciate if you can provide me this information.
Thanks&Rgds
Angélica -
Quick Question - iDoc 'empty' fields?
Hi eveyone!
Quick question before leaving for holiday
I just finished my scenario 'iDoc to JDBC (Stored Procedure)' and it works just fine.
But, I realize that if a field is empty IN THE IDOC, this field is not COMING to SAP-PI, therefore, I can't map it to the Stored Procedure.
Is this behavior normal? I mean, the field not come from iDoc because is empty?
(I can see the field in the segment, WE19 in R3 (empty), but not in WE02 neither in the INCOMING of SAP-PI Monitor, it's just not there, because it's empty at the origin).
I´m just 'afraid' I would have to do this special treatment for EACH field...:(
Thanks guys!
Ricardo Sancio Lóra
BrazilIs this behavior normal? I mean, the field not come from iDoc because is empty?
Empty fields are not shown in PI monitoring, so it's ok.
I´m just 'afraid' I would have to do this special treatment for EACH field...:(
If the fields at target side are mandatory then you need to take care in mapping. -
CREMAS05 Vendor idoc other fields
Hi,
Basic type CREMAS05
Vendor master data distribution
Released since Release 700
1). In idoc it is showing the
REGIO : Region (State, Province, County)
& LAND1 : Country of company only, but i want its text.
Ex: For 22 - Tamilnadu &
for IN - India.
2). When i set a Deletion flag for any vendor using T.Code XK06, in generated idoc,
LOEVM field value will be 'X',
if vendor is active its value is ' '.
LFA1-LOEVM-Central Deletion Flag for Master Record
E1LFA1M : Segment for general vendor data
LOEVM : Central Deletion Flag for Master Record
i hv to put the constant value TRUE, if vendor is active &
FALSE if deleted, for the mapped field in XI.
Pls let me know hw to solve the above requirement.
Regards,
BalajiHi,
IDoc contains 2 Segments:
Seg1 & Seg2.
Seg2 is the child of Seg1.
Seg1 contains field:
CODE
Seg2 contains fields:
DESCRIPTION
HIERARCHY
When i trigger the idoc, the data is stored as:
Seg1:CODE: 1001
Seg2:DESCRIPTION: test1,
HIERARCHY: 00
Seg1:CODE: 1002
Seg2:DESCRIPTION: test2,
HIERARCHY: 01
Seg1:CODE: 1003
Seg2:DESCRIPTION: test3,
HIERARCHY: 02
Seg1:CODE: 1004
Seg2:DESCRIPTION: test4,
HIERARCHY: 03
creating the duplicate segments as shown above.
This data is mapped to the structure in XI.
The structure to map will be as follows:
str1
---ID1
---DES1
---ID2
---DES2
---ID3
---DES3
i've to map depending on the field HIERARCHY condition.
IF HIERARCHY = '02' THEN
ID1 = 1003.
DES1 = TEST3.
IF HIERARCHY = '01' THEN
ID2 = 1002.
DES2 = TEST2.
IF HIERARCHY = '00' THEN
ID3 = 1001.
DES3 = TEST1.
How to map this condition based, in the MESSAGE MAPPING?
pls help in solving this if possible with a screen shot.
Regards,
Balaji -
I can not map field after changing data source location
Hi
I have a small problem that I got a report file and database from my customer, after that I setup database, open the file and change data source to my setting. but some filed can not map. The field mapping widonw does not display all field in the table. Of course I have checked the missing fields are existing in the table.
OS:Windows7
DB:Oracle11
CR:XI Release 2
Does anyone have an idea?hi,
In Map Fields window, there is an option "Match Type".
Please Unchek that option, so that you will be able to see all the fields from that table.
Also, while mapping please verify the datatypes of source and target fields.
Regards,
Vamsee -
Replaced value is not getting relected in IDOC segment field
Hi,
Need your help for the below issue.
I am replacing the PO # with Delivery Doc # . But the replaced value is not getting reflected in the IDOC segment field(e1bp2017_gm_item_create-po_number.).
Function Module which I am using is IDOC_INPUT_MBGMCR as a copy.
Here is my code given below:
SELECT
SINGLE vbeln
INTO lx_vbeln
FROM lips
WHERE vgbel EQ e1bp2017_gm_item_create-po_number.
Move lx_vbeln TO e1bp2017_gm_item_create-po_number.
MOVE-CORRESPONDING e1bp2017_gm_item_create
TO goodsmvt_item.
Then this is passed as TABLE in "BAPI_GOODSMVT_CREATE".
Please do the needful.Hi Dheepa,
Check it in debug whether the filed is empty or having po#, when ur code is executed for the replacement. if it is empty, po# is populated after ur code. in this case you need to write the code in suitable place.
Reddy -
How to set/get the values thru Wedbynpro coding for User mapping fields
Hi All
In system object we have the user mapping fields like District,city,plant,Salesmanager.
now we want to set/get the values of these usermapping fields of system object thru webdynpro coding...
if anybody have sample codes of the same then it would be great help to me
Thanks in advance
Thanks
Trisha RaniHi Kavitha
Thanks for your reply
My requirement is exactly as follows.
1) i have created one portal system object in system administration and also i created usermapping fields in the system object from the usermanagement in system object.
i created the user mapping fields like Plant,SalesManager,District etc.
i also created the system alias name for the same system object
2) Now i came to persoanlize link and mapped the system object to the portal user.
while mapping to the system object we need to enter Mapping userId, Password , once we enter these values and we can also enter the values of usermapping fields which we defined while creating the system object ( for example District,Salesmanager,Plant etc)
once we enter all the values and click on save then these usermapping values to be mapped to the portal user.
3) Now my requirement is , i want to control the usermapping field values thru webdynpro coding for setting/getting the values.
I need sample code of the same.
Please let me know if u need more details on the same.
Thanks
Trisha Rani -
Hi All,
I am on MDM 5.5 sp6,and this weird thing happens everytime i run the "update all mapped fields" option in the import manager,it creates a new duplicate field with the updated value record.Is this a bug in sp6 or I guess i am going wrong somewhere.I want to update a particular field in the qualified table and i am using a import file which has values for qualified field on the main table and the values for the qualified table itself.
Any Help greatly appreciated
ThanksHi Aravind,
I am on MDM 5.5 sp6,and this weird thing happens everytime i run the "update all mapped fields" option in the import manager,it creates a new duplicate field with the updated value record.Is this a bug in sp6 or I guess i am going wrong somewhere.I want to update a particular field in the qualified table and i am using a import file which has values for qualified field on the main table and the values for the qualified table itself.
MDM should not behave in this way. I thing there is an issue with the Matching Field you have choosen.
I think you have choosen all the FIeld as the Matching Field ( Tab) while IMporting.
Hence any change in any value, creates another dupliacte record( which we do not want)
Please select any Field with unique values ( like the Material ID, Customer ID etc) which will ensure that the particular records are updated with the new Values coming in.
You will find the new value getting updated for the records which are already present. It will not create a duplicate record
Hope it helps.
*Please reward points if helpful
Thanks and Regards
Nitin Jain -
Using "Update All Mapped Fields" with multi-value attributes
Is it possible to update a value in a multi-value attribute through the import manager? It appears that if a source value is different then it just gets added as another value to the record.
For example, a product has an attribute of speed which is measured in revolutions/minute. Some products can be rated at two speeds (i.e. 1800/3600).
I created a numeric attribute for speed and enable only nominal rating and selected multi-valued.
In import manager, I set "/" as multi delimiter for source field. This created two entries in destination attribute, 1800 and 3600.
However, if on subsequent imports the speed values changes for this record (i.e. 1200 and 1800) then I will now have 1200, 1800, and 3600 as values for this record.
Would the proper solution be to create two individual numeric attributes that are single valued (i.e. Speed1 and Speed2)?Hi Aaron,
in your example it would make sense to use two different attributes called "Speed1" and "Speed2". Using the multi value option, MDM allows you to store a list of values into a single field. This list is more or less unlimited, you can add as many values as you like. A change of an existing value is not possible. The reason is that Import Manager does not know, which value you've changed! So it simply adds the "new" record (which is the 1200 in your example) to your value list. This is the intended behaviour of the "update all mapped fields option". If you really want to replace the values, you can check if the "Replace" option is useable for you. But note, that the replace will replace the complete existing record with the incoming new one. This means if the product you want to import with the replace option is smaller than the existing one (maybe it does not contain values for all segments), you'll loose data in MDM.
BR Michael -
Table name in Oracle for the User Mapping field?
Does anyone know the table name for the user Mapping field in EP6.0?
ThanksHi Alan,
why do you want to access the DB directly?! You can access the information via the Java API, which is in general the most secure way for the DB scheme is always "subject to change without notice"...
Best regards
Detlev -
Hi,
I am having a problem with the display of idoc segment fields. When i check the Idoc segment contents in WE02 it is displaying the fields which dont have the value in the DB table along with the fields which have the data. To avoid this what is the procedure. I dont want to display the fields in the content of segment which does not contains the data.
Plz help me out.
Regards
SantoshHi,
U have to use for reduced message type...U need to filter the segments which u don't want...In BD53 u need to create reduced message type....
plz go through the below link..
http://help.sap.com/saphelp_erp2005/helpdata/en/d3/06f6679aaf0e44b67ca6d6b58d91df/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/0b/2a6702507d11d18ee90000e8366fc2/content.htm
Regards,
Nagaraj
Maybe you are looking for
-
Syncing and backing up take forever
before update, if i plug phone in and it syncs automatically, it was pretty quick if there wasn't new music, etc. just say only a contact was changed. now when i plug in, even if there were no new apps purchased since the last sync, it goes through a
-
Hello, I have all the files, MST and the patch located in one folder. I am trying to use the following MSI command lines locally on my computer before I can attempt to deploy this via SCCM 2012. I am having issues either with the package not compatib
-
File adapter sender content Convertion
Hi all, I need to read a flat file and convert it, The file structure is a long row with different types of segments: For example: AA111222333BB4455 where AA - the first segment and BB the second segemnt, I want to convert this string to - <AA> <firs
-
I'm working on some documents in Spanish. I'm having issues because the hyphenation function is in English. I want the program to follow the proper Spanish hyphenation rules without changing my English UI.
-
I hope I've posted this in the right place....I have a Centro (the third one in less than two years!!) and for the last week or so it just responds very slowly. For example, when I send or receive a text, it takes at least 10 sec before any of the k