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

Master tables for Order

Former Member
0 Likes
671

Hi,

In creation of MAINTENANCE ORDER, I need to create a Search help for Work Center and Plant based on :

1. Order type

2. Planning plant

3. Business area

Could you help me out by letting me know what are the master tables having these fields.

Regards,

Srilakshmi B

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
628

Hi Lakshmi,

there is a standard Search help called RMAN_PRSP_ARBPL which is having work center ARBPL and plant WERKS as the fields. you can use the same for your requirement using MODIF ID.

For order master tables AUFK AFRV AFKO

Regards

SHiva

Hi Lakshmi,

there is a standard Search help called RMAN_PRSP_ARBPL which is having work center ARBPL and plant WERKS as the fields. you can use the same for your requirement using MODIF ID.

For order master tables AUFK AFRV AFKO

Regards

SHiva

3 REPLIES 3
Read only

gopi_narendra
Active Contributor
0 Likes
628
* Validate Work Centre
  if not ZES_PO_ITEM-ST_ARBPL is initial.
    clear : T399X.
    select single * from T399X where WERKS = ZES_PO_ITEM-ST_SWERK
                                 and AUART = ZES_PO_ITEM-ST_AUART.

    if SY-SUBRC = 0.

      call function 'CR_WORKSTATION_READ_ROUTING'
        exporting
          ARBPL = ZES_PO_ITEM-ST_ARBPL
          DATE  = SY-DATUM
          PLNTY = T399X-PLNTY
          WERKS = ZES_PO_ITEM-ST_SWERK."L_SWERK. "Changed on 27th Feb

      if SY-SUBRC <> 0.
        message E138(ZSM) with 'Work Centre not maintained for plant' ZES_PO_ITEM-ST_IWERK.
      endif.
    endif.
  endif.

Regards

Gopi

Read only

Former Member
0 Likes
629

Hi Lakshmi,

there is a standard Search help called RMAN_PRSP_ARBPL which is having work center ARBPL and plant WERKS as the fields. you can use the same for your requirement using MODIF ID.

For order master tables AUFK AFRV AFKO

Regards

SHiva

Read only

Former Member
0 Likes
628

Hi,

The fields

1. Order Type &

2. Business area

are present in the table AUFK.

U can find the above 2 fields in that table.

Thank you,

Chandra Prakash