Application Development 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: 

SCMS_XSTRING_TO_BINARY giving dump with this error .

naval_bhatt4
Contributor
0 Kudos

Error in the ABAP Application Program

The current ABAP program "ZGY_CUST_TAB_UPDATE" had to be terminated because it

has

come across a statement that unfortunately cannot be executed.

Function module "SCMS_XSTRING_TO_BINARY" was called

with the parameter "BINARY_TAB".

This parameter is not defined.

1 ACCEPTED SOLUTION

kesavadas_thekkillath
Active Contributor
0 Kudos

The dump analysis will have more details.

How are you calling the fm ?

4 REPLIES 4

kesavadas_thekkillath
Active Contributor
0 Kudos

The dump analysis will have more details.

How are you calling the fm ?

0 Kudos

DATA: l_xml_table TYPE TABLE OF t_xml_line,

l_xml_line TYPE t_xml_line,

CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'

EXPORTING

buffer = ls_values_xml

append_to_table = 'X'

IMPORTING

output_length = lv_length

binary_tab = l_xml_table.

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_SY_DYN_CALL_PARAM_NOT_FOUND', was

not caught and

therefore caused a runtime error.

The reason for the exception is:

Function module "SCMS_XSTRING_TO_BINARY" was called

with the parameter "BINARY_TAB".

This parameter is not defined.

Probably the only way to eliminate the error is to correct the program.

-

If the error occures in a non-modified SAP program, you may be able to

find an interim solution in an SAP Note.

If you have access to SAP Notes, carry out a search with the following

keywords:

"CALL_FUNCTION_PARM_UNKNOWN" "CX_SY_DYN_CALL_PARAM_NOT_FOUND"

"ZGY_CUST_TAB_UPDATE" or "ZGY_CUST_TAB_UPDATE"

"START-OF-SELECTION"

I am not able to find the SAP Note ..

0 Kudos

You have passed the signatures incorrectly.

Binary_tab id not a importing parameter

Its like this

*" IMPORTING

*" REFERENCE(BUFFER) TYPE XSTRING

*" VALUE(APPEND_TO_TABLE) TYPE C DEFAULT SPACE

*" EXPORTING

*" VALUE(OUTPUT_LENGTH) TYPE I

*" TABLES

*" BINARY_TAB

0 Kudos

haha .. thanks

I think I am tooo stresses out