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

Table name

Former Member
0 Likes
1,197

My field name is WBKNZ - Goods movement indicator i serached in AUFM table i m not able to find that field can any one tell me where this field is found.

Thanks in advance

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,059

This field WBKNZ only exist in structure DIAUFM,

This structure is filled via FM PM_ORDER_GET_DETAIL in FORM GET_DIAUFM which uses FORM SET_WBKNZ_L

 case p_kzbew.
    when ' '.
      if p_rsnum is initial.
        p_wbknz = h_wa_ungepl.         " Warenausgang ungeplant
*                                        2-Unplanned goods issue
      else.
        p_wbknz = h_wa_geplant.        " Warenausgang geplant
*                                        1-Planned goods issue
      endif.
    when 'B'.
      p_wbknz = h_we_best.             " Wareneingang zur Bestellung
*                                        3-Goods receipt for purchase order
    when 'F'.
      p_wbknz = h_we_auft.             " Wareneingang zum FertAuftrag
*                                        4-Goods receipt for production order
  endcase.

Regards

6 REPLIES 6
Read only

Former Member
0 Likes
1,059

hi,

Press where-used-list to search for that field in any of the table fields .. i have checked it in my system i couldn't find it in any of the tables ..

regards,

Santosh

Read only

Former Member
0 Likes
1,059

Hi,

This field is not there in any table, but this is existed in 3 Structures

<b>DIAUFM

IOMAMO

RIHAUFM</b>

Regards

Sudheer

Read only

Former Member
0 Likes
1,059

Hi ,

In the table AUFM see the feild KZBEW.

Regadrs

Arun

Read only

0 Likes
1,059

ya i checked tht but the value range for WBKNZ and KZBEW domain is different.

Whats solution for this

Read only

0 Likes
1,059

Hi ,

As mentioned in the post by Reymond , this value is populated in the subroutine set_wbknz_l of the report SAPDBAFI.

What i understand is that this is done on the basis of the Movement indicator which is in the feild KZBEW of table AUFM . So you need to get this value and based on the logic mentiond in the subroutine get the value of wbknz.

Hope this helps.

Regards

Arun

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,060

This field WBKNZ only exist in structure DIAUFM,

This structure is filled via FM PM_ORDER_GET_DETAIL in FORM GET_DIAUFM which uses FORM SET_WBKNZ_L

 case p_kzbew.
    when ' '.
      if p_rsnum is initial.
        p_wbknz = h_wa_ungepl.         " Warenausgang ungeplant
*                                        2-Unplanned goods issue
      else.
        p_wbknz = h_wa_geplant.        " Warenausgang geplant
*                                        1-Planned goods issue
      endif.
    when 'B'.
      p_wbknz = h_we_best.             " Wareneingang zur Bestellung
*                                        3-Goods receipt for purchase order
    when 'F'.
      p_wbknz = h_we_auft.             " Wareneingang zum FertAuftrag
*                                        4-Goods receipt for production order
  endcase.

Regards