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

module pool pai not recorgnizing table

Former Member
0 Likes
657

hi i am gettig strange error on a module pool screen as below the table exist and it is giving no error on table ymrextn but it is giving error on other table on module dispatch_person_input as "ydftdetl-disper not recognized" but the screen fields exists and also screen elment exists.

pls suggest posible cause or solution

  PROCESS AFTER INPUT.
  CHAIN.
    .
    FIELD ydftdetl-disper.
    MODULE dispatch_person ON CHAIN-REQUEST.
    FIELD ymrrextn-lgort.
 

  ENDCHAIN.

   MODULE dispatch_person INPUT.
*  CLEAR lv_string.
*  lv_string = ydftdetl-disper.
*  IF NOT lv_string IS INITIAL.
*    IF lv_string CA space.
*      MESSAGE e001(00) WITH 'Enter a dispatch person.'.
*    ENDIF.
*  ENDIF.


ENDMODULE.

regards

Arora

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
529

The module pool flow logic checks if fields used in flow logic are available in the layout design of the screen.So this means your flow logic and screen should be in sync.

In the screen , the field "ydftdetl-disper" should be present.For this go to the screen layout ,and check if the field exists on the screen(there can be a spelling mistake for the field name or the field does not exist altogether).

How to check?

Press F6 in layout screen and in the window enter "ydftdetl-disper",Click on "Get from Program", check if a lock button is displayed in the line item displayed for the field:"ydftdetl-disper", .If so the field is used in the screen otherwise bring it on the screen and activate.

Once this is done,the issue will be solved

Hope it Helps

3 REPLIES 3
Read only

Former Member
0 Likes
529

declare your table in main program from where PAI and PBO is called like:

Tables: ydftdetl.

Read only

Former Member
0 Likes
530

The module pool flow logic checks if fields used in flow logic are available in the layout design of the screen.So this means your flow logic and screen should be in sync.

In the screen , the field "ydftdetl-disper" should be present.For this go to the screen layout ,and check if the field exists on the screen(there can be a spelling mistake for the field name or the field does not exist altogether).

How to check?

Press F6 in layout screen and in the window enter "ydftdetl-disper",Click on "Get from Program", check if a lock button is displayed in the line item displayed for the field:"ydftdetl-disper", .If so the field is used in the screen otherwise bring it on the screen and activate.

Once this is done,the issue will be solved

Hope it Helps

Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
529

Hi Nishant

if you already have the same field in layout then you need to declare it also in top include or beginning of the program. Just use tables:《custom table》...the idea is whatever you are using in layout the same should be declared in the program that is how it will communicate

nabheet