on 02-16-2017 2:28 PM
I am a new developer in MII.The function need work as follow.
Read the SAP Table, if has data, will go the first action. If not, go second action.
At first i want to check repeat itemcount, but if the repeater item count is zero, it will not go though the below actions under repeater.
H can i check if RFC read table has data?
i want to use follow code but it not work..
RFC_READ_TABLE.Response{/RFC_READ_TABLE/TABLES/DATA/item/WA} ==''
You can try something like RFC_READ_TABLE.Response{count(/RFC_READ_TABLE/TABLES/DATA/item)}>0 in your Conditional action.
Regards,
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Or you can try in Condition action block
stringif(RFC_READ_TABLE.Response{/RFC_READ_TABLE/TABLES/DATA/item/WA} == nullstring, 0, 1)
Regards
Ram Upadhayay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try using " instead of ' for string literals. If you haven't already I would recommend reading thru the online help files. There is a lot of useful information in there and even if you can't absorb it all in one go it would give you a good understanding of where to look when you run into issues.
Regards,
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.