‎2010 May 25 3:20 PM
Hi
I tested with empty data, i.e no proxy data . It should actually through error, but it is going inside the else part.
why it s happening like that.
example :
it_data = input-table-line.
IF it_data is empty.
display Error.
else.
post the data from proxy to a table.
end if.
‎2010 May 25 4:02 PM
Hi Vijay,
I guess it_data is an internal table and i also guess it has the same name of the work area as the body. So, in order to evaluate the IF Condition, you need to twist your code like this
IF it_data[] is initial.
do this.
ELSE.
Raise Error.
ENDIF.
Hope this help. It would be great if you can provide some more information about the defined data types.
Thanks,
Samantak.
‎2010 May 25 4:02 PM
Hi Vijay,
I guess it_data is an internal table and i also guess it has the same name of the work area as the body. So, in order to evaluate the IF Condition, you need to twist your code like this
IF it_data[] is initial.
do this.
ELSE.
Raise Error.
ENDIF.
Hope this help. It would be great if you can provide some more information about the defined data types.
Thanks,
Samantak.
‎2010 May 26 11:27 AM
Thank you Samantak for responding. Do you know, what is controller. There is always some data in the controller. because of that , it is going into ELSE section.
Edited by: knsvijay on May 26, 2010 12:36 PM
Edited by: knsvijay on May 26, 2010 12:42 PM
‎2010 May 29 3:06 AM
Hi,
Controller is a generated add on mainmly used
to influence the XML conversion and generation.
It allows you to suppress generating XML for empty parts of the
message. I am sorry i didnt find the links for the documentation.
Anyway it is not easy to use it as the PI or other message broker
as well as the bank end might refuse an xml you influenced using the controller
e.g. because it does no longer match the public xsd´s.
Regards,
Marcel
‎2010 May 29 4:33 AM
Hi,
I'm not aware of the Controller Concepts in XML Editor. Can you debug and let me know what kind of data is there. Is there some other way by which we can check for the Controller initial Conditions.
Hope this helps.
Thanks,
Samantak.
‎2010 Jun 01 7:41 AM
Hi
CONTROLLER is of table type PRXCTRLTAB, the line type is PRXCTRL, it's fields are
1) FIELD -- Field Name
2) VALUE -- Field Control in XML Data Stream (=> Type Group SAI)