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

Custom Screen For Create Change Display

kabil_g
Active Participant
0 Likes
5,231

Hi Frds,

Custom Screen For Create Change Display.

I Have Created Create Screen using Module Pool.

My customer want to change the created data and need to display.

Please help me out Frds.

Regards,

kabil

1 ACCEPTED SOLUTION
Read only

former_member202818
Active Contributor
0 Likes
3,863

Hi,

You can do this based on ok_code values,

Say..

1.CREA for  Create

2.EDIT   for Change

3.DISP  for Display

In screen painter..

Now in PBO.

Logic for field disabling and enabling using loop at screen.

if ok_code = 'CREA' or ok_code = 'EDIT'.

screen-input = 1.

else.

screen-input = 0.

endif.

modify screen.

endloop.

In PAI.

case ok_code.

when 'CREA'.

    perform create.

when 'EDIT'.

    perform edit.

when 'DISP'.

    perform display.

endcase.

14 REPLIES 14
Read only

Former Member
0 Likes
3,863

Hi Kabil,

     U can use BDC Recording for Standard Table Updation Or Abap Coding logic for Z table Modification.

     Refresh the Screen Display.

Regards:

Somendra

Read only

0 Likes
3,863

Hi Somendra,

When  my customer enter 2 field relevant details has to be diplay and he will change. I m getting Little confusuion. please guide me

Read only

0 Likes
3,863

sorry, can't understand.

Regards Clemens

Read only

former_member202818
Active Contributor
0 Likes
3,864

Hi,

You can do this based on ok_code values,

Say..

1.CREA for  Create

2.EDIT   for Change

3.DISP  for Display

In screen painter..

Now in PBO.

Logic for field disabling and enabling using loop at screen.

if ok_code = 'CREA' or ok_code = 'EDIT'.

screen-input = 1.

else.

screen-input = 0.

endif.

modify screen.

endloop.

In PAI.

case ok_code.

when 'CREA'.

    perform create.

when 'EDIT'.

    perform edit.

when 'DISP'.

    perform display.

endcase.

Read only

0 Likes
3,863

I have created three trancation code create change and display

i have created in one tcode

when i enter example plant  material subsuquent  fields to display in another screen . in that data to be there where i created earlier.

as like material master screen.

My customer will enter only two fields example.

Read only

0 Likes
3,863

Hi,

You can use set parameter id and get parameter id to get the value for the field..

In all screen PBO write...

GET PARAMETER ID 'BES' FIELD pa_ebeln.

in PAI...

if pa_ebeln is not initial.

SET PARAMETER ID 'BES' FIELD pa_ebeln.

endif.

Read only

0 Likes
3,863

Hi,

In that case create 2 screens.

1. Search screen which contains plant and material and create a button in that field

2. Now create one more screen with all the required fields to display.

3. Create code for button which when presses go to next screen with all the details

Is this what you are looking for?

Regards,

Swarna

Read only

0 Likes
3,863

MY customer is asking as like Material Master Creation , change , display.

Read only

0 Likes
3,863

Hi,

Are you trying to work your program like how in me21,me22,me23?

Means.. if in me22 i have entered a PO number and i closed me22.

Now when i open me23 the PO number given in me22 will get displayed by default.

Read only

0 Likes
3,863

Hi Sreekanth,

like mm01 mm02 mm03.

Read only

0 Likes
3,863

What property from these transactions?

Read only

0 Likes
3,863

I stayed away from SCN forums for some time for different reasons. To me, this looks more like an unspecified spec dump than a question to the community.

You'd rather persuade your customer to use the standard transaction if he wants something like the standard transaction.

If there is anything the standard does not provide there are many ways, most done by customizing. If that's not possible, SAP has a powerful enhancement framework.

You will not be able to create a bullet-proof transaction for something SAP needed years for in your developers life time.

Please close the thread and come back if you have technical questions.

Thank You so much.

Regards Clemens

Read only

0 Likes
3,863

Hi Kabli,

You can add 2 fields with some screen no,

add text in menu painter,

if you click change in menu you can call the screen with two fields.

Regards,

Venkat.

Read only

0 Likes
3,863

If you tooo smart in Abap Stay Away those who Are understanding they are replying to me.

Moderator message: This type of language is prohibited. Read

Frnds

I have got solution . Thanks All who have helped me out

By referring these link

https://www.sapnuts.com/courses/core-abap/module-pool/module-pool-materials.html