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

Error 'GETWA_NOT_ASSIGNED' when processing IDoc

Former Member
0 Likes
788

Hi,

I am trying to process an IDoc of the basic type ORDERS05 through the BD87 transaction and I am getting a short dump.

The details of the dump are as below:

Runtime Errors: GETWA_NOT_ASSIGNED

Short text : Field symbol has not yet been assigned.

The current ABAP program "SAPL2012" had to be terminated because it has

come across a statement that unfortunately cannot be executed.

Any details about the solution for this would be really helpful.

Regards,

Sudeep

3 REPLIES 3
Read only

Former Member
0 Likes
662

Hi,

please post the lines where the short dump has come. You can find it below "Source Code Extract".

Regards,

Klaus

Read only

Former Member
0 Likes
662

Hi,

I have posted the source code extract which gives the details of the location of the error:

484 me->mo_po->my_ibs_firewall_on = cl_mmpur_constants=>yes.

485 lv_new = cl_mmpur_constants=>yes.

486 ELSE.

487 me->mo_po->my_cust_firewall_on = cl_mmpur_constants=>yes.

488 me->mo_po->my_ibs_firewall_on = cl_mmpur_constants=>no.

489 ENDIF.

490 <ls_acct>-id = lo_account->id.

491 READ TABLE me->ms_account-accountx

492 ASSIGNING <ls_acctx>

493 WITH KEY ebelp_key = <ls_acct>-ebelp

494 zekkn_key = <ls_acct>-zexkn.

495 IF sy-subrc IS INITIAL.

496 lo_account->set_datax( <ls_acctx> ).

497 ENDIF.

498 lo_account->get_data( IMPORTING ex_data = ls_account ).

499

>>>> me->merge( EXPORTING iv_name = if_mmpur_rtts=>gc_po_acct

501 CHANGING ch_source = <ls_acct>

502 ch_target = ls_account

503 ch_x = <ls_acctx> ).

504 * set fields which cannot be merged

505 IF ls_account-ps_psp_pnr IS INITIAL.

506 CLEAR ls_account-psp_pnr.

507 ENDIF.

508 IF me->mo_po->if_purchase_order_mm~is_persistent( ) EQ cl_mmpur_constants=>yes.

509 ls_account-ebeln = me->mo_po->po_number.

510 ENDIF.

511 lo_account->if_purchase_order_account_mm~set_data( ls_account ).

512 * transfer x-bar in case of a new accounting line

513 IF lv_new EQ cl_mmpur_constants=>yes.

514 lo_account->set_datax( <ls_acctx> ).

515 ENDIF.

Regards,

Sudeep

Read only

Former Member
0 Likes
662

Sudeep,

how did you fix this issue? what we are missing in account table? thanks for the help in advance