VBAP - ARKTX is not stored as per Sy-langu
Hi
We have different users viz. login in English, Login in Arabic.
We have maintained the material master description in both the language.
When we create the sales order, the material master description in VBAP-ARKTX is not stored as per Sy-langu.
It is always in English.
Kindly help me where to configure / update in order to make this work.
Regards,
Venkat
Kindly use search before posting - Google 'VBAP-ARKTX language' finds this old post.
Similar Messages
-
Hai all regarding VBAP-ARKTX field updation
Hai experts,
my problem is vbap-arktx is not updating in the sales order creation, i am using exit save_document.my requirement is i want to concatenate description and model no in the characteristic assignment screen into one local variable and it move to VBAP-ARKTX. i had concatenated the description and model no in to one variable and it is moving fine in the xvbap-arktx but when i am saving the document its not updating in vbap-arktx. is it ok for using commit work or update statement or anything plz suggest me .
regards,
venkat.hai heliman,
thanks for ur reply.
i had traied fro move field _vbap its not triggering in VA01 creation time, its triggaring only when VA02 change mode.i am using this FM to get the duiscription and model no
CALL FUNCTION 'VC_I_GET_CONFIGURATION'
i am using this code to read and concatenate these fields in to lv_arktx and moving to xvbap-arktx fine but my problem is once i am saving that order its not reflecting to the vbap-arktx field give me some suggesions to me.
CLEAR gw_conf_out.
READ TABLE gi_conf_out INTO gw_conf_out WITH KEY atwrt = ' DESCRIPTION'.
lv_zdescription = gw_conf_out-atbez.
CLEAR gw_conf_out.
READ TABLE gi_conf_out INTO gw_conf_out WITH KEY atwrt = ' MODEL/STYLE NUMBER'.
lv_model_style_number = gw_conf_out-atbez.
CONCATENATE lv_zvendor lv_zdescription lv_model_style_number INTO lv_arktx
SEPARATED BY space.
MOVE lv_arktx TO xvbap-arktx.
xvbap-arktx = lv_arktx.
CLEAR lv_arktx.
CLEAR gi_conf_out.
ENDLOOP.
regards,
venkat. -
Get the Order # from the Field VBAP-ARKTX field
hi,
i.Order # - for order number parse description field (VBAP-ARKTX) from the right, grab numeric values until reaching a space or # character.
vbap-arktx = 'LABOR'.
vbap-arktx = 'IC,OCTAL BUFFER/DRIVER 74C240'.
vbap-arktx = 'IC,BUS TRNCVR,OCTAL 74HC245'.
vbap-arktx = 'AP CER .1UF 20% 100V AX T/R'.
vbap-arktx = 'CAP,ELECT,RAD,LOESR,1000UF,16V'.
vbap-arktx = 'SOCKET,IC,.600 DIP,40-PIN,PHBZ'.
for the above VBAP-ARKTX Value...how to get the Order# as per the requirement.......
kindly let me knowHi Deepthi...
I am afraid that there is no safe way to do it.
Given that you write such a code snippet, for the examples you provide the resulting order string might be like this:
vbap-arktx = 'LABOR'.
Order = .... nothing... no numeric values found
vbap-arktx = 'IC,OCTAL BUFFER/DRIVER 74C240'.
order = 74C240 or 240 or 74240 ?
vbap-arktx = 'IC,BUS TRNCVR,OCTAL 74HC245'.
order = 74HC245 or 245 or 74245?
vbap-arktx = 'AP CER .1UF 20% 100V AX T/R'.
order = ???
vbap-arktx = 'CAP,ELECT,RAD,LOESR,1000UF,16V'.
order = ???
vbap-arktx = 'SOCKET,IC,.600 DIP,40-PIN,PHBZ'.
order = ???
As you realize, there is no way to tell if there is an order in any case.
Regards,
George. -
Incompletion log Field VBAP POSEX is not defind in incompltion procedure ZA
Hi Friends,
Need some help on this issue.
We have some orders created in production, and when ever we go to VA02-> enter-> it pops up with the below error message." Field VBAP POSEX is not defined in incompletion procedure ZA ".
I already checked the incompletion procuredue and the field VBAP-POSEX (Purchase order item) was not at all defiend.
It gives the incompletion log for only certain line items in the sales order and not for all. There are already few items delivered and we cannot reject the order to create a new one.
I reveiwed this note "1497255 - Incompletion for PO item number (vbap-posex)" but it states it is for specifically for intercompnay orders.
Our case is standard trade order. It woud be really great anyone has come across the same situation so that i can seek for help..
Thank you so much!!
Best Regards,
RamHi Lakshmipathi,
Firstly, thanks for the response.
Yes.. I did checked... the field VBAP-POSEX was not maintained at item level though.
The same item in other order does not have this problem and it is still open.
This is specific to only very few orders, namely 4 or 5 orders but not with others.
Moreover, these materils are widely used among other company codes or sales org but no issues what so ever.
This one appears to be a peculiar case. Thanks for your time and suggestions for looking it over.
Thank you..
Best Regards,
Ram -
Annual Provident Fund not coming as per projection.
Hi,
Annual provident fund is not calculated as per projection basis (Nominal Basis) whenever employee getting LWP.
present calculation in the month of April : Actual Basic = 9000
Basic(after 1 day LWP) 12% : 870012%= 1044-00
Projection : current month PF + current month11 months= 1044+104411 =12528
But it should be the current month PF + 12% on actual basic * remaining months: 1044+1080*11= 13012
Please suggest me to resolve this issue.
Thanks & regards,
vv.hi,
thanks for your reply. /3f6 is coming as explained above. But in another client (sand box) it is coming fine as per projection basis.
it should be the 12% of annual Basic amount. But annual basic is coming ok.
Thanks & regards,
VV -
Gr/ir slip field value is not stored in table mkpf..!!
dear sap gurus,
i have a typical problem.. i am doing Transfer posting from one storage location to another. using MB1B with 311 mov type.. and mentioning some values in the gr/ir slip field.. but system is not storing the value in table..
Can any one say how to solve this.. if i use MIGO_TR then its storinghte value i mentioned in MKPF table..
Regard,
ManuHi Manu,
This GR/GI slip number has only been designed for use in those countries (for example, Italy) whose legislation requires specification of this number for goods that leave the plant and are transported on public roads. In other countries, the material document number printed on the GR/GI slip (in the standard system) is usually sufficient. To enter external documents, you can use the field Material slip or Delivery note.
If still wants to use this field you are required make relevent settings in config.
Please go to transaction OMC1.
There you will find 4 push buttons.
1. Activation of GR/IR slip for plant.
2. Number range grouping code.
3. Intervals for number range.
4. Object(here you are assigning the number range for the plant, storage location and movement type.
This will allow you to store GR/IR slip number in MKPF with trx. MB1B
Regards
Mauro -
Data not storing in Custom infotype build with tab strips
Hi All,
I have created one custom infotype 9030,
With screen 2000.
which is having tab strips, I have build the screens refering to p9030-zztest its not storing in database.
where I am doing wrong...please let me know what should be done in this case.
Regards
Satish.vHi,
Checkout the below link :
<link to blacklisted site removed by moderator>
Shailaja Ainala.
Edited by: Thomas Zloch on Jan 28, 2012 9:06 PM -
In FTP server file not storing in proper order when 'FTP_R3_TO_SERVER'
Dear ,
when i used FTP_R3_TO_SERVER to download data in FTP server
i checked in FTP server file is not storing in proper order in FTP server . plz help how to get the file in proper order .it urgent . full points must be given. i given code below .
DATA : BEGIN OF iresult OCCURS 5,
rec(450),
END OF iresult ,
DATA :
dest LIKE rfcdes-rfcdest VALUE 'SAPFTP',
compress TYPE c VALUE 'N',
host(64) TYPE c.
DATA: hdl TYPE i.
DATA: BEGIN OF result OCCURS 0,
line(100) TYPE c,
END OF result.
DATA : key TYPE i VALUE 26101957 ,
dstlen TYPE i,
blob_length TYPE i.
host = p_host .
DESCRIBE FIELD p_password LENGTH dstlen IN CHARACTER MODE.
CALL 'AB_RFC_X_SCRAMBLE_STRING'
ID 'SOURCE' FIELD p_password ID 'KEY' FIELD key
ID 'SCR' FIELD 'X' ID 'DESTINATION' FIELD p_password
ID 'DSTLEN' FIELD dstlen.
CALL FUNCTION 'FTP_CONNECT'
EXPORTING
user = p_user
password = p_password
host = host
rfc_destination = dest
IMPORTING
handle = hdl
EXCEPTIONS
not_connected = 1
OTHERS = 2.
IF sy-subrc = 0.
CONCATENATE 'cd' ftppath INTO ftppath SEPARATED BY space .
CALL FUNCTION 'FTP_COMMAND'
EXPORTING
handle = hdl
command = ftppath
TABLES
data = result
EXCEPTIONS
command_error = 1
tcpip_error = 2.
IF sy-subrc = 0 .
CLEAR result .
REFRESH result .
CALL FUNCTION 'FTP_COMMAND'
EXPORTING
handle = hdl
command = 'ascii'
TABLES
data = result
EXCEPTIONS
command_error = 1
tcpip_error = 2.
IF sy-subrc = 0 .
DESCRIBE TABLE iresult LINES lines.
blob_length = lines * width .
clear : lines.
Delete the existing file
CONCATENATE 'del' ftpfile INTO delfile SEPARATED BY SPACE.
CALL FUNCTION 'FTP_COMMAND'
EXPORTING
handle = hdl
command = delfile
TABLES
data = result
EXCEPTIONS
command_error = 1
tcpip_error = 2.
*End of deleting the existing file
CALL FUNCTION 'FTP_R3_TO_SERVER'
EXPORTING
handle = hdl
fname = ftpfile
blob_length = blob_length
TABLES
blob = iresult
EXCEPTIONS
TCPIP_ERROR = 1
COMMAND_ERROR = 2
DATA_ERROR = 3
OTHERS = 4.
IF sy-subrc 0 .
WRITE 'Error in writing file to ftp' .
ELSE.
WRITE 'File downloaded on the ftp server successfully'.
ENDIF.
ENDIF.
ELSE.
WRITE : 'Path on ftp not found : ' , ftppath .
ENDIF.
CALL FUNCTION 'FTP_DISCONNECT'
EXPORTING
handle = hdl.
CALL FUNCTION 'RFC_CONNECTION_CLOSE'
EXPORTING
destination = 'SAPFTP'
EXCEPTIONS
OTHERS = 1.
ELSE.
WRITE 'Could not connect to ftp' .
ENDIF.
ENDFORM. " FTPFINANCEACCESS_DOWNLOAD
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-name = 'PASSWORD'.
screen-invisible = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Edited by: manoj kv on Feb 27, 2008 12:55 PM
Edited by: manoj kv on Feb 28, 2008 5:37 AM
Edited by: manoj kv on Feb 28, 2008 5:39 AM
Edited by: manoj kv on Mar 5, 2008 2:15 PM
Edited by: manoj kv on Mar 7, 2008 12:51 PMHello,
Did you try to put 'X' to the parameter CHARACTER_MODE.
Hope it will help you
Olivier -
Session variable not storing in custom trigger
I have a custom trigger in which I want to store a session variable , so i can use the value in the insert transaction which happens after. But for some reason the session variable is not stored, resulting in the data not being stored.
any clues would help.
rudi
here are the relevant code:
//start Trigger_Custom_Subject_Mentor trigger
function Trigger_Custom_Subject_Mentor(&$tNG) {
//Check subject exists
@session_start();
$_SESSION['sb_id'] = $subject_id;
//end Trigger_Custom_Subject_Mentor trigger
// Make an insert transaction instance
$ins_share = new tNG_insert($conn_smart);
$tNGs->addTransaction($ins_share);
// Register triggers
$ins_share->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Insert1");
$ins_share->registerTrigger("END", "Trigger_Redirect", 90);
// Add columns
$ins_share->setTable("`share`");
$ins_share->addColumn("share_item", "NUMERIC_TYPE", "POST", "share_item");
$ins_share->addColumn("share_subject", "NUMERIC_TYPE", "SESSION", "sb_id");
$ins_share->setPrimaryKey("share_id", "NUMERIC_TYPE");
// Register triggers
$ins_share->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Insert1");
$ins_share->registerTrigger("BEFORE", "Trigger_Custom_Subject_Mentor", 50);
$ins_share->registerTrigger("END", "Trigger_Default_Redirect", 99, "share.php?item_id={share_item}");hi User,
1) Pull a dummy column in Fx use the Session variable --->(Variable -->session )
2) Next, goto narrative view in Narrative view section use @1
3) If u want you can hide the column that we created in criteria section -
I had to buy a new phone b/c my last one broke before my 2 year contract was up. I have another 4S. I use iCloud and backed up my old phone earlier this month. I am wanting to upload my contacts & notes stored on iCloud to my new phone. How can I do this from the back up on my home computer before retrieving the backup from iCloud? I am not wanting to wipe everything out on accident..
Sorry but I'm a bit confused about what you're asking. You seem to be indicating that you have an iCloud backup as well as a backup on your computer but it isn't clear to me what you are trying to do with them. Can you explain this?
-
Ical not storing all data & cant initialize lists
okay so im trying to store all ical data in seperate lists for hours months years and the actual event ect....it worked fine for a while but now its not storing all the events....and then when it did it would carry over from one run to another. I figured out that was probably because they were properties but when i make the lists global i get a "this variable is not initialized" problem. and even if i somehow managed to fix that its still not reading in all the data. ive been at this for 2 hours and cant see the problem. please help:
variable defs:
(*System Variables*)
global running_processes
global _weekday
global _date
global _month
global _year
global _hours
global _minutes
global _seconds
global time_ofday
(*iCal Variables*)
global iCal_Open
global iCal_Run
global iCal_Calendars
global iCal_Events
global icaleventsstore
global icaleventslast
global iCalEvents_StartMonth
global iCalEvents_StartDate
global iCalEvents_Startyear
global iCalEvents_Starthours
global iCalEvents_StartMinutes
global iCalEvents_EndMonth
global iCalEvents_EndDate
global iCalEvents_Endyear
global iCalEvents_Endhours
global iCalEvents_EndMinutes
global iCalEventsStart
global iCalEventsEnd
code to split up dates and date:
on Ref_Events()
proc()
if running_processes contains "iCal" then
(*if iCal is open do the code as normal*)
set iCal_Run to 1
set iCal_Open to 1
tell application "iCal"
set iCalEventsStart to the start date of every event in every calendar
set iCalEventsEnd to the end date of every event in every calendar
set iCal_Events to the summary of every event in every calendar
set x to 1 --holds calendar to be used
set y to 1 --holds event to be used
repeat while x is less than or equal to the number of items in iCal_Events
repeat while y is less than or equal to the number of items in item x of iCal_Events
get item y in item x in iCalEventsStart as string
set temp_date to the result
--start dates
set iCalEvents_StartMonth to iCalEvents_StartMonth & the second word of temp_date
set iCalEvents_StartDate to iCalEvents_StartDate & the third word of temp_date
set iCalEvents_Startyear to iCalEvents_Startyear & the fourth word of temp_date
set iCalEvents_Starthours to iCalEvents_Starthours & the fifth word of temp_date
set iCalEvents_StartMinutes to iCalEvents_StartMinutes & the sixth word of temp_date
--end dates
get item y in item x in iCalEventsEnd as string
set temp_date to the result
set iCalEvents_EndMonth to iCalEvents_EndMonth & the second word of temp_date
set iCalEvents_EndDate to iCalEvents_EndDate & the third word of temp_date
set iCalEvents_Endyear to iCalEvents_Endyear & the fourth word of temp_date
set iCalEvents_Endhours to iCalEvents_Endhours & the fifth word of temp_date
set iCalEvents_EndMinutes to iCalEvents_EndMinutes & the sixth word of temp_date
--event description
get item y in item x in iCal_Events as string
set temp_event to the result as string
set icaleventsstore to icaleventsstore & temp_event
set y to y + 1
end repeat
set x to x + 1
end repeat
end tell
else
(*if iCal is not open do the code then close it*)
if iCal_Run is 0 then
set iCal_Run to 1
tell application "iCal"
set iCalEventsStart to the start date of every event in every calendar
set iCalEventsEnd to the end date of every event in every calendar
set x to 1 --holds calendar to be used
set y to 1 --holds event to be used
repeat while x is less than or equal to the number of items in iCalEventsStart
repeat while y is less than or equal to the number of items in item x of iCalEventsStart
get item y in item x in iCalEventsStart as string
set temp_date to the result
--start dates
set iCalEvents_StartMonth to iCalEvents_StartMonth & the second word of temp_date
set iCalEvents_StartDate to iCalEvents_StartDate & the third word of temp_date
set iCalEvents_Startyear to iCalEvents_Startyear & the fourth word of temp_date
set iCalEvents_Starthours to iCalEvents_Starthours & the fifth word of temp_date
set iCalEvents_StartMinutes to iCalEvents_StartMinutes & the sixth word of temp_date
--end dates
get item y in item x in iCalEventsEnd as string
set temp_date to the result
set iCalEvents_EndMonth to iCalEvents_EndMonth & the second word of temp_date
set iCalEvents_EndDate to iCalEvents_EndDate & the third word of temp_date
set iCalEvents_Endyear to iCalEvents_Endyear & the fourth word of temp_date
set iCalEvents_Endhours to iCalEvents_Endhours & the fifth word of temp_date
set iCalEvents_EndMinutes to iCalEvents_EndMinutes & the sixth word of temp_date
--event description
get item y in item x in iCal_Events as string
set temp_event to the result as string
set icaleventsstore to icaleventsstore & temp_event
set y to y + 1
end repeat
set x to x + 1
end repeat
end tell
quit application "iCal"
end if
end if
if icaleventsstore is not icaleventslast then
say "new events stored in I Cal. Would you Like to View a List of all events?"
display dialog "View List of Events?" buttons {"Yes", "No"} default button 2
if the button returned of the result is "Yes" then
choose from list icaleventsstore with prompt "All the Current Events"
else
-- action for 2nd button goes here
end if
set icaleventslast to icaleventsstore
end if
end Ref_EventsYou need to be careful when using conditional statements to set global variables (the global declaration does not set any values). I can't tell from the just the one handler you posted, but an example would be the iCal_Run variable - unless it is declared somewhere else, it won't have a value if there isn't an iCal process.
-
How do I change my incoming call view to see the "phone number" instead of seeing "Unknown" for contacts who are not stored in my phone? Whenever a call comes in it says unknow instead on the phone number that is calling.
You need to set up the accounts in System Preferences/Accounts, then activate Fast User Switching.
That way you can quickly log in to your own account - then back to his.
You should obviously have different passwords. -
Sent mail occasionally not stored in sent folder
Hi,
we encountered weird problem with OS X server behaviour where user sent email via smtp server and it is not stored in his/her mailbox.
This issue is happening time to time I would say almost randomly.
Do you have any idea why this is happening and where is the sent mail?
I picked a case and gathered relevant logs:
Thank you in advance
Server OS 10.10.1 server 4.0.3
Amavis.log
Apr 1 17:10:28 smtp.server.tld /Applications/Server.app/Contents/ServerRoot/usr/bin/amavisd[99344]: (99344-14) ESMTP:[127.0.0.1]:10024 /Library/Server/Mail/Data/scanner/amavis/tmp/amavis-20150401T162847-99344-AfuMa tsy: <[email protected]> -> <[email protected]>,<[email protected]> SIZE=42753 Received: from smtp.server.tld ([127.0.0.1]) by localhost (smtp.server.tld [127.0.0.1]) (amavisd-new, port 10024) with ESMTP; Wed, 1 Apr 2015 17:10:28 +0200 (CEST)
Apr 1 17:10:28 smtp.server.tld /Applications/Server.app/Contents/ServerRoot/usr/bin/amavisd[99344]: (99344-14) Checking: JjUbZ6HVURz7 [31.7.245.146] <[email protected]> -> <[email protected]>,<[email protected]>
Apr 1 17:10:28 smtp.server.tld /Applications/Server.app/Contents/ServerRoot/usr/bin/amavisd[99344]: (99344-14) Open relay? Nonlocal recips but not originating: [email protected]
Apr 1 17:10:28 smtp.server.tld /Applications/Server.app/Contents/ServerRoot/usr/bin/amavisd[99344]: (99344-14) FWD from <[email protected]> -> <[email protected]>,<[email protected]>,BODY=7BIT 250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 920CA6DC5A3
Apr 1 17:10:28 smtp.server.tld /Applications/Server.app/Contents/ServerRoot/usr/bin/amavisd[99344]: (99344-14) Passed CLEAN {RelayedInbound,RelayedOpenRelay}, [31.7.245.146]:47116 [31.7.245.146] <[email protected]> -> <[email protected]>,<[email protected]>, Queue-ID: 1D4EE6DC589, Message-ID: <[email protected]>, mail_id: JjUbZ6HVURz7, Hits: 0.732, size: 42753, queued_as: 920CA6DC5A3, 493 ms
mail.log
Apr 1 17:10:28 smtp.server.tld postfix/smtp[1487]: 1D4EE6DC589: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.55, delays=0.03/0.02/0/0.49, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 920CA6DC5A3)
Apr 1 17:10:36 smtp.server.tld postfix/smtp[1493]: 920CA6DC5A3: to=<[email protected]>, relay=mail.receiverserver.com[11.22.33.44]:25, delay=7.4, delays=0.06/0.03/0.37/7, dsn=2.0.0, status=sent (250 OK id=1YdKHr-0006of-5z)
filter na 920CA6DC5A3
Apr 1 17:10:28 smtp.server.tld postfix/smtpd[1491]: 920CA6DC5A3: client=localhost[127.0.0.1]
Apr 1 17:10:28 smtp.server.tld postfix/cleanup[1486]: 920CA6DC5A3: message-id=<[email protected]>
Apr 1 17:10:28 smtp.server.tld postfix/qmgr[215]: 920CA6DC5A3: from=<[email protected]>, size=43163, nrcpt=2 (queue active)
Apr 1 17:10:28 smtp.server.tld postfix/smtp[1487]: 1D4EE6DC589: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.55, delays=0.03/0.02/0/0.49, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 920CA6DC5A3)
Apr 1 17:10:28 smtp.server.tld postfix/smtp[1487]: 1D4EE6DC589: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.55, delays=0.03/0.02/0/0.49, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 920CA6DC5A3)
Apr 1 17:10:28 smtp.server.tld postfix/pipe[1495]: 920CA6DC5A3: to=<[email protected]>, orig_to=<[email protected]>, relay=dovecot, delay=0.16, delays=0.06/0.01/0/0.1, dsn=2.0.0, status=sent (delivered via dovecot service)
Apr 1 17:10:36 smtp.server.tld postfix/smtp[1493]: 920CA6DC5A3: to=<[email protected]>, relay=mail.receiverserver.com[11.22.33.44]:25, delay=7.4, delays=0.06/0.03/0.37/7, dsn=2.0.0, status=sent (250 OK id=1YdKHr-0006of-5z)
Apr 1 17:10:36 smtp.server.tld postfix/qmgr[215]: 920CA6DC5A3: removedI have a few users reporting the same problem. It is inconsistent and I have not found a way to reproduce it at will.
Our users have been BCC them selves so they have a copy to move to sent it if is not there.
They have also reported mail being copied to the Send and Drafts folders when they send it.
When they login from a different mail client the folders are the same. So I am assuming the problem is server side? Or at least the result is.
Is it the clients job to ask the server to move the mail from outbox to the sent folder?
I think this is where the problem is occurring.
We were looking at it this morning and moving mail around from Drafts to Trash and Sent. Mostly it moved around fine but there was one instance where we moved mail from Drafts to Trash.
We then quit and opened mail again (we waited until the activity window was empty)
The mail we moved to Trash was gone. But a new mail was in Drafts that had been sent earlier that morning. A copy was still in the Sent folder.
We could not reproduce this.
We also have roundcube but it is the mail.app clients that notice the problems. They are the majority so it is to be expected.
Clients OS X 10.10.2, mail.app 8.2
Server 4.0.3, OS X 10.10.2, Roundcube 1.0.3 (Topicdesk Roundcube Installer 1.0.3a) -
Problem - Values are not stored into Tables when value are accepted from us
// jsp code
<%@ page import="java.util.Enumeration" %>
<%@ page import="java.util.Vector" %>
<%@ page import="java.util.*" %>
<%@ page import="java.lang.*" %>
<%@ page import="java.sql.*" %>
<%@ page import="beans.register2" %>
<jsp:useBean id="registerbn" scope= "session" class="beans.register2" />
<% String base = (String) session.getAttribute("base");
registerbn.setDburl((String)session.getAttribute("dbUrl"));
registerbn.setDbuser((String)session.getAttribute("dbUserName"));
registerbn.setDbpasswd((String)session.getAttribute("dbPassword"));
System.out.println("Inside jsp - setMembers of promotion successful");
// registerbn.setMembers1();
System.out.println("after setting");
%>
<%
String action=request.getParameter("action");
%>
<HTML>
<HEAD>
<TITLE> TIFR INTRANET </TITLE>
</HEAD>
<HEAD>
<script language="JavaScript1.2">
//some validations functions
</script>
</head>
<body>
<table valign="top" align="top">
<TR>
<TD COLSPAN="100%"><jsp:include page="Header.jsp" flush="true"/></TD>
</TR>
<TR>
<TD align="top" valign="top"><jsp:include page="menu.jsp" flush="true"/>
<font face="arial" size="1">
site developed by ADPCell TIFR
</font>
</td>
<td>
<table cellpadding="2" cellspacing="3" width="40%">
<form method="post" action="./beans.register2">
<td width="40" align="center"
<font face="arial" size="5" align="right">
<b>
Registration <hr> </hr>
</b>
</font>
<br>
</td>
<tr valign="center" width="80%">
<td width="40%">
<b><font face="Arial" size="2">IdCode </b> </font>
</td>
<td width="40%">
<b><font face="Arial" size="2">
<input type="text" name="idcode" size="6" style="border-style:solid" value="">
</font></b>
</td>
</tr>
<tr width="80%">
<td width="40%">
<b><font face="Arial" size="2">User </font></B></td>
<td width="40%">
<input type="text" name="user" size="12" style="border-style: solid" value="">
</font></b></td>
</tr>
<tr width="80%">
<td width="40%">
<b><font face="Arial" size="2">Password </font></B></td>
<td width="40%">
<input type="password" name="password" size="25" tabindex="20" style="border-style: solid" width="12" value="">
</font></b></td>
</tr>
<tr width="80%">
<td width="40%">
<b><font face="Arial" size="2">Section code </font></b></td>
<td width="40%">
<select size="1" name="section_code" tabindex="9"
style="border-style: solid">
<%@ include file="section.txt" %>
<!-- left for password -->
1)
<tr width="80%">
<td width="40%">
<b><font face="Arial" size="2">Category </font> </b></td>
<td width="80%">
<font face="arial" size="2"> <b>
<input type="radio" name="Category" value="General">General
<input type="radio" name="Category" Value="Operators">Operators
<input type="radio" name="Category" Value="Heads">Heads<BR>
</b> </font>
</td>
</tr>
<tr width="80%">
<td width="40%">
<b><font face="Arial" size="2">Budget Category </font> <b> </td>
<td width="40%">
<font face="Arial" size="2"> <b>
<input type="radio" name="BCategory" value="General">BGeneral
<input type="radio" name="BCategory" Value="Operators">Operators
<input type="radio" name="BCategory" Value="Head">Head
</td>
</tr>
<tr width="80%">
<td width="40%">
<b><font face="Arial" size="2">Budget Heads
</font></b></td>
<td width="40%">
<b><font face="Arial" size="4">
<textarea rows="2" name="Bheads" cols="20" size="100"
style="border-style: solid">
</textarea></font></b></td></tr>
<tr width="80%">
<td width="40%">
<b><font face="Arial" size="2">Other Category</font></b></td>
<td width="40%">
<b><font face="Arial" size="2">
<select size="1" name="OtherCategory" tabindex="20" style="border-style:
solid" size="2"><OPTION value="EH">EH
<OPTION value="EO">EO
<OPTION value="FH">FH
<OPTION value="FO">FO
<OPTION value="AO">AO
<OPTION value="AH">AH
</select></font></b></td>
</tr>
<tr width="80%">
<td width="40%">
<b><font face="Arial" size="2">email </font></b></td>
<td width="40%">
<b><font face="Arial" size="2">
<input type="text" name="email" size="20" style="border-style:
solid" width="6">
</font></b></td>
</tr>
<tr width="80%">
<td width="40%">
<font face="Arial" size="2"><b>Dob </font></b></td>
<td width="40%">
<font face="Arial" size="2"><b>
<select size="1" name="day" style="border-style: solid"><OPTION value="0">Day
<% int i;
for(i=1;i<=31;i++)
out.print("<OPTION VALUE=\""+i+"\">"+i+"</option>");
%>
</select>
<select size="1" name="month" style="border-style: solid" ><OPTION value="0">Month
<OPTION value="1" >January
<OPTION value="2" >February
<OPTION value="3" >March
<OPTION value="4" >April
<OPTION value="5" >May
<OPTION value="6" >June
<OPTION value="7" >July
<OPTION value="8" >August
<OPTION value="9" >September
<OPTION value="10">October
<OPTION value="11">November
<OPTION value="12">December
</select>
<select size="1" name="year" style="border-style: solid">
<% int j;
for(j=1950;j<=2000;j++)
out.print("<option value=\""+j+"\">"+j+"</option>");
%>
</select></b></font></td>
</tr>
<br> <br>
<tr width="80%">
<td width="40%">
<b><font face="Arial" size="2">Date of Join
</font></b></td>
<td width="40%">
<b><font face="Arial" size="2">
<select size="1" name="day1" style="border-style: solid"><OPTION value="0">Day
<% int k;
for(k=1;k<=31;k++)
out.print("<OPTION VALUE=\""+k+"\">"+k+"</option>");
%>
</select>
<select size="1" name="month1" style="border-style: solid" ><OPTION value="0">Month
<OPTION value="1" >January
<OPTION value="2" >February
<OPTION value="3" >March
<OPTION value="4" >April
<OPTION value="5" >May
<OPTION value="6" >June
<OPTION value="7" >July
<OPTION value="8" >August
<OPTION value="9" >September
<OPTION value="10" >October
<OPTION value="11" >November
<OPTION value="12" >December
</select>
<select size="1" name="year1" style="border-style: solid">
<% int l;
for(l=1950;l<=2000;l++)
out.print("<OPTION VALUE=\""+l+"\">"+l+"</option>");
%>
</select>
</b></font></td>
</tr>
</table>
<table cellpadding="2" cellspacing="3" width="40%" >
<tr width="100%">
<td width="30%">
<input type="Submit" value="Submit" name="B1" > </td>
<td width="40%">
<input type="reset" value="Reset" name="B2"></td>
<%
//String action=request.getParameter("Submit1");
if(action!=null && action.equals("Submit"))
try{
String idcode=request.getParameter("idcode");
String user=request.getParameter("user");
String password=request.getParameter("password");
String seccode=request.getParameter("section_code");
String Category=request.getParameter("Category");
String BCategory=request.getParameter("BCategory");
String Bheads=request.getParameter("Bheads");
String OtherCategory=request.getParameter("OtherCategory");
String email=request.getParameter("email");
String day=request.getParameter("day");
String month=request.getParameter("month");
String year=request.getParameter("year");
String Dob=day+"/"+month+"/"+year;
String day1=request.getParameter("day1");
String month1=request.getParameter("month1");
String year1=request.getParameter("year1");
String Doj=day1+"/"+month1+"/"+year1;
registerbn.setIdcode("idcode");
registerbn.setUser("user");
registerbn.setPasswd("password");
registerbn.setSec_code("seccode");
registerbn.setCategory("Category");
registerbn.setBut_cat("BCategory");
registerbn.setBut_heads("Bheads");
registerbn.setOther_Category("OtherCategory");
registerbn.setEmail("email");
registerbn.setDob("Dob");
registerbn.setDoj("Doj");
registerbn.saveData();
}catch(Exception ex)
out.println("ERROR :has occured ");
%>
</table>
</table>
</table>
</form>
</td>
</tr>
<jsp include page="Footer.jsp" flush="true"/>
------------------ End of JSP Programs ----------------
// Beans Code
package beans;
import java.util.*;
import java.util.Date;
import java.util.Vector;
import java.sql.*;
public class register
private String idcode;
private String user;
private String passwd;
private String sec_code;
private Vector sec_names;
private String category;
private String bud_cat;
private String bud_heads;
private String other_category;
private String email;
private String dob;
private String doj;
private String ent_dt;
private String act_dt;
private String dbUrl=null;
private String dbUser=null;
private String dbPassword=null;
public void setDburl(String u)
dbUrl=u;
public void setDbuser(String us)
dbUser=us;
public void setDbpasswd(String Pass)
dbPassword=Pass;
public String getIdcode()
return idcode;
public void setIdcode(String i)
idcode=i;
public String getUser()
return user;
public void setUser(String u)
user=u;
public String getPasswd()
return passwd;
public void setPasswd(String p)
passwd=p;
public Vector getSec_names()
return sec_names;
public void setSec_names()
// This function should select valid section code from the database and then populate the sec_names vector.
public String getSec_code()
return sec_code;
public void setSec_code(String s)
sec_code=s;
public String getCategory()
return category;
public void setCategory(String c)
category=c;
public String getBud_cat()
return bud_cat;
public void setBud_cat(String b)
bud_cat=b;
public String getBud_heads()
return bud_heads;
public void setBud_heads(String b)
bud_heads=b;
public String getOther_Category()
return other_category;
public void setOther_category(String o)
other_category=o;
public String getEmail()
return email;
public void setEmail(String s)
email=s;
public String getDob()
return dob;
public void setDob(String d)
dob=d;
public String getDoj()
return doj;
public void setDoj(String d)
doj=d;
public String getAct_dt()
return act_dt;
public void setAct_dt(String d)
act_dt=d;
public void setMembers()
Connection conn;
Statement stmt;
String query="Select sec_code from web.section";
sec_details=new Vector();
try
conn=DriverManager.getConnection(dbUrl, dbUser, dbPassword);
System.out.println("connected");
stmt=conn.createStatement();
System.out.println("Statement Created");
ResultSet rs=stmt.executeQuery(query);
do
String seccode=rs.getString(1);
sec_details.addElement(seccode);
}while(rs.next());
rs.close();
stmt.close();
conn.close();
}catch(SQLException e)
System.out.println("Execution Occured" +e);
catch(Exception e)
System.out.println("Execution Occured" +e);
public void saveData()
Connection conn;
Statement stmt;
String id=getIdcode();
String use=getUser();
String pass=getPasswd();
String mail=getEmail();
String sec=getSec_code();
String cat=getCategory();
String oth=getOther_Category();
String bud=getBud_cat();
String dob1=getDob();
String doj1=getDoj();
String budh=getBud_heads();
String query="insert into wb_register " + "(idcode, user, passwd, sec_code, category, bud_cat, bud_heads, other_category, email , dob, doj, ent_dt)" + " values('"+id+"','"+use+"','"+pass+"','"+sec+"','"+cat+"','"+bud+"','" budh"','" oth"','"+mail+"','"+dob1+"','"+doj1+"','"+"Sysdate"+"')";
try
conn=DriverManager.getConnection(dbUrl,dbUser,dbPassword);
System.out.println("connected");
stmt=conn.createStatement();
stmt.executeUpdate(query);
stmt.close();
conn.close();
catch(SQLException e)
System.out.println("Exception occured" +e);
catch(Exception er)
System.out.println("Exception occured" +er);
------------------------End of Beans Program ---------------
Questions:-
1) when we are submitting values to form it is not stored into backend (Oracle 9i)
2) please send some source code for how to fetch values from backend and wants stored into Combo box /select Box
3) We have faced problem of How call methods of Bean program into JSP programsThe code to get the values from the database and store them in the combo box or select box would be as follows:
<%
zSQL = "select id, name from Users"
rs = Con.ExecuteQuery(zSQL);
if(!rs.next()) {
%>
<select name="id">
<option value="0">select the name</option>
<%
do {
%>
<option value="<%= rs.getString(1) %>"><%= rs.getString(2) %></option>
<%
while (rs.next());
%>
</select>
<%
else {
out.println("No Record Found");
%>
This would help you better.
and for your first question, please check whether u are able to connect database with your connection method. if you are able to connect to the database, then please check the values (print them on the browser) which are posted from form, if it is also correct then check you r insert statement.
and for your last question the best tutorial is JAVA API.
Cheers!
Rambee -
Excise base amount is not changing as per the scheduling agreement
Sub: in migo excise base amount is not changing as per the scheduling agreement type LP ( time dependent ).
I have created the scheduling agreement type LP with time dependent.
I have maintained the price value in two validated period i.e
01/07/08 to 31/07/08 price is 100 rs.
01/08/08 to 31/08/08 price is 200 rs.
I have maintained the delivery schedule on
15/07/08 of quantity 1 nos.
When I am doing the goods receipts for the scheduling agreement on
Document date I am giving 15/07/08.
Posting date I am giving 15/07/08.
I am giving the posting date in the excise also 15/07/08.
After item ok.
When I will the excise base value it is taking 200 and also excise duty is also calculating on 200.
When I will post the document
The stock account and GR/IR account is taking 100 only
And excise duty is posting for rs: 200 only
Why the excise base value is not changing as per the validity period.
What setting I have to do the change the excise base value as per the validity date maintained in the time dependent .
regards
jrpdear sir
doc date and posting date i have given 15/07/08 and also excise posting date i have given 15/07/08,
but excise base value it is taking Rs:200 .
in inforecord price date category 5-goods recepit date i have given
yes i ahve changed the excise base value it will post , if i will not change the excise base value i will post rs:200 only and GR/IR clearing account will post Rs100 only.
why the excise base value will not take based on the time dependent.
regards
JRP
Maybe you are looking for
-
my ipad isn't showing up as a device on my computer
-
DME file in XML format in SAP 4.6C
Hi Experts, For a Belgium client, I have a requirement to generate DME file in XML format for payments made to foreign and domestic vendors. I want to know the following, 1. Can DME file be generated in XML format using classic payment medium progr
-
DV6700 constantly cycles on and off
My laptop just keeps rebooting over and over and over constanty. It won't open windows at all regularly or even Safe Mode. I've tried to use Last Known Good Config. but still won't open. This started after I seen a blue screen saying it was dumping f
-
The Element tag for CSS - how to use it?
Hi, I was watching this video and this guy was using Inspect Element in Chrome to identify things he wanted to change in a web page. I remember him using this a lot: element.style { ...and then write in Dreamweaver the changes to his CSS. I've not
-
Satellite Pro L300-EZ1004X - TouchPad stopped working, BIOS update does not help
I have a Satellite Pro L300-EZ1004X laptop. Few days ago TouchPad stopped working. This is not a Fn + F9 issue. In Device Manager it looks like hidden device and has (!) on it. Re-installing Synaptics drivers, updating them, removing the device in Sa