2014 Jul 04 7:26 AM
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
2014 Jul 04 9:36 AM
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.
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
2014 Jul 04 8:14 AM
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
2014 Jul 04 9:21 AM
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
2014 Jul 04 11:43 AM
2014 Jul 04 9:36 AM
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.
2014 Jul 04 10:00 AM
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.
2014 Jul 04 10:41 AM
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.
2014 Jul 04 11:50 AM
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
2014 Jul 05 6:09 AM
MY customer is asking as like Material Master Creation , change , display.
2014 Jul 05 8:00 AM
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.
2014 Jul 05 10:40 AM
2014 Jul 06 9:32 AM
2014 Jul 06 2:59 PM
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
2014 Jul 06 5:07 PM
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.
2014 Jul 08 7:09 PM
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