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

Extended checks error

Former Member
0 Likes
564

Hi All,

We are making programs unicode compliant. While doing extended checks I am getting following error. Could you please let me know how to resolve errors from extended checks.

<b>Error :

Program: ZSDS_DEPLOYMENTS_BACK Row: 1196 [Prio 1]

In PERFORM or CALL FUNCTION "BAPI_PO_CREATE1", the the actual parameter

"WT_RETURN" is too short for the formal parameter "RETURN".

(You can hide the message using "#EC *)</b>

<b>Program:</b>

wt_return type BAPIRETURN occurs 0 with header line,

ws_return like bapiret2,

CALL FUNCTION 'BAPI_PO_CREATE1'

EXPORTING

POHEADER = wm_poheader

POHEADERX = wm_poheaderx

  • POADDRVENDOR =

  • TESTRUN =

  • MEMORY_UNCOMPLETE =

  • MEMORY_COMPLETE =

  • NO_MESSAGING =

  • NO_MESSAGE_REQ =

  • NO_AUTHORITY =

  • NO_PRICE_FROM_PO =

IMPORTING

EXPPURCHASEORDER = wm_exppurchaseorder

EXPHEADER = wm_expheader

TABLES

RETURN = wt_return

POITEM = wt_poitem

POITEMX = wt_poitemx

  • POADDRDELIVERY =

POSCHEDULE = wt_poschedule

POSCHEDULEX = wt_poschedulex

  • POACCOUNT =

  • POACCOUNTPROFITSEGMENT =

  • POACCOUNTX =

  • POCONDHEADER =

  • POCONDHEADERX =

  • POCOND =

  • POCONDX =

  • POLIMITS =

  • POCONTRACTLIMITS =

  • POSERVICES =

  • POSRVACCESSVALUES =

  • POSERVICESTEXT =

  • EXTENSIONIN =

  • EXTENSIONOUT =

POTEXTHEADER = wt_potextheader

POTEXTITEM = wt_potextitem

  • POPARTNER =

.

  • Commit BAPI changes to database.

call function 'BAPI_TRANSACTION_COMMIT'

importing

return = ws_return.

Thanks

1 ACCEPTED SOLUTION
Read only

PS_1978
Active Participant
0 Likes
533

Hi Yogesh,

Structure of BAPIRETURN and BAPIRET2 is different.

Try defining your table refering to BAPIRET2.

wt_return type <b>BAPIRET2</b> occurs 0 with header line,

Regards,

Phani

4 REPLIES 4
Read only

PS_1978
Active Participant
0 Likes
533

Hi Yogesh,

Structure of BAPIRETURN and BAPIRET2 is different.

Try defining your table refering to BAPIRET2.

Regards,

Phani

Read only

PS_1978
Active Participant
0 Likes
534

Hi Yogesh,

Structure of BAPIRETURN and BAPIRET2 is different.

Try defining your table refering to BAPIRET2.

wt_return type <b>BAPIRET2</b> occurs 0 with header line,

Regards,

Phani

Read only

Former Member
0 Likes
533

<b>DATA: WT_RETURN TYPE TABLE OF BAPIRET2 WITH HEADER LINE.</b>

Read only

Former Member
0 Likes
533

DATA: WT_RETURN TYPE TABLE OF BAPIRET2 WITH HEADER LINE.