Password authentification for as3 php upload
Hi
I'm making an Air file that uploads and overwrites an XML file.
So far, the php is very simple:
$everything = $_POST['saveThisXML'];
$everything = stripslashes($everything);
$toSave = $everything;
$fp = fopen("settings.xml", "w");
if(fwrite($fp, $toSave)) echo "writing=Ok";
else echo "writing=Error";
fclose($fp);
I'd like to set up a user name and passowrd that the user enters in the Air app. Is it then just a matter of sending POST data to the php file, and have it check the user and pass variables? Is that a reasonably safe way to do it? If not, can someone please point me in th edirection of a good tutorial that they're used on this topic?
Thanks again guys.
Shaun
OK
So somewhere along the line, the user is going to have to set up a database. I can use PHP to do that though, right? And they'd just have to run the php page once to set it up.
Thanks kglad.
Also, I can successfully upload data from a string (myString) in Flash using PHP:
var myData:URLRequest = new URLRequest("http://www.blah.com/saver.php");
myData.method = URLRequestMethod.POST;
var variables:URLVariables = new URLVariables();
var origEverything:String = myString;
variables.saveThisXML = origEverything;
myData.data = variables;
var loadData:URLLoader = new URLLoader();
loadData.dataFormat = URLLoaderDataFormat.VARIABLES;
loadData.addEventListener(Event.COMPLETE, doneBaby);
loadData.addEventListener(IOErrorEvent.IO_ERROR, dataLoadError);
loadData.load(myData);
However, when I try to add two variables to send to php, I get a named pairs error. Here's what I tried adding (in bold):
var myData:URLRequest = new URLRequest("http://www.blah.com/saver.php");
myData.method = URLRequestMethod.POST;
var variables:URLVariables = new URLVariables();
var origEverything:String = myString;
var passTest:String = 'testPW';
variables.saveThisXML = origEverything;
variables.saveThisPass = passTest;
myData.data = variables;
var loadData:URLLoader = new URLLoader();
loadData.dataFormat = URLLoaderDataFormat.VARIABLES;
loadData.addEventListener(Event.COMPLETE, doneBaby);
loadData.addEventListener(IOErrorEvent.IO_ERROR, dataLoadError);
loadData.load(myData);
Why would that generate an error?
Cheers kglad
Shaun
Similar Messages
-
I would like to know the default directory that is referenced in the php.ini file under the category of "upload_tmp_dir =" for the OS X server 10.5.8.
This is the best info that I have found:
http://bugs.php.net/52460
Still, just wondering what the default for 10.5.8 is supposed to be before I go and change the php.ini entries. -
Peformance Turning for File Download / Upload with Enabled SharePoint Audit
Greetings all, may I ask your help for Peformance Issues?
Background:
I tried to create a ASP.NET Web Page to download/upload/list SharePoint file and deployed to IIS website in same application server (will NOT use web part as some users are NOT allowed to direct access confidential workspace)
Besides, for Audit Log record purpose, the page will impersonate (without password) the logged in user:
SPUserToken userToken = web.AllUsers[user].UserToken;
SPSite s = new SPSite(siteStr, userToken);
For File Listing, the web service can provide fast response, and we are using service A/C for connection (as no auting for listing, but require audit for file download upload)
Several implemeation options tested for File Downloiad / Upload, but issues occured and finding listed below:
Issues
1) SharePoint Object Model
When I open Site (using new SPSite), it's too slow to respond. (under 1s for all operations, but require 10~50s for open SPSIte. e.g.
using(SPSite s = new SPSite(siteStr) //50s
How can I download/upload file without open SPSite object (using SharePoint object model, but user token should be kept to allow SHarePoint identifiy user actions. e.g. Updated by Tom, NOT system administrator)?
2) SharePoint default web service
For file download, I tried to use SharePoint Web Service for download file, it's quick but how can SharePoint record the audit log to downloaded user, and not service A/C? ( e.g. View by Tom, NOT system administrator)
With Windows SSO solution, please note system should NOT prompt to ask user password for use impersonation
3) HTTP Request API (for file download)
As mentioned in point 2, if the system cannot get password from user, SharePoint also recorded service A/C in audit log... ><
Thank you for your kine attention.
.NET Beginner 3.5Thank you for prompt response, please find my reply with Underline:
Hi,
Maybe I'm not quite clear about the architecture you have now.
Is your asp.net application deployed in separate IIS site but in the same physical server as SharePoint?
Yes
"we are using service A/C for connection", can you please explain the 'A/C'?
Domain User, Local Admin and also SharePoint Service Admin A/C
Opening SPSite is relatively slower but shouldn't take 50 sec. However it depends on your server hardware configuration. You should meet the minimum hardware requirements for SharePoint.
Assigned double resources based on minimum hardware requirements.
For details, 50s is the load test result. But for other SharePoint operation, it takes around/under 3s reponse time.
Are you using SharePoint Audit log? Exactly If so then why don't you just put the hyperlink to the documents in your asp.net page. User maybe have to login once in SharePoint site but
it depends on your security architecture. For example if both of your sites in local intranet and you are using windows integrated authentication, SSO will work automatically User is NOT allowed
to access SharePoint site/server (not implemented for sepreate server yet, as performance issues occured for
separate site in same server) directly from Internet, the
middle server with web interface created for user request.
Whatever I understands gives me the feeling that you download the file using HTTPWebRequest C# class. However regarding security it depends on how authentication is setup in asp.net web site and in sharepoint. If both site uses windows integrated security
and they are in the same server, you can use the following code snippet:
using (WebClient webClient = new WebClient())
webClient.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials;
webClient.DownloadFile("file ur in sharepoint", "download directory");
Thanks, will try and reply later
But still, as I've mentioned, not quite clear about the whole architecture.
A) Request Handling
1) User use browser to request file listing and/or download file (hereafter called: File Download Request) from custom ASP.NET page (Let's say In Server 1, IIS 1)
2) ASP.NET page or File Handler ashx (Server 1, IIS 1) call custom web service, SharePoint deault/OOTB web service or using SharePoint Object Model to access SharePoint Document Library (in Server 1,
IIS 2)
3) Both SharePoint and IIS Web Site
(Server 1, IIS 1 & IIS2) using the same service A/C
4) The web service , File Handler return file obeject to IIS1
5) IIS 1 reply File Download Request to user
B) Application Architecture (In testing environment)
1) no load balancing
2) 1 DB server (Server 2)
3) 1 Application Server (with IIS 1 - ASP.NET, IIS 2, SharePoint Web Site with default SharePoint Web Service, IIS 3 SharePoint Admin Site & IIS 4 Custom SharePoint Web Service)
4) Sepreate AD Server (Server 3)
Thanks,
Sohel Rana
http://ranaictiu-technicalblog.blogspot.com
.NET Beginner 3.5 -
How to enable password request for restart and shutdown?
Hi,
I'm neither a Linux nor an Arch Linux newbie, but inexperienced regarding this particular issue.
I want to enable password request for restart and shutdown and want to know if I'm mistaken, because trial and error might become to time-consuming while working on a project.
I read https://wiki.archlinux.org/index.php/Al … o_shutdown.
$ ls -hAl /usr/bin/shutdown
lrwxrwxrwx 1 root root 9 Apr 22 03:02 /usr/bin/shutdown -> systemctl
If I try to run $ shutdown -hP 28 or $ shutdown -c nothings happens, I need to run $ sudo shutdown -hP 28 and $ sudo shutdown -c and type a password. That's the way I want it.
If I e.g. run $ shutdown -r now no password is needed. I want to disable this. It should behave the same way as shutdown -hP/-c behave. I want to type
$ sudo shutdown -r now or $ sudo systemctl reboot etc. and then the password should be required.
$ sudo grep -vn "#" /etc/sudoers | grep [[:blank:]]
72:root ALL=(ALL) ALL
73:rocketmouse ALL=(ALL) ALL
The user "rocketmouse" should have all permissions after typing a password, but not without typing the password.
IIUC what's written at https://wiki.archlinux.org/index.php/Polkit, I need to edit
$ pkaction | grep login
org.freedesktop.accounts.set-login-option
org.freedesktop.login1.attach-device
org.freedesktop.login1.flush-devices
org.freedesktop.login1.hibernate
org.freedesktop.login1.hibernate-ignore-inhibit
org.freedesktop.login1.hibernate-multiple-sessions
org.freedesktop.login1.inhibit-block-idle
org.freedesktop.login1.inhibit-block-shutdown
org.freedesktop.login1.inhibit-block-sleep
org.freedesktop.login1.inhibit-delay-shutdown
org.freedesktop.login1.inhibit-delay-sleep
org.freedesktop.login1.inhibit-handle-hibernate-key
org.freedesktop.login1.inhibit-handle-lid-switch
org.freedesktop.login1.inhibit-handle-power-key
org.freedesktop.login1.inhibit-handle-suspend-key
org.freedesktop.login1.power-off
org.freedesktop.login1.power-off-ignore-inhibit
org.freedesktop.login1.power-off-multiple-sessions
org.freedesktop.login1.reboot
org.freedesktop.login1.reboot-ignore-inhibit
org.freedesktop.login1.reboot-multiple-sessions
org.freedesktop.login1.set-user-linger
org.freedesktop.login1.suspend
org.freedesktop.login1.suspend-ignore-inhibit
org.freedesktop.login1.suspend-multiple-sessions
org.freedesktop.machine1.login
IOW I need to replace every yes and no etc. with auth_admin in $ grep -v lang /usr/share/polkit-1/actions/org.freedesktop.login1.policy.
Am I mistaken?
Regards,
RalfYou'll need to create a rules file which uses javascript.
https://wiki.archlinux.org/index.php/Po … tion_rules
// /etc/polkit-1/rules.d/10-admin-shutdown-reboot.rules
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.login1.power-off" ||
action.id == "org.freedesktop.login1.power-off-ignore-inhibit" ||
/*...SOME_MORE_IDS_HERE...*/
// return polkit.Result.AUTH_ADMIN_KEEP;
return polkit.Result.AUTH_SELF_KEEP;
Last edited by progandy (2015-06-21 17:42:35) -
hi,
I'm using weblogic 7.0 server to replace my weblogic 5.0. I've got an error during
login to the server:
<server failed during initialization Exception: java.lang.securityException: Authentification
for user denied..>
could you help me and tell me what to do ?
Thanks you.
Cyrilcyril,
You should use the same username and password that you used to boot your 5.1 server with.
hope it helps,
-satya
cyril wrote:
In fact, I used the properties converter through the console to convert weblogic.properties
to config.xml and the variables:
WLS_USER=weblogic.
WLS_PWD=weblogic.
The petstoreExamples works but not my application...
satya <[email protected]> wrote:
Cyril,
Did you use the properties converter through the console to convert your
weblogic.properties to
config.xml? What username and password did you use to boot the server?
Thanks,
-satya
cyril wrote:
hi,
I'm using weblogic 7.0 server to replace my weblogic 5.0. I've gotan error during
login to the server:
<server failed during initialization Exception: java.lang.securityException:Authentification
for user denied..>
could you help me and tell me what to do ?
Thanks you.
Cyril -
Use Dreamweaver Log In To use for recordset PHP
Hi I have gone through the tutorials on lost password
recovery for dreamweaver, but wondering if I can use the login
behaviour to do this.
Would it simply be this:
$loginFoundUser = "";
$message = "";
$from = "here is your [email protected]";
$headers = "From: $from";
if (isset($_POST['reg_username'])) {
$loginFoundUser = (get_magic_quotes_gpc()) ?
$_POST['reg_username'] : addslashes($_POST['reg_username']);
mysql_select_db($database_config, $config);
$LoginRS__query=sprintf("SELECT reg_username, reg_password
FROM regid WHERE reg_username='%s' AND reg_password='%s'",
get_magic_quotes_gpc() ? $loginUsername :
addslashes($loginUsername), get_magic_quotes_gpc() ? $password :
addslashes($password));
$LoginRS = mysql_query($LoginRS__query, $config) or
die(mysql_error());
$loginFoundUser = mysql_num_rows($LoginRS);
if ($loginFoundUser) {
$loginStrGroup = "";
&& ($loginFoundUser> 0) {
mail($loginFoundUser['reg_username'],"Your password","Your
password is:
".$loginFoundUser['reg_password'],$headers);
$message = "Your password has been e-mailed to you";
} else {
$message = "Sorry, the e-mail address you supplied is not in
our database";jjjhbj111 wrote:
> Would I be best doing a recordset that is basically
searching the database:
> SELECT reg_username, reg_password FROM regid WHERE
reg_username =
> 'varUsername' LIMIT 1;
> and have a variable where varUsername =
$GET['MM_Username'];
A little knowledge is a dangerous thing. It seems as though
you have
some knowledge of how PHP works, but not yet enough to be
able to adapt
Dreamweaver code to your own requirements. For one thing, it
should be
$_GET, not $GET. The other thing is that MM_Username is a
variable that
Dreamweaver creates after searching the database.
Rather than attempting to hack the Log In User server
behavior, you
would be much better off using an ordinary recordset to get
the
information that you want. I also think it's rather dangerous
to send
out someone's password without first checking the email
address of the
person requesting it. You might also want to employ the
common technique
of asking for the answer to a security question, such as
mother's maiden
name, date of birth, favourite food, or something similar.
Create a form that collects username, email address, and
optionally a
the answer to a security question. Use the post method to
submit the
form and build a query in the Advanced Recordset dialog box
using
variables to get the values of $_POST['username'],
$_POST['email'],
$POST['security_answer']. Recordsets automatically create a
variable
that begins with $totalRows_ followed by the recordset name.
If that
variable is greater than 0, send the email. The password will
be in
$row_recordsetName['reg_password'] (change recordsetName to
the actual
name of the recordset).
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
AS3 / PHP / MySQL - login form
Hello,
I'm trying to create the most basic example I can of an AS3/PHP/MySQL interaction. I want a Flash movie to check a user's login/pass against a DB. I've tested the PHP code and know it's correct. The problem must lie in the AS. I've traced everything to make sure it goes out correctly, but it comes back as the variable names $user, $pass...and some other garbage... not the variable values I am expecting... see below.
The PHP code correctly returns the following when tested in browser: user=dan&pass=danpass&err=Success!
The traced variables $user, $pass, $err return the following in Flash:
undefined
$pass
$err";
echo $returnString;
?>
Here's the ActionScript:
import flash.events.*;
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.net.URLVariables;
import flash.net.URLRequestMethod;
logbtn.addEventListener(MouseEvent.CLICK, login)
function login($e:MouseEvent){
var myVariables:URLVariables = new URLVariables();
var myRequest:URLRequest = new URLRequest("login.php");
myRequest.method = URLRequestMethod.POST;
myRequest.data = myVariables;
var myLoader:URLLoader = new URLLoader;
myLoader.dataFormat = URLLoaderDataFormat.VARIABLES;
myLoader.addEventListener(Event.COMPLETE, completeHandler);
myVariables.user = loguser.text;
myVariables.pass = logpass.text;
myLoader.load(myRequest);
function completeHandler(event:Event):void{
trace(event.target.data.user);
trace(event.target.data.pass);
trace(event.target.data.err);
And here's the PHP:
<?php
include_once "dbconnect.php";
$user = $_POST['user'];
$pass = $_POST['pass'];
$sql = mysql_query("SELECT * FROM users WHERE user = '$user' AND pass = '$pass'");
$check = mysql_num_rows($sql);
if($check > 0){
$row = mysql_fetch_array($sql);
$user = $row["user"];
$pass = $row["pass"];
$err = "Success!";
$returnString = "user=$user&pass=$pass&err=$err";
echo $returnString;
?>
Does anything stand out as being wrong? I've gone over this for probably 10-15 hours trying different variations, tweaks, and reducing it in complexity. I will really appreciate any help you can offer! Thank you.
-EricThanks Birnerseff!
I've been running the SWF from the same directory as the PHP script. I just tried viewing it through my localhost and it worked! I guess I'll have to do all my testing that way, but that's fine.
Thank you very much. I probably wouldn't have messed around with that for a long time otherwise.
-Eric -
Authentification for WebService
Hi,
I'm trying to access a web service that needs an authentification.
How can I pass username and password?
It's not like the OTN example. I need the authentification for the webservice not for the function.
By the way: How can I pass a proxy which needs an authentification?
Thanks!
MarkusHi wolfgang,
Please refer this article for a step by step webservice consumption in .NET
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3057b5a7-99d0-2910-8f8f-f357dc4b70b5
Also if the exception is because of user name and password then try to give some variables instead of string values for user name and password.
Also you can refer this thread for the same problem discussion.
http://www.thescripts.com/forum/thread525060.html
Regards
Sumit Bhutani -
Two form factor authentification for encryption with luks ?
Hello arch forum'
I plan to move to arch til' 2 weeks but i'am looking to do a 2 form factor authentification for a LUKS encrypted system.
Actually, i have read the whole page at >https://wiki.archlinux.org/index.php/Dm-crypt_with_LUKS#Adding_Additional_Passphrases_or_Keyfiles_to_a_LUKS_Encrypted_Partition
But i dont understand if its possible to do a passphrase + keyfile strategy, by the way, if one of the both condition are not completed, the partition is unreadable/stay encrypted.
Keyfile only strategy is useless in my plan, since i need do have my laptop secured Even if someone have physical access to it.
The ideal will be to have the passphrase to enter at boot + keyfile on a USB key
Sincerely
SptnazYeah i will try on a Vmware vm before ..
So after i read this > https://bbs.archlinux.org/viewtopic.php … 38#p943338
Tell me if i'am wrong :
1/ The drive/os is encrypted with AES256-XTS512
2/ The "Keyfile" is GPG/OpenSSL encrypted , can be stored on external media
3/ After all the change done like in the how to, i will need to enter a passphrase (longer is better) FOR the KEYFILE , then the KEYFILE will be unlocked and the encrypted contant on the OS too.
By the way, did ARCH need to put somes data to the MBR of the drive ? I'am using multi-boot system on a 940GB Crucial M5 ssd, with
1/ Windows 7 os for home
2/ Windows 7 os for work
3/ Penetration testing live CD of BT5
4/ > Encrypted OS (Arch)
I think its more likely a clean-partitoning affair but tell me if i'am wrong. -
I have an Ipad My apple ID and password works for Ibooks and Icloud but when I try to get into the app store it doesn't show my entire email address on the account. When I try to get into the app store it tells me my password is incorrect. How can I correct this? I have been emailing support but so far they have been no help
Open the App Store app, go to the Featured pane, swipe to the bottom, tap the Apple ID and sign out. Tap again and sign in with the Apple ID of your choosing.
-
Different Password Policy for Different User Groups in ACS 4.2
Hi All,
Can some one provide a solution for the below requirement?
We do have ACS 4.2 appliance managing firewalls of different clients. The users are common i.e, helpdesk administrators. One of the client came up with setting different password policy for managing their devices i.e, the client wants to have min 15 characters as password length. We do have currently 8 characters as min password length. Can we change the password policy to min 15 characters only for managing the firewalls of this client whereas for all other client firewalls we feel better to have 8 characters as min password length?
It seems that these password policies are global & affects all the users.
This is something like, having two sets of password (for each user) policy depending on the client which he is going to manage.
For my knowledge, i think that this is not possible. But, thought to cross-check with experts!
-Jags.Hi jags,
Yor're correct. Password policy on ACS will affect all internal user. We can't create different password policies for diferent clients/connections/set_of_users
Password validation options apply only to user passwords that are stored in the ACS internal database. They do not apply to passwords in user records in external user databases; nor do they apply to enable or admin passwords for Cisco IOS network devices.
HTH
Regards,
JK -
How do I stop firefox from keeping my email and password online for facebook?
how do I stop firefox from keeping my email and password online for facebook?
== This happened ==
Every time Firefox opened
== in the past weekIf you are not on Windows then see [http://kb.mozillazine.org/Menu_differences]
See [[Options window - Security panel]]
See also:
* http://kb.mozillazine.org/Deleting_autocomplete_entries
* http://kb.mozillazine.org/Password_Manager -
How to Use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA
Hi ,
How to use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA.
May i know what are the input parameters & fields mandatory
for each Table structures ct_data , ct_datax , it_descript , it_longtext.
Can any one explain me Step by Step Process.
B'cos i tried with below code. Equipment is not getting created.
wa_itab-equipment_ext = '000000000100000001'.
wa_itab-descript = 'Test 2 -> Lube Oil Pump'.
wa_itab-text_language = 'EN'.
wa_itab-sdescript = 'Short Description'.
APPEND wa_itab TO it_itab.
CLEAR wa_itab.
LOOP AT it_itab INTO wa_itab.
ct_data-ta_guid = '000000000000000001'.
ct_data-equipment_ext = wa_itab-equipment_ext.
ct_data-descript = wa_itab-descript .
ct_data-valid_date = sy-datum.
ct_data-equicatgry = 'M'.
APPEND ct_data.
CLEAR ct_data.
ct_datax-ta_guid = '000000000000000001'.
ct_datax-equipment_ext = 'X'.
ct_datax-equipment = 'X'.
APPEND ct_datax.
CLEAR ct_datax.
it_descript-ta_guid = '000000000000000001'.
it_descript-text_language = wa_itab-text_language.
it_descript-descript = wa_itab-sdescript .
APPEND it_descript.
CLEAR it_descript.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'LTXT'.
it_longtext-text_line = 'SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'aaaaaaaaaaaaaaa'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'bbbbbbbbbbbb'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'cccccccccccccccc'.
APPEND it_longtext.
CLEAR it_longtext.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
call BAPI-function in this system
CALL FUNCTION 'BAPI_EQUIPMENT_SAVEREPLICA'
TABLES
ct_data = ct_data
ct_datax = ct_datax
it_descript = it_descript
it_longtext = it_longtext
return = return
EXCEPTIONS
OTHERS = 1.
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
WRITE : 'Successful'.
ENDIF.
IF NOT return IS INITIAL.
LOOP AT return.
IF return-type = 'A' OR return-type = 'E'.
WRITE : 'Error'.
ENDIF.
ENDLOOP.
ENDIF.
REFRESH return.
ENDLOOP.
Regards
SUrendarHi ,
How to use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA.
May i know what are the input parameters & fields mandatory
for each Table structures ct_data , ct_datax , it_descript , it_longtext.
Can any one explain me Step by Step Process.
B'cos i tried with below code. Equipment is not getting created.
wa_itab-equipment_ext = '000000000100000001'.
wa_itab-descript = 'Test 2 -> Lube Oil Pump'.
wa_itab-text_language = 'EN'.
wa_itab-sdescript = 'Short Description'.
APPEND wa_itab TO it_itab.
CLEAR wa_itab.
LOOP AT it_itab INTO wa_itab.
ct_data-ta_guid = '000000000000000001'.
ct_data-equipment_ext = wa_itab-equipment_ext.
ct_data-descript = wa_itab-descript .
ct_data-valid_date = sy-datum.
ct_data-equicatgry = 'M'.
APPEND ct_data.
CLEAR ct_data.
ct_datax-ta_guid = '000000000000000001'.
ct_datax-equipment_ext = 'X'.
ct_datax-equipment = 'X'.
APPEND ct_datax.
CLEAR ct_datax.
it_descript-ta_guid = '000000000000000001'.
it_descript-text_language = wa_itab-text_language.
it_descript-descript = wa_itab-sdescript .
APPEND it_descript.
CLEAR it_descript.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'LTXT'.
it_longtext-text_line = 'SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'aaaaaaaaaaaaaaa'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'bbbbbbbbbbbb'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'cccccccccccccccc'.
APPEND it_longtext.
CLEAR it_longtext.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
call BAPI-function in this system
CALL FUNCTION 'BAPI_EQUIPMENT_SAVEREPLICA'
TABLES
ct_data = ct_data
ct_datax = ct_datax
it_descript = it_descript
it_longtext = it_longtext
return = return
EXCEPTIONS
OTHERS = 1.
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
WRITE : 'Successful'.
ENDIF.
IF NOT return IS INITIAL.
LOOP AT return.
IF return-type = 'A' OR return-type = 'E'.
WRITE : 'Error'.
ENDIF.
ENDLOOP.
ENDIF.
REFRESH return.
ENDLOOP.
Regards
SUrendar -
My apple ID password works for all of my devices but one. i only have one account and have changed the password several times but still cannot get it to work on my iPhone. any suggestions would be appreciated.
Thanks for the suggestion, Chris. I actually did not resolve the issue which is why i did not post an answer.
it turns out that my iphone seems to default to an incorrect User ID (it defaults to an @me account, which is not something that i have ever used).
even when i change the User ID in my settings for the iTunes store, it still appears when i attempt to get updates for my existing apps. however, it does seem to use the correct ID when i attempt to purchase new apps.
If someone actually had an answer to correct this, i would love to update my existing apps.
Thank you. -
Is it possible for students to upload documents in Captivate?
Is it possible for students to upload documents into captivate?
Hi there
If you mean that students would be interacting with what Captivate produces, there is nothing that would allow that out of the box. But Captivate does interface with JavaScript and it does have the Web Object available, so I'm pretty sure some clever folks can create code that would open a portal that would allow uploading documents to a server.
Cheers... Rick
Maybe you are looking for
-
How can i create Jar file using Eclipse IDE.
Hi Guys Am new to java. I want convert my project into executable jar file. In my project am using itext.jar.And some other folder. already i create jar file.But its not working.only its working 4 modules after that its say file cannot found exceptio
-
PreE V8: Clips not displaying in project view
I have a clip in the my timeline/sceneline that is not displaying in Project view. It also does not have the "P" in the bottom corner of the thumbnail in Organizer view. Why isn't the clip considered part of the project?
-
Anyone else noticed that the phone usage has not been updated on My BT since 5/7/14. I have definately made calls, and know it takes 48 hours to appear. It seems to coincide with the anytime calls add-on being visible, give or take a few days. It do
-
Glossary tab is looking in the wrong place for the Glossary file
Running 11.0.3.268. I am testing the Responsive layout. In my test project, the TOC, Index, and Search tabs are all functional, but when I click the Glossary tab, I get the IE "This page can't be displayed" message. The path listed on this page is: C
-
Window.open in IE with URL "file:///" results in "Access is Denied" error
Hi All: In a JSP, which gets launched with HTTP or HTTPS protocol, we have a link to open/view the file(attached from local PC) after it gets uploaded to the server. We used the "file:" protocol to open it in a new window. Currently we are stuck with