cancel
Showing results for 
Search instead for 
Did you mean: 

Issue while importing SAP function into Data Services

0 Kudos

I am trying to import SAP RFC GL_ACCT_MASTER_SAVE_RFC into SAP BO Data Services. It is giving error: Cannot Import function. Parser detected an unknown data type. Notify customer Support (BODI-1112335).

I see no issue in opening this RFC from SAP S4HANA, and test run using SE37.

Any pointer to solve this is helpful.

Thanks,

Partha

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member187605
Active Contributor
0 Kudos

There's no real solution for your problem, only a workaround. DS supports standard SAP datatypes only, documented in section 7.3.1 Conversion to/from Data Services internal data types of the SAP Data Services Supplement for SAP guide.

You'll have to write a "wrapper" function with parameters of supported data types only.

See for a similar problem and a detailed description of the solution approach.

former_member198401
Active Contributor
0 Kudos

Is this a Custom Function which you are trying to import in DS. Try to check the definition of the function and its return value in SE37 and try compiling the function

Refer SAP Supplement Guide.

http://help.sap.com/businessobject/product_guides/sbods42/en/ds_42_sap_en.pdf

Regards

Arun Sasi

0 Kudos

It is standard SAP Function. I am able to do test run, and load an entry using SE37 option against this Function module.

Following is definition of function:

FUNCTION gl_acct_master_save_rfc.

*"----------------------------------------------------------------------

*"*"Lokale Schnittstelle:

*"  IMPORTING

*"     VALUE(TESTMODE) TYPE  XFELD OPTIONAL

*"     VALUE(NO_SAVE_AT_WARNING) TYPE  XFELD OPTIONAL

*"     VALUE(NO_AUTHORITY_CHECK) TYPE  XFELD OPTIONAL

*"  CHANGING

*"     VALUE(ACCOUNT_COA) TYPE  GLACCOUNT_COA OPTIONAL

*"     VALUE(ACCOUNT_NAMES) TYPE  GLACCOUNT_NAME_TABLE OPTIONAL

*"     VALUE(ACCOUNT_KEYWORDS) TYPE  GLACCOUNT_KEYWORD_TABLE OPTIONAL

*"     VALUE(ACCOUNT_CCODES) TYPE  GLACCOUNT_CCODE_TABLE OPTIONAL

*"     VALUE(RETURN) TYPE  BAPIRET2_T OPTIONAL

*"  EXCEPTIONS

*"      LOGON_ERROR

*"      ERROR

*"----------------------------------------------------------------------

Regards,

Partha

former_member198401
Active Contributor
0 Kudos

Can you refer to

The function code contains a "CHANGING" interface. Data Services supports "IMPORTING" and "EXPORTING" structure. "Changing" can be alternatively used either as importing or exporting structure according to its context.

So if its a standard function then you might need to convert it to a Custom Function Z_.

what do you think!!

1626679 - Cannot import the function <name=<function name> Syntax error ...BODI-1112335 when importi...

Regards

Arun Sasi

mageshwaran_subramanian
Active Contributor
0 Kudos

Looks like the data type used in the SAP function is unknown to Data Services. Try this setting in SAP data store.

0 Kudos

Dear Magesh,

I see that "Import unsupported data types as VARCHAR of size" check box option is not available if my source is SAP.

Here am attaching screenshot. Please let me know, if I can check on any other property.

thanks,

Partha

0 Kudos

Hi Partha,

I'm facing same issue.. are you able to make any progress ?

Thanks, Brijesh