File-to-Idoc - field population problem.
Hi All,
Im getting the following problem.
My scenario is Filetoidoc.
Problem:
In the interface mapping Im able to see all the values are populated correctly for Idoc.but when I see in IDX5 or SXMB_MONI one value instead of populating correctly replacing , in that field.
Im using Java mapping program also to convert the file in to desired structure.
Thanks in advance.
Venu.
Hi All,
The out put from the above java program is.
<?xml version='1.0' encoding='UTF-8'?><ns0:MT_MeterReading_IntermediateForm xmlns:ns0="urn://MVP_SR3_01/MVP/MeterReading"><Recordset><H1><Recordid>H1</Recordid><RouteNumber>10151G</RouteNumber><MetReaderId>002</MetReaderId><TotRead>000015</TotRead><TotDevUploaded>000016</TotDevUploaded></H1></Recordset><Recordset><H1><Recordid>H1</Recordid><RouteNumber>10151G</RouteNumber><MetReaderId>SYSADMIN</MetReaderId><TotRead>000000</TotRead><TotDevUploaded>000000</TotDevUploaded></H1><Item><D1><HMetReaderId>SYSADMIN</HMetReaderId><HTotDevicesUploaded>000000</HTotDevicesUploaded><AccountNumber>6205</AccountNumber><MeterReadCode>0000001495</MeterReadCode><ReadDate>20060819</ReadDate><TroubleCode></TroubleCode></D1><D2><ChgdSplInstr>IN FOOTPATH DOG BITES information for service order</ChgdSplInstr></D2><U2><Data>33333300100451</Data></U2><UC><Data><u>SKIP TEST COMMENTS FROM METER READER FOR 4000734 MRo with RR '09'</u> </Data></UC></Item></Recordset></ns0:MT_MeterReading_IntermediateForm>
In abobe result last Data field value is populated correctly . the above result is from interface mapping.
but when the idoc is generated in XI. I'm unable to see the value.
Thanks,
venu.
Similar Messages
-
File to IDoc - Partner No. problem
Hi,
I am trying to sent an IDoc to ERP system from PI. I made all configurations but I get an error in ERP in we02. It says that the Partner No. is incorrect. When I look at the Partner No. I see that it has the entry "TODO". But it must be the system name, like xxxclnt400
Why is PI sending the Partner No. as TODO??Hi Chris,
Ensure that there are no changes done in SLD.
please check the receiver agreement object and field - header mapping - sender service
is it the same as with other flows ? you can put there the business system which has the correct
logical system name in SLD - so it will go correctly to ERP
Check whether the control record data is taking from the Payload.
Thanks,
Edited by: Hareenkumar on Nov 25, 2010 1:25 PM -
Dynamic field population problem
All,
I have a form with several drop downs populated by dynamic methods. These methods retrieve data from an Oracle DB. Four of the drop downs allow the user to select a value for each field and based on these selections, I have a 5th drop down that should populate with a value derived from the other four selections. So we have field 1: value 1, field 2:value 2, field 3:value 3, and field 4:value 4. Field 5 should return a set of values based on the values of fields 1 through 4 being equal to the corresponding values in the database. However the query returns empty. Here is the SQL from Studio. Anyone have an idea why this is returning an empty record set?
Field5 as String[]
for each element in
SELECT Value5 from OracleDB.BPM.FOO
WHERE OracleDB.BPM.FOO.value1 = Form.value1 and OracleDB.BPM.FOO.value2 = Form.value2 and OracleDB.BPM.FOO.value3 = Form.value3 and OracleDB.BPM.FOO.value4 = Form.value4
do
Field5[] = String(element.Value5)
end
return Field5
TIA,
IGSHi Ian,
Here are a few things to check:
1. Are you sure your logic is getting run once all 4 of the other fields have been selected? Put a logMessage statement at the top and bottom along with a logMessage statement that shows the values in your array.
2. Do you have your method set for attribute 5 to have its valid values populated dynamically using the method you have written?
3. When you change each of the 4 other attributes, do you have the changed field invoke a method (using the changed field's "On change invoke property) with the logic:
{code}refreshValidValues("value5"){code}
4. In the above method, did you leave in the double quotes surrounding the attrirbute's name?
{code}// this will not work
refreshValidValues(value5)
// this will work
refreshValidValues("value5"){code}
Hope this helps,
Dan -
Hi
I am developing an scenario of file to idoc.
My problem is, when it is generating the idoc in target system, the Parner Number in control record is filling with the logical system name given when creating the business system.
I tried changing the logical system name with actual partner number which I want but giving an error ' The selected integration server already has a business system with logical name "pidclnt001". Select a different integration server or change the logical name. '
Can anybody advice me, is it not possible to create two scenarios to send same Idoc to same system ?
Regards,
ShyleshHi Shylesh !
You need to enable the header mapping option in your receiver agreement to overwrite the Logical System name that is sent to the R/3 destination system...which now is the Logical System name linked to your sender system (info is in SLD if is a business SYSTEM or in the Adapter Specific identifier attributes if it is a business SERVICE)
You cannot have more than 1 business service/system with the same Logical System name...but you can overwrite the sender logical system name that arrives to the destination R/3 system using the header mapping section of the receiver agreement as noted above.
Regards,
Matias. -
Hi All,
File to Idoc & File.
I need to pick the file and i need to do multi mapping, so that from the file we can generate
one idoc which has to go to SAP and
one acknowledgment's file and sent back to partner.
Based on the below blog, looks like we can't use Idoc adapter when the target message is Idoc using Multi mapping.
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
Can anyone suggest me how i can achieve this scenario without using BPM.??
Regards
Seema.Hi,
The Multi mapping is possible without BPM but not for IDOC as its not part of Java Stack. IDOC adapter is on ABAP stack.
As Raj have suggested,
You could create two different Mappings one for file to IDOC and another for file to file as an acknowledgment.
In Receiver determination you need to use multiple receivers as IDOC --R/3 receiver and the File receiver system.
It will create the IDOC as well as push the acknowledgment to file also.
But incase if you get any problem with sending the IDOC then also you will get successful acknowledgment via file. So directly there will not be any relation between these IDOC and File receivers as an delivery recipt of IDOC.
Here either you have to use the IDOC acknowledgment feature or BPM or Alert notification to get the exact notification about the IDOC posting to receiver system.
Please refer below links
1. IDOC acknowledgment
This Feature is Available under SP 18 and we are on SP16
http://help.sap.com/saphelp_nw04/helpdata/en/42/c8f66bc7a56bb0e10000000a1553f6/frameset.htm
Check this document on handling IDOC acknowledgements. This might give you some pointers.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
This Feature is Available under SP 18 and we are on SP16
http://help.sap.com/saphelp_nw04/helpdata/en/42/c8f66bc7a56bb0e10000000a1553f6/frameset.htm
Check this document on handling IDOC acknowledgements. This might give you some pointers.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
How to Handle Acknowledgments for IDoc (NW7.0)
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903a0abc-e56e-2910-51a8-9dc616df56eb
IDOC acknowledgements
2. BPM
File to IDOC with BPM
File to idoc with BPM
Problem in BPM implementation
Use Aleaud in BPM
/people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
3. Alert Notification
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config
Thanks
Swarup -
Problem in : File to IDoc
Hi,
I am working on a file to IDoc scenario.The logical name for the sender system is maintained in the SLD.I am not populating the control record in the mapping.
When am executing the scenario, the status message in SXMB_MONI is showing request processed but in the outbound status it is showing error and the message displayed is " EDI Partner Profile not found ".
Can anyone help me out with this.
Thanks and regards,
Pravesh Puria.Hi,
Transaction :WE20
Choose partner Type : LS
Give partner Number ( give Logical System Name ( Sender System ..check with basis or Bd54 Transaction .if the sender is Business Service ..give XI Logical system)
and Inbound parameter add the Idoc and give the process code and save.
ur problem will solve..
let us know if U need any
regards
Ram -
File to IDOC .. Look up Problem.
Hi Experts,
Iam doing file to Idoc scenario .. In which iam sending PO Response (ORDERS) from fie to idoc.
Source
File
Target(LSname)
R/3 (LS356)
R/3 (LS357)
R/3 (LS358)
Code
A ( For LS356 )
B ( For LS357 )
C ( for LS358 )
Delivery ID
2536
2537
2538
GLN Code : 58899653
I have 4 fields in my look up table ..
CODE
GLN CODE
Delivery ID & Logical system
Using CODE and GLN Code as lookup key ---> I need to get the value of Delivery ID and Logical System.
So taking Delivery ID and LS name as key .. My source file will go to the corresponding R/3 system.
Its urgent .. Please respond asap.
Thanks
krupa.Hi,
The problem is i cant write as static condition in receiver determination.
My Scenario is File to Idoc -- ( One legacy system to any of the 3 R/3 systems).
According to my requirement i need to write some 2 look ups
Delivery Look up table
CODE, GLN Code, Delivery ID, LogicalSystem
A, 58899653, 021085, LS356
B, 558899653, 021083, LS357
C, 58899653, 021082, LS358
Using Code and GLN Code as lookup key ---> get the value of Delivery ID and Logical System
IdocCtrlLookup
Purpose: To read the IdocCtrlLookup file to populate the Idoc control segment
valid control record has to found in IdocCtrlLookup file for Delivery ID
Delivery ID Sender Port Sender partnernumber RX Port RX partner num
021085 SAPGD2 GD2DVRC103 A000000046 GTEHHLD01
021083 SAPGD4 GD2DVRC122 A000000048 GTEHHLE01
021082 SAPGD4 GD2DVRC122 A000000047 GSEHHLE01
Please help how i can write the lookups and also how can i determine the Rx system dynamically with the above scenario. -
Hi all,
i'm getting an error from SXMB_MONI in a scenario File to Idoc.
I have done the mapping from source file and Idoc CREMAS03, when i try to test from Integration Repository it's all ok, but when the scenario is executed i find this error in Idoc Adapter :
<SAP:P1>MSGGUID EF7E2140A08811DDBE1202004C4F4F50: Tag #TEXT found instead of tag IDOC BEGIN=</SAP:P1>
The field BEGIN in idoc structure is filled with constant value 1, than i dont understand the error.
This is the xml source file :
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:Vendor xmlns:ns0="urn:tbit40:workshop:group01:legacy">
- <Address>
<Country>IT</Country>
<Zip>001</Zip>
<City>ROMA</City>
<Street>SATTA</Street>
</Address>
<Currency>USD</Currency>
<SearchTerm>TEST</SearchTerm>
<LastName>GUIDA</LastName>
<VendorNumber>44332</VendorNumber>
</ns0:Vendor>
Any help is really appreciated.
Thanks.Hi all and thanks for your answer.
My problem is that for what i can see all Idoc attribute (like the attribute BEGIN) are mapped with constant value.
In taget source i can see : BEGIN = Constant([value=1])
What i dont understand is why when i execute the scenario it ends with this message :
<SAP:P1>MSGGUID EF7E2140A08811DDBE1202004C4F4F50: Tag #TEXT found instead of tag IDOC BEGIN=</SAP:P1>
It seem to me that the tag BEGIN is not filled with value, i also tried to copy the source xml file directly from SXMB_MONI (from payload) and test it in Integration Repository mapping section, but here is all ok and the test end succesfully. -
Problems in file to idoc scenario
hi all
I am doing file to IDOC Scenario. In that I am getting the successful message but the Fields which I mapped to the IDOC is not populated in the IDOC.
In message mapping also it was showing the same thing. when I entered the fields of the file manually it was coming into the idoc and if i gave any file then it was not populated.
Can any one help us.
Regards
VasuHello
For that u will have to change the occurunces in messages tab in mappings and do a split by value in mappings to generate 4 different messages.
secondly i hope ur using BPM for the same. in that case u can use parForEach to post 4 IDocs at a time.
regards
rajeev -
FILE to IDOC SCENARIO NEED MANDATORY FIELDS IN MATMAS IDOC
Hi
I'm learning a scenario like File to Idoc which is i need some what are the mandatory fields for creting the message mapping.. between source file and MATMAS IDOC... because it was showing several fields.
is there any way to find out the fields we need to map compulsory... for sending IDOC successfully.
Thanks
BabuHi Babu !
Log into the R/3 system, transaction WE60, enter the idoc type MATMAS01 or 02, 03, 04, then press F8 or go to Documentation menu, HTML Format.
It will display a document, telling you which fields are optional and which mandatory.
Regards,
Matias
PS: please award points if helpful. -
Problem with Sender service in File to IDOC scenario
Hello All,
Am doing a file to IDOC scenario.
I have configured the sending system as a party and added a business component, to the BC attached the service interface and also configured the sender Communication channel(CC) as file.
On the receiving end configured the R/3 system from SLD as the business system and configured the receiver CCl. Can see the R/3 logical system in the Adapter specific identifiers at business system.
Pushing the file get an error "Unable to convert the sender service to an ALE Logical System". But choosing "Take sender from Payload" in the receiver CC is resolving the problem, however the sender partner number remains the same as what I have mapped to the control record in message mapping (which is like hard coding).
My questions are:
1. Am I doing the correct config in terms of the scenario. (like using "Take sender from Payload")
2. I tried using identifiers at the party level to convert the sending system, but nothing seems to work. But sending system remains the same as the constant from mapping.
Suggestions would be very much helpful..
--Prashanth
PS: Have gone through many blogs and posts on the forums, but may be I did not see the correct thread. Apologies if I am asking this again.Hi Prashanth,
refer the below discussion i think it will solve your problem.
File To Idoc scenario
Thanks -
Doubt in fields - message mapping (file 2 idoc scenario)
while doing message mapping in file 2 idoc scenario, i could not able find the values for some field names
( i am following this wiki help
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC& )
cremas04 idoc
vendorNo LIFNR
vendor name Name1
Pur_org ? ( I could not able locate field with the similar desc in idoc MT side)
Company code ?
Acc_Grp ?
Search term MCOD1
Address ADRNR
City ORT01
Pin_code PSLTZ
could you help me out with this?
Message was edited by: praba
prabahi,
I got the answer. -
Problem in executing File to IDoc Scenario in XI
Hello,
I am Working in HR Payroll module and new to XI.We are implementing File to IDoc Scenario in XI.When I place the flat file in the application server the file is read but the contents of the flat file is not getting posted to the IDoc.The constant values defined for IDoc in Mapping program is getting posted .I am not able to trace the error.
kindly help me out in resolving this problem.IF there is any way of debugging the entire process please let me know.
Thanks & Regards,
Malathi V.hi,
check this blog to test your mapping,
/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
Next, check your INBOUND MESSAGE in SXMB_MONI and check if the content conversion has been perfromed as expected.
these steps will help you reason out the cause of your problem.
Regards,
Bhavesh -
XI Problem: File to Idoc Scenario - IDOC_INBOUND_ASYNCHRONOUS
Hi,
I'm having problems with inbound IDOCS in R/3. The idocs from XI are sent as tRFC using the FM IDOC_INBOUND_ASYNCHRONOUS and this is a problem because i have like 200 or 300 idocs to be sent at the same time and each IDOC takes like 5 minutes to process, hence the system crash due the amount of simultaneous logins (error message ThISend: ThRollout ).
I need to fix this problem using some kind of serialization and the use of the function module IDOC_INBOUND_IN_QUEUE.
Does anyone know how to achieve this?.
The scenario configuration in XI and R/3 is as follows: (PI 7.0 SP15) - (R/3 SAP ECC 6.0)
File to Idoc.
Sender CC->
File content conversion
Exactly once in order
Receiver CC->
IDOC protocol
Queue Processing
R/3 Partner profile config.
Message type BOMMAT
Trigger immediately
Thanks.Hi,
You have to split the messages in the sender file adapter, by using the parameter "Recordsets per Message".
I hope that it will solve your problem. Please see the below link, it might be useful to you.
http://help.sap.com/saphelp_nw2004s/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
Regards,
Rajesh -
Mapping IDOC to CSV file - Missing blank field values in CSV file
Hello:
I am mapping an IDOC to a .csv file, using File Content Conversion. I specify comma as the value for the parameter 'fieldSeparator'. I get a .csv file, but blank field values are missing in the .csv file.
For example, if the .csv file format is <field1>,<field2>,<field3>
and if <field2> is blank, then the .csv file contains
<field1>,<field3>Hi Bac,
As long as the XML that goes to your File Receiver Channel contains the elements, even if they don't contain values, it should work fine.
For example:
<field1>data</field1>
<field2></field2>
<field3>data2</field3>
I suspect that your XML looks like the following:
<field1>data</field1>
<field3>data2</field3>
If this is the case you can update your map. You shouldn't need to put a space, just make sure the element gets created.
Thanks,
Jesse
Maybe you are looking for
-
Validation on Application Level?
Hi, is there the possibility to define a validation on application level? Couldn't find anything. I thought about a validation on page 0, but page 0 doesn't allow to create validations... Purpose: I want to validate the Apex_Application.g_fxx arrays.
-
I've noticed a significant decrease in the color vibrancy/saturation after uploading photos from iweb to the .mac server. Has anyone else observed this and is there a solution?
-
Requirements : Mac Book Air 11,6 " OSX 10.7 and Apple Remote ! Has anybody a Idea why the Apple Remote did not work with this Macbook Air
-
Can i duel boot OS X yosemite on a laptop with ubuntu on it?
i want to duel boot OS X yosemite on my acer laptop that has ubuntu on it and am wondering if it is possible and if so how can i do it?
-
I bought some Archie comics and I need to re-download them
How do I do this? When I look in my purchases it has the app but not the individual comics I purchased