on 12-04-2007 2:34 PM
Hi,
Within my Webdynpro application I want to update the text that user normally can enter within SAP/R3 (CATS - Record working times). I use the parameter EXTENSIONIN to default the values
- STRUCTURE: BAPI_TE_CATSDB
- VALUEPART1: 36 Desciption of the entered hours.
I get an error message in return saying TABLE_INDEX_INVALID, when I try to run this BAPI within SAP, transaction SE37. I gues there's something wrong with the recordnumer, but I don's know how to enter a valid value.
Anyone an idea how to solve this?
Thanks.
Twan
I think you are aloso facing same problem, which I have faced.
I have got the solution from note#901354.
So I have made the changes in the following code of include LBAPICATSF01
form move_extension_to_custom using p_extensionin type BAPIPAREX
changing p_custom type bapi_te_catsdb.
*{ REPLACE TSEK900096 1
*\ FIELD-SYMBOLS:
*\ <f_container> TYPE x,
*\ <f_any> TYPE x.
FIELD-SYMBOLS: "note : 901354
<f_container> TYPE c,
<f_any> TYPE c.
*} REPLACE
ASSIGN p_extensionin TO <f_any> CASTING.
ASSIGN p_custom TO <f_container> CASTING.
<f_container> = <f_any>+30.
endform. " move_extension_to_custom
In short you have to apply note 901354 to change field-symbols data type from X to C.
I hope this will solve your problem.
-Haresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.