on 05-27-2015 4:21 PM
Please suggest how I can block a blank value coming in a field in message mappng in pi (soap to rfc scenario)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vishu
In this way it is giving me message mapping error
Please suggest any other mapping way.
Also tell me if Material field has 4 sub fields
Sign = I
Option = EQ
Low = 2334456677
High = 4454637382
then do I have to do mapping only in main Material fields or its sub fields also like sign, option, Low , high.
regards,
rishabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rishabh,
Since the four sub fields are present under Items node, just put your logic for the Item node itself, and for its sub fields just do one to one mapping with the corresponding source fields.
For Item node(if the logic is for Low field not equal to blank, then only populate, then):
Replace MaterialTy with comparision field(eg: Low)
Replace target MaterialN with target Items node
Regards
Vishnu
Hello,
Please check this note -
1832047 - NULL value handling in PI mapping
Thanks,
Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually I have removed all the mapping now but basically I want that if LOw is empty or blank it should pass to the target Low field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vishnu,
The screen shot i have pasted is not working. The requirement is simple
If a field is blank I donot want to pass is to target structure.
Can u please explain me its mappin in detail
Rgds,
rishabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rishabh,
Using EQUALS text function check whether the input is having blank value or not, pass this output to a NOT Boolean function and then the output of this to a IFwithoutElse boolean function, the other input of the IF is the input field only. Pass this to the target field.
Regards
Vishnu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Hareesh,
Suppose there are 4 fields to send an input to a RFC via SOAP UI -- i.e Material, Vendor, Storage Location, Posting date. etc (no field is mandatory)
I can send input in 1 field also or 4 fields also.
so if I am sending data in material field only. then bapi is assuming some value for vendor, storage Location, plant, Posting date etc. and throwing an error that
this plant doesnot exist
this vendor doesnot exist
this storage location doesnot exist
etc
so I want to do a mapping in which if a field is filled with input value in source structure then only it should populate the value in target structure or it should not pass blank value to target structure if no input data is passed in it.
Please suggest what node function or UDF i have to do use in this.
Regards,
rishabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vishnu and Venkat,
I have done like this
is it write or wrong
also please tell the fields in input structure are like i.e Material number (sign,option, low, high)
Suppose I am not passing any value in low and high, still bapi is assuming value as Sign = I
and Option = EQ ...........................................which Ideally should not come
It should be like only is Low field is not blank then SIGN or
OPTION FIELDS should be filled.
Please suggest me on this. The below mapping is done by me on my previous requirementPlease chech whether I have done right or not.
Thanks,
rishabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.