Hi abapers menu exit how to create for a z program
hi all gurus,
i want to create an user exit , how to implement menu exit and customer exit in a z program plz let me know steps by step plz let me know
Hi ,
check out this .
http://sap-abapinfo.blogspot.com/2008/06/short-tutorial-on-user-exits.html
regards
Prabhu
Similar Messages
-
How to create a module pool program
Dear Guru
I want to know know how to create a module pool program from se80 step by step. I want to know the steps where i will get the four includes like form routines, PAI, PBO, and global data please its very urgent.
Thanks & regards
Saifur Rahamanhi Saifur Rahaman,
goto se80 then click find program,
next u want any name of the program enter as,
Attribute type as find Module pool click it.
next u want any package and save and activate.
program name with create screen with any number then
click layout and u want any object and save , actived.
click flow logic , four types as PBO and PAI and POV, POH.
PBO---> Trigger is before screen.
its applied for display screen and inactive or no display screen only
PAI--->Trigger is after screen
when u want button then its processed.
POV--> Value requested for F4.
POH-->Help requested for F1.
Reward if useful,
S.Suresh. -
How to create a ztable using program?
Hi ,
How to create a ztable using programs for SQL database?
Can anyone plz explain it with a program!
Thanks in advance.hi,
Your purpose can be achieved through BDC programming too..
data:
t_bdcdata type table of bdcdata with header line.
start-of-selection.
perform bdc_dynpro using 'SAPMSRD0' '0102'.
perform bdc_field using 'BDC_OKCODE'
'=ADD'.
perform bdc_field using 'RSRD1-TBMA'
'X'.
perform bdc_field using 'RSRD1-TBMA_VAL'
'ztable_demo'.
perform bdc_dynpro using 'SAPLSD41' '2200'.
perform bdc_field using 'BDC_OKCODE'
'=CHANGE_MAINTFLAG'.
perform bdc_field using 'DD02D-DDTEXT'
'Ztable'.
perform bdc_field using 'DD02D-CONTFLAG'
'A'.
perform bdc_field using 'DD02D-MAINFLAG'
'X'.
perform bdc_dynpro using 'SAPLSD41' '2200'.
perform bdc_field using 'BDC_OKCODE'
'=DEF'.
perform bdc_field using 'DD02D-DDTEXT'
'Ztable'.
perform bdc_field using 'DD02D-CONTFLAG'
'A'.
perform bdc_field using 'DD02D-MAINFLAG'
'X'.
perform bdc_dynpro using 'SAPLSD41' '2200'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'DD02D-DDTEXT'
'Ztable'.
perform bdc_field using 'DD03D-ROLLNAME(01)'
'mandt'.
perform bdc_field using 'DD03D-FIELDNAME(01)'
'mandt'.
perform bdc_field using 'DD03P-KEYFLAG(01)'
'X'.
perform bdc_field using 'DD03P-NOTNULL(01)'
'X'.
perform bdc_dynpro using 'SAPLSD41' '2200'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'DD02D-DDTEXT'
'Ztable'.
perform bdc_field using 'DD03D-ROLLNAME(02)'
'S_CARR_ID'.
perform bdc_field using 'DD03D-FIELDNAME(02)'
'carrid'.
perform bdc_field using 'DD03P-KEYFLAG(02)'
'X'.
perform bdc_field using 'DD03P-NOTNULL(02)'
'X'.
perform bdc_dynpro using 'SAPLSD41' '2200'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'DD02D-DDTEXT'
'Ztable'.
perform bdc_field using 'DD03D-ROLLNAME(03)'
'S_CONN_ID'.
perform bdc_field using 'DD03D-FIELDNAME(03)'
'connid'.
perform bdc_dynpro using 'SAPLSD41' '2200'.
perform bdc_field using 'BDC_OKCODE'
'=SE13'.
perform bdc_field using 'DD02D-DDTEXT'
'Ztable'.
perform bdc_dynpro using 'SAPLSPO1' '0300'.
perform bdc_field using 'BDC_OKCODE'
'=YES'.
perform bdc_dynpro using 'SAPLSTRD' '0100'.
perform bdc_field using 'BDC_CURSOR'
'KO007-L_DEVCLASS'.
perform bdc_field using 'BDC_OKCODE'
'=TEMP'.
perform bdc_field using 'KO007-L_AUTHOR'
'SAPDEV02'.
perform bdc_dynpro using 'SAPMSEDS' '0050'.
perform bdc_field using 'BDC_OKCODE'
'=SICH'.
perform bdc_field using 'DD09V-TABART'
'APPL0'.
perform bdc_field using 'DD09V-TABKAT'
'0'.
perform bdc_field using 'ALLOWSTATE-NOT_ALLOWED'
'X'.
perform bdc_dynpro using 'SAPMSEDS' '0050'.
perform bdc_field using 'BDC_OKCODE'
'=BACK'.
perform bdc_field using 'DD09V-TABART'
'APPL0'.
perform bdc_field using 'DD09V-TABKAT'
'0'.
perform bdc_field using 'ALLOWSTATE-NOT_ALLOWED'
'X'.
perform bdc_dynpro using 'SAPLSD41' '2200'.
perform bdc_field using 'BDC_OKCODE'
'=WB_ACTIVATE'.
perform bdc_field using 'DD02D-DDTEXT'
'Ztable'.
perform bdc_dynpro using 'SAPLSEWORKINGAREA' '0205'.
perform bdc_field using 'BDC_OKCODE'
'=WEIT'.
perform bdc_dynpro using 'SAPLSPO1' '0300'.
perform bdc_field using 'BDC_OKCODE'
'=NO'.
perform bdc_dynpro using 'SAPLSD41' '2200'.
perform bdc_field using 'BDC_OKCODE'
'=WB_BACK'.
perform bdc_field using 'DD02D-DDTEXT'
'Ztable'.
perform bdc_dynpro using 'SAPMSRD0' '0102'.
perform bdc_field using 'BDC_OKCODE'
'=BACK'.
perform bdc_field using 'RSRD1-TBMA'
'X'.
perform bdc_field using 'RSRD1-TBMA_VAL'
'ZTABLE_DEMO'.
call transaction 'SE11' using t_bdcdata..
form BDC_DYNPRO using value(p_program)
value(p_num).
clear t_bdcdata.
t_bdcdata-program = p_program.
t_bdcdata-dynpro = p_num.
append t_bdcdata.
endform. " BDC_DYNPRO
form BDC_FIELD using value(p_fnam)
value(p_fval).
clear t_bdcdata.
t_bdcdata-fnam = p_fnam.
t_bdcdata-fval = p_fval.
append t_bdcdata.
endform. " BDC_FIELD
Thanks
Sharath -
GGB1 Substitution by exit : how to create a new exit ?
Hi,
I create a substitution by exit, and I want to use a new exit, please how to create a new exit (transaction or IMG path) ?
Regards.
Moderator: Please, search SDNCCopy the contents of one and paste it into the other. Or duplicate the first project and then paste the contents of the second.
-
How to create a set up program for my Java application
Can some one please tell how to create a Setup for my Java Application
Thanks for your reply.
But still if you could have answered my query it would have been of a little more help for me, as I am quite new to any of these kinds of forum.
Still thanks a lot for the reply. -
How to create Spool through ABAP program
How to create spool request for Smartforms through program. So I can go in TCODE SP01 and see the output of my smartforms.
Include the below code in ur program .......
DATA: PRINT_PARAMETERS TYPE PRI_PARAMS,
VALID_FLAG TYPE C LENGTH 1.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
IMMEDIATELY = 'X' "C_IMMEDIATELY
*LAYOUT = 'Z_48_144'
*LINE_COUNT = '48'
LINE_SIZE = '255'
*NEW_LIST_ID = C_NEW_LIST_ID
NO_DIALOG = 'X'
RELEASE = 'X'
IMPORTING
OUT_PARAMETERS = PRINT_PARAMETERS
VALID = VALID_FLAG
EXCEPTIONS
ARCHIVE_INFO_NOT_FOUND = 1
INVALID_PRINT_PARAMS = 2
INVALID_ARCHIVE_PARAMS = 3
OTHERS = 4 .
G_PDEST = PRINT_PARAMETERS-PDEST.
NEW-PAGE PRINT ON PARAMETERS PRINT_PARAMETERS
NO DIALOG.
List of write statements to be output.......
NEW-PAGE PRINT OFF.
Reward if useful.............. -
Menu component - how to create link to page?
Hi all,
I have a question about the built-in Menu component. I am trying to use the Menu component to build a navigation menu - this means that the menu items must be links to other pages in my portal. And this is what I have trouble with - I cannot get a menu item to be a link to another page.
A Menu item has a link type and a link; the available link types are <none>, "link", "component" and "URL", but neither of them solve the problem. The url/link that I want to put in is of the type /pls/portal/url/page/mypage i.e. its a relative url to a page (without host:port/dad, etc) so that it could be deployed in the QA or PROD portal. The various link types interpret this relative url as follows:
- link: gives error "component does not exist". Is there perhaps a way of refering to my page so that it looks like a component?
- component: this one looks good i.e. the url that shows in the browser status bar seems correct (it prepends the host:port/dad, etc). The problem is that it actually sends the html with all "/" characters replaced by "%2F", which the browser then balks at. So its very close, but not quite. Is there a way to get the real characters (/) instead of "%2F"?
- URL: This one doesn't do the "%2F" story, but it does not prepend the URL with the host:port/dad, etc so it also does not work. Note that if I add host:port etc to the link of the menu item it works fine, but then I have a problem with deploying this to another portal which is a real showstopper. Or is there another way to not hardcode host:port etc.?
- <none> behaves the same as component.
Help please...
Regards.
Anton.
Portal 9026Hi Jeremy,
Thanks for a very interesting read - I have some additional questions:
- Where do you change the host/port before going to production? Do you edit the "transport set"? This made me think - I'm now going to look for it in metadata - it has to be stored in some table...
BTW our "deployment" consists of essentially copying the complete iasdb (4 schemas) over to the QA/PROD instance! After reading a massive (confusing) doc AND reading all the complaints in the exp/imp forum we also decided its just not worth the pain!
And yes we also have strictly manual procedure for keeping production in sync with dev!
Cheers.
Anton. -
How to create for loop USING a while loop
Hi, I would like make a for loop inside of a while loop because I want to control the i count of the loop, and overall, more control over the loop. From what I understand, labVIEW's for loop doesn't let me change where the i count starts. It always start at i=0, and what I want to do is be able to jump to specific loop iterations and then continue from there.
Thank you.That is not the same as the earlier examples.
If you want 10 counts and start at 0, then the stop terminal will stop after 10 times. Just like you get when you wire 10 into the N terminal and don't have a conditional loop.
If your start value is larger, let's say 9, then your loop will only run 1 time because i=0 on first iteration + 1+ 9 (start value). 0 + 1 +9 = 10.
If your start value is larger than 10, then it will run 10 times again because on the intial iteration the result of your comparison is already greater than 10 and won't stop, and will never be equal on later iterations.
So your example does not even give consistent results depending on the value you use as the start value.
(Just to note, my earlier examples may not all be identical results as I didn't try to verify all the stop conditions nor the array that is output by the ramp function. I could be off by one iteration here or there. But they should be good enough to point out distinctive ways to accomplish what the OP asked for.) -
How To create a Buffer Application Program in LabVIEW?
Dear all:
Can someone advise me on how to implement a buffer application for LabVIEW.
Basically I have 2 application programs than run continously in paralell.
1) LabVIEW Data Logging & Plotting Program. It takes 90 ms to excute its code
2) C++ Data Acquisition Program. It Samples the data from a Reflective Memory Card (on the PCI bus of my PC)
at 1ms and creates a Buffer where it store one sample per channel every 1 ms.
I know LabVIEW have the Code Interface Node to call a C program but since both (The LabVIEW and the C) are runing (one slower than the other) in Parallel I need to somehow interrupt the C program from LabVIEW and get from it the data that it as collected so far.
Any suggestio
n will be highly appreciated. I attach txt file with a little more description of the problem.
Thank You very much.
Felix Beltran
ALSTOM Power Conversion.
U.K
Attachments:
NI_SW_Buffer_Question1.txt 2 KBHi Felix,
The best architecture for this application would be to have the C++ program divided into two threads. One thread is continuously acquiring data and placing it in a queue. The other "handling" thread will read data from the queue and serve it up to your LabVIEW application.
Much better than using the Code Interface Node, build the C++ application into a DLL. You can then call a function from your LabVIEW program to start the acquisition, and then calls to the handling thread function will return data to LabVIEW.
I hope this helps.
Regards,
Phil R
Applications Engineer
National Instruments
http://www.ni.com/support -
How to create a procedure using program unit
Hai All
Ii have created a procedure like this
PROCEDURE Duty_calc
IS
procedure w_Time
is
begin
update dail_att set wtime= (select lpad((to_number(to_char(outtime,'hh24mi')-to_char(intime,'hh24mi'))),4,0) from dail_att where attend_date=f_date);
end w_time;
begin
if wtime >0830 then
update dail_att set etime= (select lpad(wtime-0830) from dail_att where attend_date=f_date);
else
null;
end if;
duty_calc;
end duty_calc;
And i have declare in the program unit as Duty_calc and while i am executing my procedure i had an error
is it must i need to declare a my inner procedure in my program unit
Regards
Srikkanth.Mthe same question you asked 2 month ago and same mistake you are doing
- Procedure name can only be one.
- Count proper BEGIN ENDs
PROCEDURE Duty_calc
IS
BEGIN
begin
update dail_att set wtime= (select lpad((to_number(to_char(outtime,'hh24mi')-to_char(intime,'hh24mi'))),4,0) from dail_att where attend_date=f_date);
end;
begin
if wtime >0830 then
update dail_att set etime= (select lpad(wtime-0830) from dail_att where attend_date=f_date);
else
null;
end if;
end;
END; -
Problem in writing a code MENU EXIT.. it is asking for access key.
Hi,
I have a problem in creating a menu exit.
while am creating a menu exit i went to CUS to write code but it is asking for Access Key..
could anybody help me regarding this..??
Thank you,
Praveen Dubasi.Is the address on your iTunes account exactly the same (format and spacing etc) as on your credit card bill : http://support.apple.com/kb/TS1646 ? If it is then you could try what it says at the bottom of that page :
If the issue persists, contact your credit card company and verify that they and any company they use to process credit card authorisations have the correct information on file.
And/or try contacting iTunes support : http://www.apple.com/support/itunes/contact/ - click on Express Lane, then iTunes > iTunes Store -
How to create the BOM for co product
Dear friends,
How to create the BOM for Co product and How the production will create and how the costing will capture for that.
Regards,
Sabhapathy RDear Umesh,
How Bom created for co product
By product
Header
xxx
101
mvt
mvt
qty
item
yyy
261
1
zzz
531
0.5-
By product
Same way how we create co product for BOM. pl explain with simple example.
Thanks ®ards,
Sabhapathy R -
How to create the subtitle for video
I have been working on the editing and was wondering how to make the subtitles into it? Can some one recommend a easy software to use? Thank you.
Dear Umesh,
How Bom created for co product
By product
Header
xxx
101
mvt
mvt
qty
item
yyy
261
1
zzz
531
0.5-
By product
Same way how we create co product for BOM. pl explain with simple example.
Thanks ®ards,
Sabhapathy R -
Is JVM created for each program?
I tried running the following command
java -xxx somejavaclass
(I know this option is not a valid one...Just tried it:-))
and got the following output:
Unrecognized option: -xxx
Could not create the Java virtual machine.
What I want to know is "Is the JVM created for each executed program?"
What does the error statement "Could not create the Java virtual machine" mean?For every valid invocation of java (and javaw, etc) an instance of the jvm is created.
The message means it didn't do that. -
How to add javaprocedure as Concurrent program in oracle apps environment.
Hello everyone,
please accept my apology if iam asking question in a wrong fourm.and guide to correct forum.
I have a javaprocedure.now i need to register it as a concurrent program in R11 apps env.
so,in the executable name i have a confusion ..that, should i have to give the function name or the java class name.
can anyone who registed a javaprocedure in apps evironment...give some idea please .java class name (case sensitive)
How to register and execute Java Concurrent Program ?in Oracle Applications R11i ? [ID 186301.1]
How To Create a Java Concurrent Program? [ID 827563.1]
Maybe you are looking for
-
How to bypass the parameter prompting screen?
Hello, We are passing parameters from java code using the ParameterFieldController.setCurrentValue method. However, even though all parameters required by a given report are informed, when we try to generate a report, a prompt screen is systematicall
-
Can we have the same iCloud account for 2 Macs, 2 iPhones and an iPad?
My partner and I each have an iMac and an iPhone, and we have an iPad which we both use. It suits us to have a single iCloud account because we share all calendars and contacts. However, we're about to upgrade our iPhones and I've read that if both t
-
Error while creating CVC manually in SCM 7.0
Hi Experts, We have recently upgraded to SCM 7.0 sandbox and while creating a new CVC manually in this , we are getting the following strange error: Internal Error /SAPAPO/SCMB_PSTRU_PLOB_TEMPL=>RAISE_EXCEPTION_FRO Message no. /SAPAPO/SCMB_PSTRU000 W
-
Slow to create Organiser Catalog & Thumbnails in Photoshop and Premiere?
This is a newbie question ... I tried to find an answer, however most posts seem to be about specific issues. Background I have just upgraded my PC to an intel quad processor (6600), new motherboard, 4gb DDR 800mhz ram, 512mb geforce video card and n
-
Comparision problem while playback,gives warning message. We have to enter a name for a file.When we play back gives warning message as the file name already exists.How to handle this. Thanks in advance.