on 08-07-2007 7:16 AM
Hi Experts,
I have a File, which contains dif. Material types, number, etc.,
Now, my IDOC should read only if Material type = 'A' then update.
Shall i need to write UDF for this.
Could you pls give me the solution
Thanks in Advance...
Regards,
Ramana.
Hi,
I am explaining again in detail..
I have a file which contains the data for dif. types of materials and numbers.
I need only if Material type = A then my IDOC should update at receiver side.
So, where should i use the Standard Function (if,else)
either...at sender side (file ) or receiver side(idoc)
Regards,
Ramana.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In the mapping program, you have two message types. one is for Source (file) and another is for target (IDoc).
So first drag the target filed (root node of the IDoc) then Drag the source file (field from File message type) then use the dataflow editor, to put the IfElse condition.
You have to do everything in the mapping program itself. Let me know incase of any difficulty.
Hope this helps.
-Prasad Babu.
Hi Prasad,
ThanX alot...
Regards,
Ramana.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>Double click on the IDoc root node.
So, you mean to say i have to write standard function from Target which i have to double click on IDOC.
Pls correct me if i am wrong??
Here my Source is File..
Regards,
Ramana.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Thanks for your replies...
could you please give me the steps for this..(more elaboratively)
Regards,
Ramana.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can do it without the use of UDF.
You just need to map the header node of the IDoc to Source file filed using IfElse condition.
Do that if Material type = 'A', then only IDoc will be generated.
Hope this helps.
-Prasad Babu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There is no need to write UDF, you can use the standard functions like ifelse function to solve this problem.
Regards
Vikas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ramana,
will you get all Material types to source message from File?.
you can do mapping without UDF, with simple standard functions.
Cheers,
Jag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.