on 12-29-2009 4:50 AM
Hi,
I have an IDOC coming into PI.
One of the fields is optional. If data is not present in it, then that tag itself will not exist.
How do I ensure the creation of this tag even if data in the source does not exist?
I am using a File Communication channel (sender).
One solution would be to use a module to search and insert these tags.
I am looking for an easier solution.
Cheers,
Earlence
Hi,
You can check the condition in mapping it self,like if field exists in IDoc then create target filed.Use Exists function,and also try to use CreateIf function.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How do I ensure the creation of this tag even if data in the source does not exist?
Mapping logic will be:
Source --> Exists --> IfWithElse (then Source) --> Target
(Else BlankConstant)
I have an IDOC coming into PI.
I am using a File Communication channel (sender).
Is the IDOC posted as file on some FTP/ NFS server from where PI picks it up?
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I understand you are getting the idoc into PI and during the generation of the mapping which is sending through file receiver adapter channel..then as specified above use function exists and specify the values as required....
And if this is causing the problem at adapter level for file content conversion..then there are parameters like fixedLengthTooShortHandling ..can be used...also if the field is last field then there are other parameter too for the same
Search Help if need more on the file content conversion parameters if needed..and if my understanding is correct..
HTH
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.