Regarding screen flow logic
The modules that we write either in PBO or PAI block , are called by the run time environment on the basis of user action or whether they are called in a order in which we have written these modules ?
Thanks Mansoor .
"Conditional Module Calls
Simple module calls are processed in the sequence in which they appear in the screen flow logic. " This statement I found in SAP help link
http://help.sap.com/saphelp_nw04s/helpdata/en/9f/dbabbd35c111d1829f0000e829fbfe/content.htm
So im confused whether the modules are called on the basis of the sequence in which they occur or whether they are called on the basis of user interaction .
Similar Messages
-
Selection screen flow logic change not taking affect. Please help!
Hi
When I am trying to change the selection scren flow logic I get the following message:
Selection screen: Report generation makes screen changes ineffective.
Whatever I am changing is not taking affect in runtime.
Even though I have activated the changed code for the screen
What shall I do resolve this?
Thanks
GopalYou should not be changing the screen flow logic of a standard selection screen 1000. It will always be regenerated. In order to modify the standard selection screen, you can do this in the AT SELECTION-SCREEN output event and loop at screen and change the attributes.
Loop at screen.
if screen-name = 'P_CHECK'.
screen-input = '0'.
modify screen.
endif.
endloop.
Regards,
Rich Heilman -
Regarding the flow logic in screen painter
Hi Experts
I am a BW guy and i am new to ABAP and i need your help to solve my problem.
I have created a table for master data(zemp_data) in R/3 se11..which has fields like zempid,zempname,zmgrid,zdeptid,zdeptname and i have created the respective fields in screen painter too but my problem is i dont know how to link this fields in the screen painter to the fields in table .to be more clear i want the flow logic or module pool code to link this table when i give an entry in the screen painter for the respective fields..i will really appreciate your answers and award the maximum points for the usefull answer ..as i dont know ABAP much if it is a step by step approach ..that would be helpfull
Regards,
RK.Hi Karthik,
Please consider the following
In the screen...the fields must be from the database table in Se11..(in screen painter -> use.."get from Dictionary" -> enter the table name -> select the fields -> drag and drop on the screen) or must have the same name in the database table..This will be a link but unless you code to fetch values from database or update values to database there will be no action taking place
Usually in the PBO(process befor output) we write the code to display values before we accept data from the user ie,set default values on the screen if required and prepare the screen for user input
in the PAI of the screen painter we can do data processing ie, data validations,checks and saving based on what the user wants
So imagine you have buttons placed on the screen and there are buttons from standard application bar like BACK,SAVE, set using PFstatus..all the user actions will be linked to a function cod..ie whenever user presses a button we can uniquely idntify what was pressed by assigning a function code to each button in the menu painter or PF status and do the action accordingly
Assume that you have created a push button on the screen painter and assigned it a function code "PUSH"
so whenever you press the button in the variable sy-ucomm "PUSH" will be captured..this you can check in PAI for the screen like
Case sy-ucomm.
when 'PUSH'.
do the needful coding
when 'SAVE'
Modify database table
endcase.
you can check the standard demo programs in SE38 -> program name-> display for basic ABAP coding you have asked for
(1)demo_dynpro_input_output .
(2)demo_dynpro_dictionary
(3)demo_dynpro_push_button
Pls let us know if you need more help on the same
Reward if helpful
Regards
Byju -
Regarding screen flow in MODULE POOL
Hi everyone,
my requirement is to cretae a module pool program. In between a program is submitted VIA a selection screen. That selection screen contains PUSH BUTTONS. If any push button is clicked one of the dialog screens of the module pool program should be called. Can any one tell me how can this be done.
Thanks in advance.
Regards,
Y.Gauthamwrite a Module in PAI of ur screen and call which ever screen u want to call or leave.
for e.g -
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100.
module USER_COMMAND_0100 input.
case ok_code.
when 'ENTER'.
clear ok_code.
leave to screen 200.
endcase.
endmodule. " USER_COMMAND_0100 INPUT -
hi guys,
Can somebody tell me wht are the OK_CODES used for particular Screen name and Screen number.
Scrname : SAPMV45A
Scrnumber : 101.
I need to compare BDC flow between 46C and E47 version. I dont have necssary Screen data to be used to check the flow of the screen.
So is there any other way to find both the flow of screen is same or not.
Suggestion please.
Thanks.
Baasha.hi Varaprasad,
Thanks for your reply.
I have few list of transaction codes and BDC flow where i want to compare with
New(enterprise systems). This is my problem.
I dont have any source data in my system to write SHDB and check.
So i am just wondering if any FM exists like RS_CUA_GET_STATUS.
But it fetches only for screen names not for Screen numbers.
Thanks.
Baasha -
Hi.
I need some help. I've never worked with screens until now.
I have created a custom field in tab Basic Data 1 in t-codes MM01/MM02/MM03 ; also i have created a field in MARA table.
When i make some changes to this field in MM02 or when i want to add new text to this field the value it's not saved in MARA table. More, in MM02 if i write some text in this field, and if go to tab Basic Data2, when i return to tab Basic Data 1, this field is cleared (field has no value, is empty).
And , in MM03 (display mode) all fields except this customer field are disabled (grayed).
So, how to solve this problems?
Please someone help me.
Thanks in advance.Hi,
You need to handle the custom fields in PBO and PAI of the screen exits. There are customer exits available in PBO and PAI of that screen. Write your code in these exits.
Thanks,
Vinod. -
Get the trigger module field in screen flow logic.
HI ALL,
CHAIN.
FIELD F1.
FIELD F2.
FIELD F3.
FIELD F4.
MODULE CHECK ON CHAIN-REQUEST.
ENDCHAIN.
In check module, i want to get the field which trigger the modlue.
Thanks and Best regards,
Ivy.Hi,
It is not possible to know which field triggered that module, if you want to know
exactly which field triggered then remove chain ... endchain. and maintain seperate
module for each field if you want to know exactly which field triggered otherwise
chain..endchain will do.
Regards and Best wishes. -
Validate user input with the screen flow logic.
Hello guys, im facing some troubles with the following code
field mara-matnr SELECT *
from mara
into table itab_mara
where matnr = mara-matnr
and matnr = mara-matkl
WHENEVER NOT FOUND SEND ERRORMESSAGE 107
WITH mara-matnr .
the editor doest recognize this code in PAI., is the same with VALUES clause.
what im doing wrong ? . thank you very mch.Hi,
Please check code in where condition. Is the condition is right?
field mara-matnr SELECT *
from mara
into table itab_mara
where matnr = mara-matnr
and matnr = mara-matkl
WHENEVER NOT FOUND SEND ERRORMESSAGE 107
WITH mara-matnr .
MATNR is comparing with MATNR and also MATKL.
When you are doing the valiation make sure that use the chain and endchain stamt.
PAI
CHAIN:
MODULE VALI_DATA.
END CHAIN.
Like above do the code. -
Hi all,
which logic ale is using to upload data? like bdc is using screen flow logic, ale?
L.Veluhi,
the following thread may help you out
ale
reward points if useful
regards,
pavan -
How to batch download the elements and flow logic of screen
hi,all
i am doing programs transfer without using transport request.
it is easy to download simple reports,includeing code, text etc.but how can i deal with reports with customed screen.
for example, i have to download the elements and flow logic of screen 100 in a report. also, i need to upload in another server.
i need you help!
thanks
Regards
LTHi,
There are lots of utilities to do this. just search forum and you will be able to find the one.
Regards,
Atish -
Flow Logic jumping to HTML Template (with SAP dialog) & back again
Hello
Overview
========
Within a HTML Template that uses flow logic, can I call a HTML Template that has SAP dialog behind it. The SAP dialog is a function module that has a screen requesting user input and then follows on to display selection based on user input. The user can then select a value that I would like returned to the flow logic screens. Just like an F4 help.
Detail
======
This is for SRM (EBP):
-Internet Service: BBPATTRMAINT
-Theme: 99
-HTML Template and flow logic: MAINTAIN_ATTRIBUTES
Basically I want to give the user more functionality and be able to select addresses using an F4 type scenario.
The function module I want to call is as follows:
CALL FUNCTION <b>'F4IF_FIELD_VALUE_REQUEST'</b>
<b>EXPORTING</b>
TABNAME = 'ADRC'
FIELDNAME = 'ADDRNUMBER'
SEARCHHELP = 'BBP_ADDR_BUPA_BUYER'
SHLPPARAM = 'ADDRNUMBER'
DYNPPROG = 'BBP_ADDR_MAINTAIN'
DYNPNR = SY-DYNNR
DYNPROFIELD = 'BBP_PARTNER_ORG-ADDR_SELECTED'
CALLBACK_PROGRAM = 'BBP_ADDR_MAINTAIN'
CALLBACK_FORM = 'PRESET_COMPANY_PARTNER'
<b>TABLES</b>
RETURN_TAB = IT_RETVALUES
<b>EXCEPTIONS</b>
FIELD_NOT_FOUND = 1
NO_HELP_FOR_FIELD = 2
INCONSISTENT_HELP = 3
NO_VALUES_FOUND = 4
OTHERS = 5.
This displays a screen for the user to better define search criteria and follows on to display possible selections. The user selection is returned in IT_RETVALUES.
If anyone knows of a similar SAP example where they go from flow logic to HTML templates then that would help a lot.
Any help or direction would be greatly appreciated.
Regards
PeterHey Orcasound, welcome to the forum, and also welcome to Logic.
Nice setup BTW, especially the Dangerous 2BUS into the BC1 coming back to the Rosetta 800"s, that gonna sound sweet mate.
OK Q1: The master fader for output 1-2 is always gonna be there, I've never found a way of getting rid of it, you can fortunately set up the mixer so that it won't show though. At the top of the mix window is a heap of boxes highlighted in blue, all you need to do is deselect the master and the output as per this screen shot:
Save this in your template and you'll never have to see those pesky faders again.
Q2: Same thing really, logic will always show 1-2 output as stereo out. Which is annoying, even if you manually name them from the I/O labels window it's always stereo, everything else if fine apart from 1-2. To be honest I've just learned to live with it.
Glad you made the switch, I find DP to be bloated and a bit tired nowadays. -
Using loop statement in screen flow
Hi Friends,
I have been working on the Module Pool for the last two weeks. But Iam unable to get the main difference between
the " LOOP WITH CONTROL TABCON " and " LOOP AT ITAB WITH CONTROL TABCON CURSOR TABCON-CURRENT_LINE ".
Please make me clear on this issue.
Thanking you in advance,
Regards,
Murali KrishnaThis is copied from sap documentation
link:[Table Controls in the Flow Logic|http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbac5135c111d1829f0000e829fbfe/frameset.htm]
LOOP WITH CONTROL ctrl.
ENDLOOP.
These statements create a loop pass through the step loop rows displayed on the screen.
For PAI, they transfer the data of each group into the identically-named fields of the ABAP program or, vice versa,
for PBO from the ABAP program into the step loop fields.
In the LOOP-ENDLOOP loop, you can call modules that process the transferred data and for
PBO read from an internal table, or for PAI import into an internal table.
LOOP AT itab [INTO wa] WITH CONTROL ctrl.
ENDLOOP.
This statement assigns an internal table itab of the ABAP program to the table control and
triggers a parallel loop run over the table control rows displayed on the screen and over the internal table itab.
The additions INTO and WITH CONTROL are possible at the time of PBO, but not at PAI.
The assignment of the loop to the table control takes place at PAI through the internal table.
Using the INTO addition, the fields of the internal table itab are written to the work area wa at the time
of PBO and the content of wa is transported, line by line, to the identically-named fields of the table control
on the screen. Without the INTO addition, you must use an internal table with a header line.
Then the content of the header line is transported line by line to the
identically-named fields of the table control on the screen at the time of PBO.
No module is required for filling the table control rows.
Conversely, at the time of PAI, the internal table rows are not automatically
filled with the contents of the table control rows. Instead, you must call a
dialog module within the loop that modifies the table. -
Hi Friends,
I created the sales order using VA01 and enter the payment terms and saved. But mu requirement is when i go through VA02, payment terms field must be in display mode. So, user not able to chage the payment terms value.
Please give exact solution with Screen exit name and modifications.
Thanks in advance
Regards
Govind.Hi,
The SAPMV45A , 8309 screen is the Additional Data B tab providded by SAP to add your custom fields . In order to capture the data from this custon field you can use
the user exit MV45AFZZ, USEREXIT_SAVE_DOCUMENT_PREPARE OR
USEREXIT_SAVE_DOCUMENT depening on your functionality.
If you include the field MGANR as a part of the VBRK /VBRP structure then these will be available.
step by step method to implement screen exit:
Screen exits add fields to screens in R/3 applications. SAP creates screen exits by placing special subscreen areas on a standard R/3 screen and calling a customer subscreen from the standard screens flow logic.
the tcode is cmod...
1.From the main screen of the Project management transaction, proceed as follows:
Select Enhancement components and choose Change.
2.Choose Edit component.
3.Choose the screen exit and double click on it
4.Create your subscreen using the Screen Painter.
5.Design your screen to be added to the standard screen and activate the particular screen and return back to the flow logic .
6.Choose the PAI and PBO to write down the logic.
7.Generate your screen and choose Back (the green arrow) to return to the Project management transaction.
8.Go to the transaction ME22 to view the customer defined screen exit.
9.Enter the purchase order number and press Enter.
10.Go to the menu header --> Details.
11.Purchase number is visible on the standard screen
Regards -
Where to copy the codes for flow logic?
Hi.
I know that SE37 is to access the source code for function modules,
and SE38 is to access the source codes for programs/reports.
Does anyone know where I could get the codes for the<b> flow logic of the dialog screens</b> called by my programs?
Thanks.Hi,
SE80 transaction
Select program in drop down & enter the program name
Best regards,
Prashant -
after I have done table maintence,what can I do for adding flow logic module?
for example,one field value in the table requires anoter table's value calculation,who can tell me the method?
thanks a lot!Hi
SE11->Utillities->table maintainence generator
You need to enter the values of following fields:
1. Table name
2. Authorization group , and authorization object (select the suitable one )
3. Function group and package
4. Maintainence type : single or double screen maintainence view depending on the option selected.
5. Maintain screen number : you may specify a value or let the system generate one for you.
The validation code for the table entry is written in the flow logic of this screen. Even some of the fields may be made display only , by adding suitable code in the logic or directly disabling the input in table control in the layout.
>> Activate
Check these links for more information which will be very usefull for u
http://help.sap.com/saphelp_nw04/helpdata/en/16/4b3c8c170e11d6999d00508b6b8b11/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/content.htm
http://sap.ittoolbox.com/groups/technical-functional/sap-dev/adjusting-table-maintenance-134547
Regards
Pavan
Maybe you are looking for
-
I have an iMac and MacBook Pro, both running Snow Leopard at current maintenance levels. I have an HP8500 printer connected via wi-fi. All have been working well until just recently. Now, the iMac cannot communicate with the printer. The printer icon
-
hello experts, I hv installed EP7 SP13 and configured ess/mss in the same system. The problem is when i restart the system jcontrol in the console is getting stopped. But if i ON or ENABLE the safe mode in configtool and then try to restart, the syst
-
Images are not reflecting in Multi Level Menu
Hi, i am facing some problem in the Multi Level Menu. i have created a book in my portal application. For the "Main Page Book" i am setting "Multi Level Menu" For the Book with in the menu, i am setting "No Navigation"(to avoid the sub pages displayi
-
HT1338 connect my monitor to my MacBook Air Help?
I bought a Mini DisplayPort to VGA Adapter so that I could connect my HP L1710 monitor to my MacBook Air. They are now connected and the HP monitor shows only my desktop, not my tool bars, nor the windows I have open on the MacBook Air. Help???
-
ITunes crashing after latest version upgrade
I have a 64-bit Windows 7 laptop. I installed the latest version of iTunes (10.5.1) for 64-bit machines and now I get blue screen every time I open iTunes. Is anyone else having this issue? If so, any solutions? Thanks!