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

Problem adapting code

Former Member
0 Likes
391

Hello gurus!

I'm having a problem because I'm trying to adapt the FM SAP_WAPI_START_WORKFLOW to perform some actions. I already have the code that we are using for some actions since 3 years more or less, but when i try to set all the parameters the error "TABLES parameters are obsolete" appears. So where I have to declare this parameters sine now are they obsolete?.

Regards

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
357

Utilize a table type, in your exporting or changing parameters.

From structure in DDIC, create a table type with a line type of that structure, then in export, declare an object TYPE the table type you created.... that allows you to pass out a table of that particular type. If you have an input, do the same, except put it in import or in changing.

Edited by: DaveL on Jun 21, 2011 8:03 PM

2 REPLIES 2
Read only

Former Member
0 Likes
358

Utilize a table type, in your exporting or changing parameters.

From structure in DDIC, create a table type with a line type of that structure, then in export, declare an object TYPE the table type you created.... that allows you to pass out a table of that particular type. If you have an input, do the same, except put it in import or in changing.

Edited by: DaveL on Jun 21, 2011 8:03 PM

Read only

0 Likes
357

That's it Dave! Problem solved, thanks a lot!!