Issue with driver program ZSAPM07DR(From where this Program is called)
Hi All,
We need to find out from where the driver program ZSAPM07DR(this is a customized program of SAPM07DR). It has the
form Z_DLYNOTE .
So how to know from which place the Driver program is called.
Please help .
Thanks and Regards
Channappa Sajjanar
Hi,
It is me not totally clear what you want with this question.
I think you are asking this because you want to change the calling program in such a way that is using the new ZSAPM07DR instead of SAPM07DR.
For this you do not have to change a program. This can be done by making settings (a kind of customizing).
Your print will be made with a certain outputtype. (ithink 1 of WA01, Wa02,Wa03, wae1, wae2, wae3, wee1, wee2, wee3, wf01, wf02, wlb1, wlb2, wlb3) with apllicationtype ME.
The settings can be made with transaction NACE.
for your program> start transaction NACE
click on application ME
click on outputtype
doubleclick on the right outputtype
then you see a prgram, a starting routine, and sapscript or smartform name.
Here you change your settings to your program and your sapscript or smartform or adobe interactive forms.
and save.
these setting are stored in table TNAPR.
Hope this helps you. success.
Gr., Frank
Similar Messages
-
How to check from Where a Program is Called in SAP ABAP?
In SAP subroutine message_append in program LATPCFM2 has been called for purchase order as well as delivery (create, change, display).
I want some custom code to be added in this subroutine by which I would know from where it is being called for "delivery creation".
Or any way to know the called place.Hi Raju,
I want to add one more thing to your explanation, While enhancing the standard Program, it will be used in several Places for Different purpose. Instead of Checking from Where it is Called, Check with for what conditions the Custom Code Should get executed and the Required Values are present in the attribute. It will work better if we add Some IF conditions Before Our Custom Code otherwie it may lead to Dump.
EX: If SY-Tocde = 'VA01' or SY-Tocde = 'VA02' or SY-Tocde = 'VA03'.
Custome Code.
endif. -
Issue with Executing OS commands from Stored Procedure
I am trying to execute the scripts provided at :
http://github.com/xtender/XT_SHELL
provided by xtender user.
As required, I have asked my DBAs to grant privileges by executing the following scripts:
Begin
--change to needed permissions and execute
dbms_java.grant_permission( 'ODS', 'SYS:java.io.FilePermission', '/var/factiva/ODS/bin/CVIM_Rpt_ExportCSVFile’, 'read,write,execute' );
end;
/where CVIM_Rpt_ExportCSVFile is my script residing in the Unix server where my Oracle is installed.
The error I am facing when I try to execute the following command is:
select * from table(xt_shell.shell_exec('/var/scripts/CVIM_Rpt_ExportCSVFile',100))
Exception:the Permission (java.io.FilePermission /var/scripts/CVIM_Rpt_ExportCSVFile execute) has not been granted to ODS. The PL/SQL to grant this is dbms_java.grant_permission( 'ODS', 'SYS:java.io.FilePermission', '/var/scripts/CVIM_Rpt_ExportCSVFile', 'execute' )I have asked my DBA to also execute the following scripts: - But I still see the same error as above. I am not able to figure out whats going on. Can anyone pls help me out??
EXEC Dbms_Java.Grant_Permission('ODS', 'SYS:java.lang.RuntimePermission', 'writeFileDescriptor', '');
EXEC Dbms_Java.Grant_Permission(ODS', 'SYS:java.lang.RuntimePermission', 'readFileDescriptor', '');
dbms_java.grant_permission( 'ODS', 'SYS:java.io.FilePermission', '/var/scripts/CVIM_Rpt_ExportCSVFile', 'execute' )DUPLICATE
===============================================================
Issue with Executing OS commands from Stored Procedure
============================================================== -
Powershell : Issues with user input collection from Multiple InPutBox Form
I am having issues with getting user input to pass from a form that a user fills out into variables that I can then use in other methods and commands. (ex; SQL Query, SQL Data Add, ... )
I have attached the Powershell script I am using in it's designed form but I am having issues getting the DataCollection function to grab the content of the InputBox and send it to a variable for later use.
Note: I'm running this at this time from the ISE so I can actually see what is going on.
Any help would be appreciated.
DAS
[System.Reflection.Assembly]::LoadWithPartialName( “System.Windows.Forms”)
[System.Reflection.Assembly]::LoadWithPartialName( “Microsoft.VisualBasic”)
$FormDBA = New-Object System.Windows.Forms.Form
$FormDBA.Size = New-Object System.Drawing.Size(300,500)
$FormDBA.Text = "MIS Data"
$FormDBA.StartPosition = [System.Windows.Forms.FormStartPosition]::CenterScreen;
function DataCapture
$SubSID = $InBoxSID.text
ECHO $SubSID
$InBoxTxtSID = New-Object System.Windows.Forms.Label
$InBoxTxtSID.Location = New-Object System.Drawing.Size(25,15)
$InBoxTxtSID.Text = "Sticker ID : "
$InBoxSID = New-Object System.Windows.Forms.TextBox
$InBoxSID.Location = New-Object System.Drawing.Size(130,10)
$InBoxSID.Size = New-Object System.Drawing.Size(120,20)
$InBoxTxtUSR = New-Object System.Windows.Forms.Label
$InBoxTxtUSR.Location = New-Object System.Drawing.Size(25,55)
$InBoxTxtUSR.Text = "User Name ; "
$InBoxUSR = New-Object System.Windows.Forms.TextBox
$InBoxUSR.Location = New-Object System.Drawing.Size(130,50)
$InBoxUSR.Size = New-Object System.Drawing.Size(120,20)
$InBoxTxtPCN = New-Object System.Windows.Forms.Label
$InBoxTxtPCN.Location = New-Object System.Drawing.Size(25,95)
$InBoxTxtPCN.Text = "PC Name : "
$InBoxPCN = New-Object System.Windows.Forms.TextBox
$InBoxPCN.Location = New-Object System.Drawing.Size(130,90)
$InBoxPCN.Size = New-Object System.Drawing.Size(120,20)
$InBoxTxtDPT = New-Object System.Windows.Forms.Label
$InBoxTxtDPT.Location = New-Object System.Drawing.Size(25,135)
$InBoxTxtDPT.Text = "Department : "
$InBoxDPT = New-Object System.Windows.Forms.TextBox
$InBoxDPT.Location = New-Object System.Drawing.Size(130,130)
$InBoxDPT.Size = New-Object System.Drawing.Size(120,20)
$InBoxTxtPCT = New-Object System.Windows.Forms.Label
$InBoxTxtPCT.Location = New-Object System.Drawing.Size(25,175)
$InBoxTxtPCT.Text = "PC Type : "
$InBoxPCT = New-Object System.Windows.Forms.TextBox
$InBoxPCT.Location = New-Object System.Drawing.Size(130,170)
$InBoxPCT.Size = New-Object System.Drawing.Size(120,20)
$InBoxTxtMAK = New-Object System.Windows.Forms.Label
$InBoxTxtMAK.Location = New-Object System.Drawing.Size(25,215)
$InBoxTxtMAK.Text = "Make : "
$InBoxMAK = New-Object System.Windows.Forms.TextBox
$InBoxMAK.Location = New-Object System.Drawing.Size(130,210)
$InBoxMAK.Size = New-Object System.Drawing.Size(120,20)
$InBoxTxtMOD = New-Object System.Windows.Forms.Label
$InBoxTxtMOD.Location = New-Object System.Drawing.Size(25,255)
$InBoxTxtMOD.Text = "Model : "
$InBoxMOD = New-Object System.Windows.Forms.TextBox
$InBoxMOD.Location = New-Object System.Drawing.Size(130,250)
$InBoxMOD.Size = New-Object System.Drawing.Size(120,20)
$InBoxTxtOPS = New-Object System.Windows.Forms.Label
$InBoxTxtOPS.Location = New-Object System.Drawing.Size(25,295)
$InBoxTxtOPS.Text = "O.S. : "
$InBoxOPS = New-Object System.Windows.Forms.TextBox
$InBoxOPS.Location = New-Object System.Drawing.Size(130,290)
$InBoxOPS.Size = New-Object System.Drawing.Size(120,20)
$InBoxTxtDIS = New-Object System.Windows.Forms.Label
$InBoxTxtDIS.Location = New-Object System.Drawing.Size(25,335)
$InBoxTxtDIS.Text = "Disposed : "
$InBoxDIS = New-Object System.Windows.Forms.TextBox
$InBoxDIS.Location = New-Object System.Drawing.Size(130,330)
$InBoxDIS.Size = New-Object System.Drawing.Size(120,20)
$button = New-Object System.Windows.Forms.Button
$button.Location = New-Object System.Drawing.Size(150,400)
$button.Width = 100
$button.Text = “Ok”
$button.Add_Click({DataCapture})
$FormDBA.Controls.Add($button)
$FormDBA.Controls.Add($InBoxTxtSID)
$FormDBA.Controls.Add($InBoxTxtUSR)
$FormDBA.Controls.Add($InBoxTxtPCN)
$FormDBA.Controls.Add($InBoxTxtDPT)
$FormDBA.Controls.Add($InBoxTxtPCT)
$FormDBA.Controls.Add($InBoxTxtMAK)
$FormDBA.Controls.Add($InBoxTxtMOD)
$FormDBA.Controls.Add($InBoxTxtOPS)
$FormDBA.Controls.Add($InBoxTxtDIS)
$FormDBA.Controls.Add($InBoxSID)
$FormDBA.Controls.Add($InBoxUSR)
$FormDBA.Controls.Add($InBoxPCN)
$FormDBA.Controls.Add($InBoxDPT)
$FormDBA.Controls.Add($InBoxPCT)
$FormDBA.Controls.Add($InBoxMAK)
$FormDBA.Controls.Add($InBoxMOD)
$FormDBA.Controls.Add($InBoxOPS)
$FormDBA.Controls.Add($InBoxDIS)
$FormDBA.ShowDialog()Change this:
$button = New-Object System.Windows.Forms.Button
$button.Location = New-Object System.Drawing.Size(150,400)
$button.Width = 100
$button.Text = “Ok”
$button.DialogResult='Ok' #<<<<<-------
#$button.Add_Click({DataCapture})
Remove function andrun like this:
if('Ok' -eq $FormDBA.ShowDialog()){
$FormDBA.Controls|%{$_.Text}
With names you can get values by control name.
¯\_(ツ)_/¯
This suggestion works for the purpose I needed.
If I could, I would attach the file instead of pasting the script so you can see what all I am using this to do.
But in short, we have a main form we use to pull records from a database and call up an application at the click of a button for remote assistance. However, we seem to now need the ability to have this application to edit and add new records into said
database. That's where this second form came in and also when I hit my issue with the information capture.
At this time I'm getting this to format the information collected so that I can start using using it with SQL commands. -
We run an iMac 3.4 GHz I7 in our church worship service; we have front screens and a stage display monitor ; we haven't upgraded to Mavericks because we heard about issues with multiple screens crashing. Has this issue been resolved? Now that we are 2 upgrades behind, I'm getting little concerned. Thank you!
Oh, well that was a whole other kettle of fish:
Oh the G4 I attempted to install iLife '08 before Lepoard was available. About the only thing that installed cleanly was iPhoto. I ended up reinstalling everything back to iLife '06, and then upgrading back to the current stable version of the iLife '06 version. I didn't attempt a reinstall until after I upgraded to Leopard.
When I did reinstall, I made a iLife '06 folder, copied all iLife apps into it, and upgraded. Seemed to work, except for the part where iMovie gets left behind and iDVD is only mostly functional.
When I installed on the other 2 machines, it was after installing Leopard and all upgrades. On those 2 machines, I didn't bother with the copy, I just moved everything to the iLife '06 folder I created, and did a fresh install.
I didn't have to do anything with the iPhoto Libraries, that I can recall.
I always do an upgrade, never an archive and install. I've never had a problem with this back to 10.1 or 10.2. -
This program has been blocked for your protection/ An Administrator has blocked you from running this program/ Return code: 1625
If you get a message saying, “Publisher: Not trusted,” the printing functionality you are attempting to use may become blocked while downloading, installing or attempting to run.
You may also see messages such as:
MSIExec installation error (Return code:1625)
The recommended software listed below could not be installed
“Do you want to allow the following the program from an unknown publisher to make changes to this program”
“This program has been blocked for your protection”
“Blocked”
“Not trusted”
The Windows User Account Control message may look like this.
You may get this message when installing, uninstalling, or updating HP software for Windows from the product CD, from software previously downloaded from www.hp.com, or from running HP Smart Install by connecting a printer via USB cable.
The solution will vary depending on the products that you are using. Here is a helpful document for HP printers that will walk you through what you can do.
John
I work on behalf of HP.Hey @kat54 ,
Welcome to the HP Forums!
I understand you're receiving an error stating "This program has been blocked for your protection."
You can read about this error here: "Blocked", "User Account Control", "Not trusted", or "Return code: 1625" message in Windows.
You will find a link for Printers here which directs you to the HP Update Software Utility to resolve the problem. When you install this utility ensure you select version 5.005.002.002 or later.
Make sure the utility you've downloaded is for your exact product and operating system.
If this does not resolve the issue please call our technical support at 800-474-6836. If you live outside the US/Canada Region, please click the following link to get the support number for your region: Phone Assist Worldwide.
Thanks!
Please click the "Kudos, Thumbs Up" at the bottom of this post if you want to say "Thanks" for helping!
Please click "Accept as Solution" if you feel my post solved your issue, it will help others find the solution.
The Great Deku Tree
I work on behalf of HP. -
i have a mac osx version 10.6.8 no windows installed and i am trying to install a program but keep getting can not run in dos mode ( the disk says on back works on intel mac with parallels or vm fusion) is this program not compatible with my mac?
You run Windows in Parallels or Fusion. Then in Windows you install the program.
-
Captivate 8 - How to change to producing "project.json" file instead of a "project.txt" file? Having issues with viewing published projects due to this. Would be thankful fo rany/all advice.
I'm having the same issue. I've been able to work around it by opening the txt file and copying the contents. Then I open a new file in Sublime Text 2, paste the contents and save the new file as "project.json". It seems to work, but it'd been nice if I didn't have to do this everytime I publish a new project.
-
From where this table has came
From where this table has been created.
I created a table and then i dropped it. When i selected * from tab i got this table.
No operation is being done on this table.
How can i delete this table. I am using 10.2.
SQL> select * from tab;
TNAME TABTYPE CLUSTERID
REGIONS TABLE
COUNTRIES TABLE
LOCATIONS TABLE
DEPARTMENTS TABLE
JOBS TABLE
EMPLOYEES TABLE
JOB_HISTORY TABLE
EMP_DETAILS_VIEW VIEW
CREDIT_CARD TABLE
DUMMY_EMPLOYEE TABLE
T1 TABLE
TNAME TABTYPE CLUSTERID
T2 TABLE
T3 TABLE
T4 TABLE
T5 TABLE
T6 TABLE
BIN$xWu4GVgER361l8+eGWMkGA==$0 TABLESQL> sho recyclebin
ORIGINAL NAME RECYCLEBIN NAME OBJECT TYPE DROP TIME
TMP BIN$KYHXM5/OSyuiwovY1v2uzg==$0 TABLE 2007-06-19:14:49:02
TMP2 BIN$fHdaf7HxRKqky5JWorylYQ==$0 TABLE 2007-06-19:14:49:04
TMP2 BIN$rkz3+DhBQruuItFvdsE4VA==$0 TABLE 2007-06-19:14:44:27
SQL> purge recyclebin;
Recyclebin purged.
SQL> -
We recently switched ISPs. To connect to the new ISP our Airport Extreme has to be in bridge mode. Now our Nintendo Wii won't connect to the Airport. Is it an issue with bridge mode that is causing this? We're running two Macs wirelessly with no problems. And the Wii did connect before the switch.
Hello and thanks for the reply. I gave this a try, turned off Airport on one of the computers and tried the Wii again. Still no connection. I should say that we're also running an old G4 (wired) off the Airport as well, with no problems. I've tried many things to make the Wii to work, including power cycling the Airport, turning off the security settings in the Airport, resetting the Airport to it's default and redoing the network, resetting the network setting on the Wii (several times), moved the Airport closer to the Wii, all with no luck. The Wii "sees" the Airport but won't connect to it. I'm at a loss for anything else to try, so any help is appreciated.
-
Is there an issue with streaming videos direct from itunes? I
Is there an issue with streaming videos direct from itunes? I have good wifi but films just buffer , doesn't happen on flixster on netflix , wonder if there is any tweak to watch a film uninterrupted , because it is very frustrating? Thanks
Apple appears to be having trouble with the iTunes Store servers right now.
(81070) -
Getting the logical system from where RFC is being called
Hi All,
How can we get the logical system name from where RFC is being called?
Regards,
AkshayHi Akshay,
If your company follows the SAP recommendations on naming [logical systems|http://help.sap.com/SAPHELP_NW70/helpdata/EN/da/5990df015b5b43a36f6ce7fa1ee8c0/content.htm] <b><SystemID>"CLNT"<Client></b> then you should get away with a simple call to RFC_GET_ATTRIBUTES (and even if they don't, the function module might possibly provide other clues required to build the logical system name).
There might be other ways, but I'm kind of suspecting that the logical system name of the calling system might not be part of the communication data (like other readily available data as IP address etc.). So if this solution doesn't work, it might be helpful to understand how the naming conventions for logical systems used by your company.
Cheers, harald -
Issue with opening pdf file from web browser
I have Acrobat Pro ver 6 and Adobe Reader 9.1 on a computer. when my user tries to open up a pdf from the web he is getting the following error message:
"The Adobe Acrobat/Reader that is running can not be used to view PDF files in a WEb Browser. Adbe Acrobat/Reader version 8 or 9 is required. Please exit and try again."
What also happens is that Acrobat Pro ver 6 opens up and nothing is there.
I am not sure why he is getting that message since Reader 9.1 is installed.
Can any one shed some light on this for me.
This user needs to have Acrobat and Reader on his system. I understand that there are issues with having both.
Also he has it set up so that any PDF is opening using the Reader 9.1.
Thanks,Your PC's default reader configuration for embedded PDFs has become confused, due to multiple Adobe PDF document solutions installed on one PC.
Solution 1:
Go to Start > Run
Type regedit and click OK.
Browse to the following key: HKEY_CLASSES_ROOT\Software\Adobe\Acrobat\Exe
Make sure that the correct Default data value is set for the path where Adobe Reader or Acrobat are installed.
The default installation values are:
"C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe"
or
"C:\Program Files\adobe\acrobat 6.0\acrobat\Acrobat.exe" (not sure about this path. Check on your PC to be sure)
depending on whether Adobe Reader or Adobe Acrobat is installed.
Solution 2:
Configure the browser to use Acrobat or Adobe Reader as a helper application.
If you are using Firefox to browse the web, you can change this setting in Firefox by going to:
Tools > Options
Click on the "Applications" Tab.
The first item in the list should be "Adobe Acrobat Document". Under the Action list, click the drop down arrow and select the application you want to read PDFs within the web browser. Click OK, and you should be done.
If you're using Internet Explorer to view PDFs, try the below steps.
After you configure Acrobat or Adobe Reader as a helper application, the browser starts the helper application in a separate window and displays PDF files within that window. Acrobat and Adobe Reader both include a preference that lets you specify Acrobat or Adobe Reader as the helper application.
To configure Acrobat or Adobe Reader as a helper application:
Start Acrobat or Adobe Reader.
Choose Edit > Preferences.
Select Internet on the left.
Deselect Display PDF In Browser Using [Acrobat application], and then click OK.
Quit Acrobat or Adobe Reader.
The next time you select a link to a PDF file in the browser, a dialog box asks what you would like to do with the file. If you select Open It, the browser opens the PDF file in Acrobat or Adobe Reader (the helper application); if you select Save It To Disk, the browser saves the PDF file to your hard drive. -
How to replce the ename with last name & first name in this program
Hi all,
The below include program is with the reference of std report CATSSHOW.
in which ename is the field to fetch the employee name, but now we want the emloyee name like last name & first name i.e in two separte column.
how i implement this change in this include program.
ENAME IS Define like that
ename LIKE pernr_list_structure-ename,
If u whant to refer the report put u can execute the std repot CATSSHOW.
Pls help on this.
Send me the code.
pls find the include prgram ZHNO_INCLUDE_CATSDATA from where they declare the ename.
4.6B
QWKP99K050532 13081999 note 167550
4.6A
XQIALRK154280 19.11.98 key date on selection screen
4.0C
YIKALRK098973 30.03.1998 F4 Hilfe für Objektid
INCLUDE CATSDATA *
db-tabellen
TABLES:
prps,
catsdb,
catsdb_ext.
Remarked by LuX 11 Dec. 1998
crhd. "YIK
dd-structuren
TABLES:
gdstr,
gdset,
catsd, "dialogstruktur
sscrfields,
t77mt, "modulübergreifende texte
objec.
Remarked by LuX 19981210 - CATS decoupling (seems not used)
rcr01.
"arbeitsplatz aus sicht pläne
Added by Jerlece on 04/04/2002 - SIR 2836
TABLES:
pa0001, "HR Master Record: Infotype 0001 (Org. Assignment)
hrp1000. "Infotype DB table : 1000
*End of addition
type-pool enthält feldkatalogstruktur
TYPE-POOLS:
kkblo.
konstanten
CONSTANTS:
DATENULL20 TYPE D VALUE ' ', QWKP99K050532
datenull20 TYPE d VALUE ' ',
datenull30 TYPE d VALUE '00000000',
no TYPE c VALUE 'N',
off TYPE c VALUE '0',
yes TYPE c VALUE 'Y'.
Added by Jerlece on 10/04/2002 - SIR 2836
DATA: BEGIN OF i_objid OCCURS 0,
objid(100),
END OF i_objid.
End of addition
DATA:
gt_sp_groups TYPE kkblo_t_sp_group WITH HEADER LINE.
DATA for REFRESH of PCHSOBID
DATA : old_otype LIKE wplog-otype VALUE 'O'.
DATA: BEGIN OF i77eo_key,
mandt LIKE t77eo-mandt,
otype LIKE t77eo-otype,
END OF i77eo_key.
DATA: BEGIN OF i77eo OCCURS 2.
INCLUDE STRUCTURE t77eo.
DATA: END OF i77eo.
DATA: BEGIN OF i778l OCCURS 5.
INCLUDE STRUCTURE T778L.
DATA: langu LIKE t778l-langu.
DATA: END OF i778l.
DATA allowed_pernr_index LIKE sy-tabix.
DATA flag_save TYPE c.
DATA: selcheck_save_struk_index LIKE sy-tabix.
felder
DATA:
flag TYPE c, "Drucktastenbelegung
saveflag TYPE c,
saveflag_esa TYPE c,
f_stich TYPE c VALUE yes, "1. X sichtag
daynumber TYPE c, "Wochentagnummer 1-7
pchobjid_count TYPE i,
i778l_count TYPE i,
i77eo_count TYPE i,
txtid LIKE t77mt-txtid, "Wochentagtext
exist_werk TYPE c, "werk eingegeben
week LIKE scal-week, "Wochen zum Tag
no_selection TYPE c. "YIKALRK167448
DATA: BEGIN OF icatsdb OCCURS 0.
INCLUDE STRUCTURE catsdb.
include structure cats_exten.
*data: checkbox(1) type c,
lights(1) type c,
DATA: END OF icatsdb.
DATA: BEGIN OF selcheck OCCURS 0,
fielname LIKE dbindfld-field,
flag(1) TYPE c,
END OF selcheck.
DATA: BEGIN OF selcheck_save_struk OCCURS 0,
FIELNAME(10) TYPE C, NOTE 167550
fielname LIKE dbindfld-field, "note 167550
flag(1) TYPE c,
END OF selcheck_save_struk.
DATA: BEGIN OF selcheck_save OCCURS 0,
FIELNAME(10) TYPE C, NOTE 167550
fielname LIKE dbindfld-field, "note 167550
END OF selcheck_save.
DATA : BEGIN OF maco_objects OCCURS 5,
plvar LIKE plog-plvar,
otype LIKE plog-otype,
objid LIKE plog-objid,
END OF maco_objects.
RANGES so_datum_save FOR catsdb-workdate.
INCLUDE .
datendeklarationen für CATSSTRC *
TYPE-POOLS: kkblo, capp.
TYPES: tabix LIKE sy-tabix OCCURS 0.
TYPES: BEGIN OF icatsdb_lst_type.
INCLUDE STRUCTURE catsdb.
TYPES: checkbox(1) TYPE c,
lights(1) TYPE c,
ename LIKE pernr_list_structure-ename,
END OF icatsdb_lst_type.
TYPES: icatsdb_lst_type_table TYPE icatsdb_lst_type OCCURS 0.
TYPES: BEGIN OF allowed_pernr_type,
pernr LIKE catsdb-pernr,
ename LIKE pernr_list_structure-ename,
begda LIKE catsdb-workdate,
endda LIKE catsdb-workdate,
END OF allowed_pernr_type.
TYPES: allowed_pernr_table TYPE allowed_pernr_type OCCURS 0.
DATA: allowed_pernr TYPE allowed_pernr_table WITH HEADER LINE.
DATA: yx TYPE c VALUE 'X'.
DATA: is_variant LIKE disvariant.
DATA: es_variant LIKE disvariant.
DATA: fcode(4).
DATA: subrc LIKE sy-subrc.
DATA: approve TYPE c.
rhx-f4-objid-data. "YIKALRK098973
INCLUDE rhodat00.
Added by Lu Xiaozhou for CATS decoupling 10 Dec. 1998
DATA: sys_type LIKE tcesyst-devtype.
DATA: posid TYPE ps_posid.
*added by anand on 8/21/02 TD 1480 ========>D20K908220
*ranges for date to build & then put in selection criteria
RANGES r_datum FOR sy-datum.
*end of addition on 8/21/02 TD 1480=======>D20K908220
*added by anand on 9/10/02 TD 1513 =======> D20K908525
*New internal table to get the begin & end date also with ENum
DATA: BEGIN OF it_pers OCCURS 0,
pernr LIKE pa0001-pernr,
begda LIKE pa0001-begda,
endda LIKE pa0001-endda,
END OF it_pers.
*end of addition on 9/10/02 TD 1513 ======>D20K908525
begin of anc01
DATA: BEGIN OF i_pernr OCCURS 0,
pernr LIKE pa0003-pernr,
END OF i_pernr.
DATA: BEGIN OF i_persa OCCURS 0,
persa LIKE t500p-persa,
END OF i_persa,
BEGIN OF i_persk OCCURS 0,
persk LIKE t503k-persk,
END OF i_persk.
DATA: BEGIN OF i_orgeh OCCURS 0,
orgeh LIKE t527x-orgeh,
END OF i_orgeh.
DATA: BEGIN OF i_pa0105 OCCURS 0,
pernr LIKE pa0105-pernr,
usrid LIKE pa0105-usrid,
END OF i_pa0105.
end of anc01
begin of TD 4107 Anand
store sub org units
DATA: BEGIN OF i_sobid OCCURS 0,
sobid LIKE hrp1001-sobid,
END OF i_sobid.
store user entered org units
RANGES: r_orgeh FOR pa0001-orgeh.
end of TD 4107 Anand
*Added by Ketan Joglekar, SIR6599 05/08/2006 D20K921585
DATA: ws_mandt LIKE sy-mandt. "#EC NEEDED
*Added by Ketan Joglekar, SIR6599 05/31/2006 D20K921851
DATA: BEGIN OF wa_catsco_temp,
counter LIKE catsco-counter,
belnr LIKE catsco-belnr,
trans_no LIKE catsco-belnr,
docnr LIKE catsco-belnr,
END OF wa_catsco_temp.
*End of changes Ketan Joglekar, SIR6599 05/31/2006 D20K921851
DATA: BEGIN OF i_cobk OCCURS 0,
counter LIKE catsco-counter,
docnr LIKE catsco-belnr,
budat LIKE cobk-budat,
END OF i_cobk.
DATA: ws_week LIKE scal-week.
*End of Changes.
-> D10K919801
DATA: w_aut_zhr15 type c,
w_aut_zhr17 type c.
-> D10K919801Completely support!
I yesterday switched from I-mate PDA2K and got over 200 contacts from Outlook to my 6820 in format of first name space father name space second name. Terrible!
My phone fails to search by the last name - search is useless in fact. And last names are almost invisible because of long first and father names in Russian.
It's a nightmare. Could anybody help please? How to sync with Outlook to have last name first???
Best Regards,
Vladimir. -
PHP email form - issue with who it's from
Hi,
I've got a referral page on my site where the user puts in their details and a friends details and the form fires off a email to the friend. The form is in HTML and posts it to a PHP file. The problem is I get in the email for who it's from:
from
"Scott Bradshaw"@server74.ukservers.net
I don't want the
@server74.ukservers.net
in their.
Is this an issue with PHP files and forms or is their a way round it? I know I could do a mailto: form but don't want to. What are my options?
Thanks, ScottI'm making the website for someone and they had the hosting set up already but thanks for telling me. I think this is right what I've done:
function detectSuspect($val, &$ok) {
if (preg_match('/Content-Type:|Cc:|Bcc:/i', $val)) {
$ok = false;
$YourName = Trim(stripslashes($_POST['YourName']));
$YourEmail = Trim(stripslashes($_POST['YourEmail']));
$RefName = Trim(stripslashes($_POST['RefName']));
$RefEmail = Trim(stripslashes($_POST['RefEmail']));
$EmailFrom = $YourEmail;
$Subject = $RefName;
$EmailTo = $RefEmail;
// validation
$validationOK=true;
detectSuspect($YourName, $validationOK);
detectSuspect($YourEmail, $validationOK);
detectSuspect($RefName, $validationOK);
detectSuspect($RefEmail, $validationOK);
if (!$validationOK) {
print "<meta http-equiv=\"refresh\" content=\"0;URL=error.html\">";
exit;
// prepare email body text
$Body = "Hi $RefName,
$YourName thought you would be interested in viewing this online video called A
tale of 2 customers (< 3 mins).
www.easybench.org/ataleof2customers3";
$Body2 = "";
$Body2 .= "User Name: ";
$Body2 .= $YourName;
$Body2 .= "\n";
$Body2 .= "User Email: ";
$Body2 .= $YourEmail;
$Body2 .= "\n";
$Body2 .= "Referral Name: ";
$Body2 .= $RefName;
$Body2 .= "\n";
$Body2 .= "Referral Email: ";
$Body2 .= $RefEmail;
$Body2 .= "\n";
// send email
$success = mail($EmailTo, $Subject, $Body, "From: $EmailFrom<$EmailFrom>");
mail("[email protected]", "Referral details", $Body2, "From: [email protected]");
// redirect to success page
if ($success){
print "<meta http-equiv=\"refresh\" content=\"0;URL=thankyou2.html\">";
else{
print "<meta http-equiv=\"refresh\" content=\"0;URL=error.html\">";
?>
I've also got a feedback form thing too, the script above wouldn't work for it I guess as it's protecting against different thing but what's the best way to protect the feedback form? I've heard of a honeypot thing where create hidden form field.
Thanks, Scott
Maybe you are looking for
-
I am giving my old macbook pro to my father. i don't want to run the restore disc because of extra software i have added over the years. I need to figure out how to "reset it" so that he gets his email- i guess to match his imac..... he currently i
-
Virtualize an existing windows 8.1 installation on arch
Hi, 3 days ago I installed arch and I'm very delighted. Originally coming from windows I installed ubuntu on my laptop a few months back. Linux instantly grabbed my attention. So when I decided to buy a new desktop PC I compared various distros and a
-
Using Terminal with a dial-up connection to a Unix server
Normally I use a cable modem at home to connect to a Unix server at work. All I have to do is fire up the Terminal application, type "telnet servername.domainname.com", and I am up and running. A couple days ago my cable modem service died and it is
-
I have a couple of servers on Standard 2012R2 (a Domain Controller & File Server) virtualized on VMWare ESXi 5.1. Server Manager tells me that they have never checked or updated (although they show 40 updates applied). Set to download updates and n
-
Hi there, I have a BPM for a Leave request process which is working fine. For triggering the BPM I would like to have the following scenario: 1. User has a link "Leave request" on our Intranet page (no SAP portal) to trigger the BPM 2. The user is di