Program without selection fields
Hi ,
If there is a program with no selection fields what are the limitations and issue concerning to that program and executing the program?
Regards,
Keerthi
Hi,
Thanks for the reply,
But I would like to put the question in another way,
Is there any program where it does not have anything like the screen but just run in the background. If the program has a screen created then it should have something to select for like the Radio button options, the check box options or the open selection fields. I hope you are with me till this point.
Now, does any program can be created just to be run in the background where it is triggered by another program(s), and the program does processing only when it is being triggered by other programs.
Regards,
Keerthi
Edited by: Keerthi Kumar Stephen on Mar 9, 2009 9:42 AM
Edited by: Keerthi Kumar Stephen on Mar 9, 2009 9:43 AM
Similar Messages
-
How to create a variant for a program without selection screen
Hi All,
I've created one program which takes the data from 30 tables and loads into one final table.
This program is already moved to Production.
But while creating variant it's not allowing, since the program doesn't have the selection screen.
Is there anyway where I can create a variant in production without selection screen directly as the program code is already moved to production.
Thank You,
Regards,
Karthik.ChHi ,
Are you running this program in a process chain?? -
Submit Program without Selection-Screen
Hi,
I am submitting the SAP Standard program, which contains selections screen.
i am passing values to standard program using via-selection screen.
Is there any way to suppress / skip the selection-screen what is appearing after submit
Thanks
UmaHi,
use like this...
call transacton 'Tcode' and skip first screen.
Regards
kiran -
HR - dynamic selections field name and field value in the program
HI all,
I am using dynamic selections for a HR report.
I have created a view with 20 fields and added it to HR report category ___00003(All fields suppressed).
I need to check these fields in the program. But i am not able to get the field name and value in the program for dynamic selections fields.
Please let me know how to get the field names and values in the program for dynamic selections .
Thanks,
Kranthi.You have to read the itab <i>pnpdynse</i> in your Program to obtain the Dynamic Selection values. This itab has a deep structure.. you can set a break point in one of the events before <b>get pernr</b> & in the debug mode, you will able to display the itab <i>pnpdynse</i>.. you can then identify how to get the values into your code..
~Suresh -
Customizing user selection fields of Logical database PNP
Dear Gurus,
I had made a z-copy of payslip program for incorporation of Logo. Now we need to put this report in Enterprise Portal (EP). Now since we would not want any user to view any other person's payslip, I need to disable the selection field (PERNR) for user selection.
Problem is this field for user selection is coming from standard Logical Database (LDB - PNP) used in the program. So how can I make this field hardcoded as sy-uname and non-modifiable without making z-copy of LDB-PNP.
Also I wish to harcode Payroll Area writing some code (from table PA000) but again I cannot write this in std. PNP LDB and writing it in driver program will not help.
Thanks in advance.
Regards,
AmitWrite the highlighted coding in initialization ...
initialization .
select single pernr from pa0105
into pernr-pernr
where usrid = sy-uname.
if sy-subrc = 0.
PNPPERNR-sign = 'I'.
PNPPERNR-option = 'EQ'.
PNPPERNR-LOW = pernr-pernr.
Append PNPPERNR.
endif.
loop at screen.
if screen-name = 'PNPPERNR-LOW' or
screen-name = 'PNPPERNR-HIGH'.
screen-input = '0'.
endif.
modify screen.
endloop.
at selection-screen output.
loop at screen.
if screen-name = 'PNPPERNR-LOW' or
screen-name = 'PNPPERNR-HIGH'.
screen-input = '0'.
endif.
modify screen.
endloop. -
Ebiz 12.0.4 Mouse stops selecting fields in Forms
We have a real obscure issue, Oracle and our ASP is unable to help us. After upgrading from 11.5.9 to 12.0.4, we noticed the following issue.
After some time when a user is in EBIZ (most of the time happens in Support or OM responsibility) the form will stop taking clicks from the mouse, and you have to use your TAB key to navigate between fields. Clearing Java cache and IE cache doesn't seem to help.
Our ASP has done all the usual thigns, recompiled forms, check invalids, we upgraded clients to JRE 1.5.0.16, but no luck.
At one point, we thoguht that other Java enabled applications were interfering, so I set some key users up with their own Windows XP virtual machine. The virtual machine works for some time without issues, but then the issue starts again.
If users restart their machine, they can use it again for a few days and then it happens again.
Some users said it stopped happening, but then after a few weeks it happens again.
We noticed this also in the Concurrent Program submission application, and various users noticed it in Finance, OM, Service, etc.
Is there anything anyone can suggest from this list? Feel free to email me directly if you like. My email address is [email protected]Thanks Hussein, our ASP came back with those same articles, however the issue as we explained it is not a focus issue, it is mouse disconnect issue, i.e. it is like you unplug your mouse from the computer and try to use it to select fields. Only the TAB buton works to move around fields.
We have been through all the notes on Metalink and patches for Forms and JRE Upgrades and the issues still exist.
Is there any other way of troubleshooting this by way of logs and tracing to determine what is happening? -
Is it possible to display only dynamically selected fields in the out put?
Is it possible to display only dynamically selected fields in the out put? i need to display set of columns in the selection criteria, but in the output i have display only input given fields. because i need to convert it into .csv file. So i have to display selected fields from internal table. In oracle they are using"execute immediate". is there any equivalent in SAP?
thanks in advance.Hi Remya,
Are you talking about dynamic programming in ABAP ?
If yes, there are concepts like RTTS which facilitates it.
Yes, the select query also supports dynamic selection of fields. ( Please care about ( ) in dynamic sql ).
Do more research on Field Symbols and statements like ASSIGN COMPONENT OF.
Regards,
Philip. -
How to hide selection fields when using logical database PNP
hi.
i m using a logical database PNP and report catagory 1PY_DEF in my program.
but when i execute it , it shows to selection box. one name is period and second is selections.
but i just want to show only period box selection fields , not the selection box fields.
how it iz possible.HI,
In my case i haved used the PNP logical database..in the selection box i don't wnat to display Contorling area,Cost Center & Organizational Unit. i have written this code to hide those fields..
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-name CS 'PNPKOKRS' OR
screen-name CS 'PNPKOSTL' OR
screen-name CS 'PNPORGEH'.
screen-active = '0'.
screen-invisible = '1'.
MODIFY SCREEN.
CLEAR screen.
ENDIF.
ENDLOOP.
Try modify hide the total block instead of individual fields in that block. -
How to select multiple data without select options?
Dear experts,
I have a rquirement that i have a one selection screen and in that selection screen on date field is there which is parameter type. we using this parameter date field in the program for selecting data..after that i am using the logic to multiple value..now my requirement is how to select the data for multiple value..
PARAMETERS : SO_DATE TYPE SY-DATUM OBLIGATORY.
CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
EXPORTING
DATE = so_date
DAYS = 1
MONTHS = 0
SIGNUM = '-'
YEARS = 0
IMPORTING
CALC_DATE = so_date
l_cm_first+0(6) = so_date+0(6). " month & year
l_cm_first+6(2) = '01'. " date
l_cm_end = so_date.
my requirement is that how to use l_cm_first and l_cm_end multiple selection in select query ??
eg- i want to fetch the data from 1/8/2014 to 11/08/2014 using this field l_cm_first and l_cm_endl_cm_first+0(6) = so_date+0(6). " month & year
l_cm_first+6(2) = '01'. " date
l_cm_end = so_date.
after executing this line l_cm_first = 1/8/2014 and l_cm_end = 11/08/2014
now i have to select in this range how to do it? -
File Content conversion at the sender adapter without Key field
Hi All,
I have a requirement ....We are using Message Transform Bean at the sender adapter (we are not going for FCC as we are tranforming a decryption) ..its is a flat file...
we dnot have a key field for one of the node .....we have total 5 nodes under parent node and one of the node does not have key field ....
NOTE: I guess we have to do either Java mapping or XSLT ..but not getting proper weblogs with program...
and not well versed with coding...i got few codes which were either not fulfilling requiremment or they use stream tranformation where it is decaprecated in NWDS and does not allow to compile it properly .
Can somebody get me a code for Java which uses Abstract tranformation ...which can full fill below requirement
parent node
Node1
node 1a
node 1b
Node 2
Node 3
Input Flat file is in below format
example:
Employee Headre Flat files
Employee Detail Flat Files(this repeates numerous times as much as number of employees)
Employee Trailer Flat Files
Loan Headre Flat files
Load Detaisl Flat Files (this repeates numerous times as much as number of employees)
Loan Trailer Flat files
Assitance much appreciated thanks .
Regards
KiranHi Stefan,
I will rephrase the question i guess its communication gap...
1) we have an existing interface in 3.0..we are not copying the same interface to 7.1 as it was not according to standards and they are phasing out that system.
2) In 3.0 they are reading the Flat files under one record .. the structure is as follows:
Parent Node
Node
Row
They are reading all the flat files row by row.
and even in receiver they are reading in the similar fashion
3) In the current structure according to the FS we have to create a structure defined by them which is as below
Employee
Header
Details node 1
Details node 1a
Details node 1b
Trailer
Loan Header
Loan Detail
Loan Trailer
Receiver structure is
Employee
Node (this will have the receiver fields which is about 30 fields)
4) We have pulled a sample file from 3.0 for the existing interface as we din get the sample file for existing one in FS and Iam not sure whn are they gonna send it.
5) In the existing interface payload we have everything matching even the field lengths and postions and even key fields and key fields we got from the FS
6) problem is we donot have key fields for the Details node 1a and 1b even in FS or the existing payload and we got an update from the FS consultant that we will be receiving these fields but without keyfields...
see i donot have any problem taking out the details 1a and 1b out of the details header and create the structure ,,,,but the main issue is without key field we will not be able to generate the 1a and 1b nodes or read it in the FCC or MTB (i have to use MTB as we are decryting the file from the sender).
Or is there any other method apart from java mapping or module development to handle these files -
Can't use backspace in ncurses programs without using ctrl
Heya
Anyone know how to use the backspace in ncurses programs without the need to press ctrl? If I don't it just gives me "^?", I've tried setting "urxvt*backarrowKey: false/true" but it doesn't help.
Any help with this annoyance would be appreciated.Honken wrote:
Heya
Anyone know how to use the backspace in ncurses programs without the need to press ctrl? If I don't it just gives me "^?", I've tried setting "urxvt*backarrowKey: false/true" but it doesn't help.
Any help with this annoyance would be appreciated.
Just for the heck of it, try using the number 127 instead of KEY_BACKSPACE or what ever your'e using in your if statement or select statement. I would have thought it would be the number 08 which is the ascii code for backspace but that didn't work. Try it and see if it works. If it does, I'll let you know what steps I took to try and find it.
I used the numbers 13 and 27 in my program instead of KEY_RETURN and KEY_ESC, since neither of those worked. KEY_RETURN required a <shift><return> to work properly which is similar to your problem. -
My screen when I am using Safari suddenly fills my entire screen, and there is no right hand corner button to push to manually shrink it. What to do? I can never even exit the program without quitting it.This has happened only within the last two days.
Try changing the screen resolution.
Go to Apple Menu / System Preferences / Displays.
Change the resolution. Whatever numbers are shown, e.g. 1280 x 960, select a larger one. The larger the number, in the resolution the smaller the display on the screen. You can keep changing this till you find the resolution that suits you. -
Program without inner join..
hi frds...
i need help in the programming without using the inner join and views,
i want to take data from 2 different table without join and views, give some sample codes or links
it will help to us.
by
pari..
Edited by: Alvaro Tejada Galindo on Feb 22, 2008 12:18 PMHi pari,
This is the sample code 'for all entries'
in alv report.
TYPE-POOLS:SLIS.
DATA:BODY TYPE SLIS_T_FIELDCAT_ALV,
HEADER TYPE SLIS_FIELDCAT_ALV.
DATA:BEGIN OF ITAB OCCURS 0,
MATNR LIKE MARA-MATNR,
ERSDA LIKE MARA-ERSDA,
MEINS LIKE MARA-MEINS,
END OF ITAB.
DATA:BEGIN OF ITAB1 OCCURS 0,
MATNR LIKE MAKT-MATNR,
MAKTX LIKE MAKT-MAKTX,
END OF ITAB1.
DATA:BEGIN OF ITAB2 OCCURS 0,
MATNR LIKE MARA-MATNR,
ERSDA LIKE MARA-ERSDA,
MEINS LIKE MARA-MEINS,
MAKTX LIKE MAKT-MAKTX,
END OF ITAB2.
SELECT-OPTIONS:SMATNR FOR ITAB-MATNR.
PERFORM FETCH_MARA.
PERFORM FETCH_MAKT.
PERFORM READ.
PERFORM FIELDCATALOG.
PERFORM ALVDISPLAY.
*& Form FETCH_MARA
form FETCH_MARA .
SELECT MATNR ERSDA MEINS FROM MARA INTO TABLE ITAB WHERE MATNR IN SMATNR
endform. " FETCH_MARA
*& Form FETCH_MAKT
form FETCH_MAKT .
IF ITAB[] IS NOT INITIAL.
SELECT MATNR MAKTX FROM MAKT INTO TABLE ITAB1 FOR ALL ENTRIES IN ITAB
WHERE MATNR = ITAB-MATNR.
ENDIF.
endform. " FETCH_MAKT
FORM READ.
LOOP AT ITAB.
READ TABLE ITAB1 WITH KEY MATNR = ITAB-MATNR.
IF SY-SUBRC = 0.
MOVE ITAB-MATNR TO ITAB2-MATNR.
MOVE ITAB-ERSDA TO ITAB2-ERSDA.
MOVE ITAB-MEINS TO ITAB2-MEINS.
MOVE ITAB1-MAKTX TO ITAB2-MAKTX.
ENDIF.
APPEND ITAB2.
ENDLOOP.
ENDFORM.
*& Form FIELDCATALOG
text
--> p1 text
<-- p2 text
form FIELDCATALOG .
HEADER-COL_POS = '1'.
HEADER-SELTEXT_L = 'MATNR1'.
HEADER-TABNAME = 'ITAB2'.
HEADER-FIELDNAME = 'MATNR'.
APPEND HEADER TO BODY.
CLEAR HEADER.
HEADER-COL_POS = '2'.
HEADER-SELTEXT_L = 'ERSDA'.
HEADER-TABNAME = 'ITAB2'.
HEADER-FIELDNAME = 'ERSDA'.
APPEND HEADER TO BODY.
CLEAR HEADER.
HEADER-COL_POS = '3'.
HEADER-SELTEXT_L = 'MEINS'.
HEADER-TABNAME = 'ITAB2'.
HEADER-FIELDNAME = 'MEINS'.
APPEND HEADER TO BODY.
CLEAR HEADER.
HEADER-COL_POS = '4'.
HEADER-SELTEXT_L = 'MAKTX'.
HEADER-TABNAME = 'ITAB2'.
HEADER-FIELDNAME = 'MAKTX'.
APPEND HEADER TO BODY.
CLEAR HEADER.
endform. " FIELDCATALOG
*& Form ALVDISPLAY
form ALVDISPLAY .
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = 'ZALVREPORT'
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
I_STRUCTURE_NAME =
IS_LAYOUT =
IT_FIELDCAT = BODY
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = ITAB2
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. -
Making selection field mandatory in invoice overview
Hi All,
I am trying to make selection field (Ship from Location ) mandatory in invoice overview through customizing mode.
however system is showing mandatorysymbol against field but not throwing any error message when user execute the invoice overview screen without ship from location.
kindly suggest / help
Best Regards
GauravHi,
You can do it simple:
AT SELECTION-SCREEN ON s_matnr.
IF s_matnr IS INITIAL.
MESSAGE e055(00).
Make an entry in all required fields
ENDIF.
(s_matnr: is a field on the selection screen)
Good luck.
Gilad Hubara. -
HR-How to use dynamic selection fields in prog ..?
Hii
I have written a prog to select data pertaining to details of all employees who belong to a particular country . For this i have provided a dynamic selection field for selecting country (through Selection View).But when i am getting all the records for all countries.
How to use the dynamic selection fields in program or they behave in the same way as the standard selection given by the LDB .As if we enter a value in the std screen then the GET event acts accordingly .
Ajitabh PradhanHi Ajitabh,
First off, is the Dynamic Selection working? If so, try the following code.. I am assuming, you only want to look at Permanent Address.
tables: pernr.
infotypes: 0001,0006.
start-of-selection.
get pernr.
rp-provide-from-last p0001 space pn-begda pn-endda.
check pnp-sw-found eq 1.
rp-provide-from-last p0006 1 pn-begda pn-endda.
check pnp-sw-found eq 1.
write:/ pernr-pernr,p0001-ename,p0006-land1.
end-of-selection.
Regards,
Suresh Datti
Maybe you are looking for
-
**URGENT** Deplyment error while using service reference
I am using Landscape service to get the system information from system landscape directory. I added the service reference inside my web dynpro application using NW studio. When I deploy this service I get following error: Oct 21, 2005 3:06:16 PM /use
-
Determination of a different item category for free goos
Please help me with this: - I need on va01 determine a different item category with free goods, instead of tann and tan i want to use another ones only when i use exclusive free goods. I use inlcusive and exclusive free goods conditions but i want to
-
Prety much what the question says. HELP!
-
Saving documents via Scripts: Get current file name and set save path/file type
I am writing a script that will: -Make all layers invisible -Make a layer named "background" visible -Delete all the invisible layers -Save the docment as an EPS file (leaving the original document untouched) I am new to scripts and so have based my
-
Change dimensions of .jpeg pic w/out losing perspective?
Hello: Level: Newbie OS: Windows7 64bit PS: Cs6 The picture below is a (sadly), .jpeg and I would like to be able to change its dimensions from