Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

inbound proxy error

Former Member
0 Likes
772

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
715

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.

5 REPLIES 5
Read only

Former Member
0 Likes
716

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.

Read only

0 Likes
715

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

Read only

Marcel_Wahl
Product and Topic Expert
Product and Topic Expert
0 Likes
715

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

Read only

0 Likes
715

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.

Read only

0 Likes
715

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)