on 10-28-2015 10:35 PM
I've created a real-time job that receives an standard IDOC(DeliveryProcessing_Execute) from ECC and processes the IDOC. Everything works with the connection, I have one small problem though. There are three fields in ECC which by default are right justified in it's field and the field is of floating type. When BODS processes this IDOC, it seems it reads it left to right and notices the spaces and assumes that it is empty because of the spaces and marks the values in this field to be 0.000.
My version is 14.1.2.378 and ecc 6.0.
I save an XML copy of the file for validation before I make any changes to it. In that first xml, the values for these fields show as 0.000.
Anyone have a work around for this that doesn't consist of customizing the IDOC?
I haven't found anyone else having these challenges, which was hard for me to believe because I was using a standard IDOC.
Within the BODS, I can change the metadata of the IDOC but the change does not save or keep in place. It still shows it as a double when I try to use it as a source.
not sure if understand this correctly,
but you can try using ltrim to remove spaces when you read the IDOC fro ECC
and then lpad when send data back to ECC, for lpad you'll need the details of the fields which you'll get in WE30 fro that IDoc.
If my understanding is incorrect please correct me...
Thanks and regards,
Abhishek Biwal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhishek,
Thanks for your response. The IDOC is sent via RFC client form ECC to BODS. During that transfer, something(I don't know if its BODS or ECC) changes the datatype of fields that are not native to BODS. The number value is not even getting to me. In my second screenshot, you can see I am saving off the IDOC as it is received by BODS before any transformations are done to the IDOC. In that XML file, those fields are 0.000 . So I have no chance to make any changes to the data, as I am receiving it incorrectly.
Mitesh
You'll need and ABAP programmer to check the what is happening.
The programmer might have to De-bug the code to understand what is happening when data is pulled from ECC tables and where exactly the data is getting left justified.
We as BODS developers cant to much here
Thanks and regards,
Abhishek Biwal
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.