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

Additional fields in FB50 using BAdI FI_HEADER_SUB_1300

MKM
Active Participant
0 Likes
12,130

Hi All,

Can Sub Screen area APPL_SUB be increased?

my problem is i want to add 12 fields in FB50 header.i have implemented the FI_HEADER_SUB_1300 BADI.But the Sub Screen area APPL_SUB is very small to accomodate the fields.

if it can't be expanded due to dependency for FB01, FBD1 & FBD5 screens,is there any alternative to do this?

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

0 Likes
11,011

Hi manoj,

Since it is a sub screen area you cannot increase its size in this context...

Create a zscreen with all your fields in it and call it from the sub screen (using a button), It's may solve you problem. Cheers.....points please.)

26 REPLIES 26
Read only

former_member186491
Contributor
0 Likes
11,011

Hi Manoj,

You may check LFDCB001 Exits. This has Screen 0400 available for Customer Sub-Screen at Header Level.

Thanks.

Kumar Saurav.

Read only

0 Likes
11,011

Hi Saurav,

LFDCB001 Exit is for FB60.not for FB50.

Read only

0 Likes
11,012

Hi manoj,

Since it is a sub screen area you cannot increase its size in this context...

Create a zscreen with all your fields in it and call it from the sub screen (using a button), It's may solve you problem. Cheers.....points please.)

Read only

0 Likes
11,011

Hi,

can anyone send some code reference for this to call a screen from the sub-screen area APPL_SUB by clicking a PUSH button.

Read only

0 Likes
11,011

in the PAI

catch the OK_code of the push button , den use the below statement to call the screen that you made.

eg:-

if ok_code = 'PUSH'.

     call screen 9001.

endif.

Read only

0 Likes
11,011

Hi,

i have written like this.

  1. Implemented FI_HEADER_SUB_1300 BADI by calling program ZFI_FB50_ADNL Sub-Screen No. 9000.
  2. My 9000 sub-Screen Code is like below

PROCESS BEFORE OUTPUT.

   MODULE status_9000.

   CALL SUBSCREEN area INCLUDING sy-repid '9001'.

PROCESS AFTER INPUT.

   CALL SUBSCREEN area.

   MODULE user_command_9000.

Inside PAI User_Command,I have written like this.

CASE sy-ucomm.

     WHEN 'ABC'.

       CALL SCREEN 9001 STARTING AT xx xx

                                       ENDING    AT xx xx.

     WHEN OTHERS.

   ENDCASE.

9001 is a Sub-Screen area called from 9000 by clicking a Push-Button Whose Function Code is 'ABC'.

It is resulting in Dump DYNPRO_NOT_FOUND.

pl. advice.


Read only

0 Likes
11,011

Hi manoj,

Make 9001 as screen and  call it Instead of calling subscreen.. ...)

Read only

0 Likes
11,011

i have tried that before.

it is giving dump(DYNP_WRONG_SCREEN_TYPE) when i am opening FB50 TCode.

Read only

0 Likes
11,011

That's bcz you are trying to access the screen using sub screen area...

try this way....>

use the sub screen only to place the push button ..now  call another screen (not subscreen) by clicking the button ...

Read only

0 Likes
11,011

Hi,

that only i had done.

pl. write in code.

Read only

0 Likes
11,011

i guess 9000 is your sub-Screen, the one  you must call in the subscreen area provided...

  now ,in flow logic ..

PROCESS BEFORE OUTPUT.

   MODULE status_9000.

   

PROCESS AFTER INPUT.

   MODULE user_command_9000.

Inside PAI User_Command,

CASE sy-ucomm.

     WHEN 'ABC'.

       CALL SCREEN 9001.

   ENDCASE.

Read only

0 Likes
11,011

it is giving dump DYNPRO_NOT_FOUND.

Read only

0 Likes
11,011

make sure that you activate everything  properly...

Read only

0 Likes
11,011

everything done.

Read only

0 Likes
11,011

In my experience this type of error hits only when the specified screen is not available in the context..So the problem is with your screen only...try to sort it out...).

Read only

0 Likes
11,011

i am writing my full code below.

it giving dump when

CALL SCREEN 9001 is coming in PAI of 9000 screen.

need guidance.

Read only

0 Likes
11,011

Hi Manoj,

upto my knowledge First call screen is only for normal screens .

But u have called subscreen with call screen , so it is searching for normal screen. since its not there it is giving dump as dynpro not found.

Then you are trying to call subscreen in the subscreen. so pls check whether it is possible or not.

if it is possible you might have not given sub screen area in the subscreen 9000 for subscreen 9001.

Please check it.

Regards,

Ramya Ramasamy

Read only

0 Likes
11,011

Hi,

when i am making 9000 as normal screen,DYNP_WRONG_SCREEN_TYPE dump is coming while opening FB50 TCode.

pl. help.

Read only

0 Likes
11,011

flow logic of screen 9000.

process before output.

     module status_9000.

process after input.

     module user_command_9000.

in the module user_command_9000

case sy-ucomm.

     when 'OK'.

          call screen 9001. 

     when 'BACK'.

     ---------------

          ( set pfsatus for this screen in PBO)

endcase.    

Read only

0 Likes
11,011

Hi Manoj,

Keep it as subscreen only.

Pls try to create a subscreen area in the screen 9000 for subscreen 9001. and call it in the subscreen 9000. Pls do not use call screen to call the subscreen . if you have problem in the calling subscreen pls refer DEMO_DYNPRO_SUBSCREENS demo program.

Pls check it.

Regards,

Ramya Ramasamy

Read only

0 Likes
11,011

Hi francy,

9001 is not a normal screen to call with call screen.

If we give like that,  we will get dump dynpro not found.

Regards,

Ramya Ramasamy

Read only

0 Likes
11,011

Hi ramya ,,

I just asked him to call another screen (9001) from subscreen 9000. thats all...

please go through the code that i mentioned above....

Read only

0 Likes
11,011

Hi,

that i have already done.

In my code,CALL SUBSCREEN area is the sub screen created in 9000 screen and PUSH button is near to that sub screen.

i have modified PAI-User Command of 9000 screen like this.

CASE sy-ucomm.

     WHEN 'ABC'.

       number = '9001'.

     WHEN OTHERS.

   ENDCASE.

here number variable is storing the screen no.    

now when i am clicking on button,it is throwing error

Select a valid function.


Read only

0 Likes
11,011

Hi Francy,

I am having a requirement that Adding XREF1_HD field to transaction FB01 can you please say the procudure how to do it.

Thanks,

Ramesh

Read only

MKM
Active Participant
0 Likes
11,011

Is there no one to solve my issue?

Read only

Former Member
0 Likes
11,011

In program dont create the normal screen create only subscreen