2008 Apr 17 4:40 AM
I use this BAPI to change my order . I just pass 4 parameters in the BAPI : SALESDOCUMENT
ORDER_HEADER_INX
SCHEDULE_LINES
SCHEDULE_LINESX
and in the order_header_inx , I input only one field UPDATEFLAG 'U'.
When I execute it , is make a runtime error said :
In the function module interface, you can specify only
fields of a specific type and length under "ORDER_HEADER_INX".
Although the currently specified field
"WA_ORDER_HEADER_INX" is the correct type, its length is incorrect.
Thanks
2008 Apr 17 4:54 AM
Lupin,
what ever the parameters you are passing having different data type and then the BAPI FM....
check the data type of your parameters
SALESDOCUMENT should have type BAPIVBELN-VBELN.
ORDER_HEADER_INX should have type BAPISDH1X
The internal table shoud have the structure
SCHEDULE_LINES like BAPISCHDL
SCHEDULE_LINESX like BAPISCHDLX.
Now it will work...
Pls. reward if useful.....
I use this BAPI to change my order . I just pass 4 parameters in the BAPI : SALESDOCUMENT
ORDER_HEADER_INX
SCHEDULE_LINES
SCHEDULE_LINESX
and in the order_header_inx , I input only one field UPDATEFLAG 'U'.
When I execute it , is make a runtime error said :
In the function module interface, you can specify only
fields of a specific type and length under "ORDER_HEADER_INX".
Although the currently specified field
"WA_ORDER_HEADER_INX" is the correct type, its length is incorrect.
Thanks
2008 Apr 17 4:54 AM
Lupin,
what ever the parameters you are passing having different data type and then the BAPI FM....
check the data type of your parameters
SALESDOCUMENT should have type BAPIVBELN-VBELN.
ORDER_HEADER_INX should have type BAPISDH1X
The internal table shoud have the structure
SCHEDULE_LINES like BAPISCHDL
SCHEDULE_LINESX like BAPISCHDLX.
Now it will work...
Pls. reward if useful.....
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |