PrinterJob.setCopies(*) [How do I get * value]
In my app, when a user prints, they are presented with a dialog that allows them to specify the number of copies to print.
The print dialog is invoked with the following code:
PrintService service =
ServiceUI.printDialog(
null,
x,
y,
services,
PrintServiceLookup.lookupDefaultPrintService(),
null,
attributes);
I then set this service as the printService for the job:
printerJob.setPrintService(service);
printerJob.print();
The only issues is that when the user updates the number of copies they require for printing on the printDialog, this information is not applied when the print service is set on the job (so one copy is only ever printed).
I know I can use the printerJob.setCopies(int) method. But my issue is I cannot obtain that integer value to set on that method that should (I think) be available from the 'service' variable returned by the dialog.
Any thoughts??
Thanking you in advance..........
I'm relatively new to struts but I think this can be done a little easier using the logic tags that accompany struts.
<logic:equal name="editlocationform" property="siteCountry" value="USA">
insert code here
</logic:equal>
You could follow this with other equal tags, or if you just have one other option they use a <logic:notEqual....>
Another thing you might want to do is use the <html:option....> tag for your select.
I found this documentation to be pretty useful, just click on the Tags links under developer guides.
http://jakarta.apache.org/struts/userGuide/index.html
Hope this helps,
Matt
Similar Messages
-
How can I get values from listbox?
Hi all,
I need to get price values from Price List (Inventory -> Item Master Data screen). It's important to get values from field 'Price' BEFORE item will be added/updated.
How can I get values from Pricelist listbox?
Thanks for any suggestions or short sample code.
Best regards,
AndyHi Andy
Here is som sample code that will get the description of the price list and also the price that is displaying at the time. The item master must be open for this snippet of code
Public Sub GetItemPriceFromOpenWindow()
'this is assuming item master is open
Dim oEdit As SAPbouiCOM.EditText
oEdit = SBO_Application.Forms.GetForm("150", 1).Items.Item("34").Specific
SBO_Application.MessageBox(oEdit.Value)
Dim oCmb As SAPbouiCOM.ComboBox
oCmb = SBO_Application.Forms.GetForm("150", 1).Items.Item("24").Specific
SBO_Application.MessageBox(oCmb.Selected.Description)
End Sub
Hope it helps -
How can i get value from tilelist?
I have created checkbox in itemRenderer that use for TileList
How can i get value (checked) from checkbox?"Marsza" <[email protected]> wrote in
message
news:g6r6vj$di0$[email protected]..
> Help me please....... T_T
Could you rephrase the question? -
How to set/get value in dynamically created components?
I need to create dynamically form based on definition written in database.
I created an empty panelGreed in my jsf page
<h:panelGrid columns="2" id="parseg"
binding="#{ParsegBean.uiKatparam}">
</h:panelGrid>I can�t use dataTable, because my form contains various component types (SelectOneMenu, OutputText, and InputText).
In my bean I create components dynamically:
Private UIPanel uiKatparam = null;
Iterator componentIt = myComponentList.iterator()
while(componentIt.hasNext()){
MyComponent myComponent = (MyComponent) componentIt.next();
HtmlOutputText prompt = new HtmlOutputText();
prompt.setValue(myComponent.getPrompt());
prompt.setId(myComponent.getPromptId());
uiKatparam.getChildren().add(prompt);
switch (myComponent.type) {
case 1: //InputText
HtmlInputText iText = new HtmlInputText();
iText.setId(myComponent.getId());
iText.setValue(myComponent.getDefaultValue());
uiKatparam.getChildren().add(iText);
break;
case 2: //SelectOneMenu
HtmlSelectOneMenu selectOneMenu = new HtmlSelectOneMenu();
// �
uiKatparam.getChildren().add(select);
break;
default:
break;
}When I try to get values in my Action:
Iterator it = myBean.getUiKatparam().getChildren().iterator();
while (it.hasNext()) {
Object ob = it.next();
if (ob.getClass().getName().matches(".*HtlmInputText")) {
HtmlInputText t = (HtmlIputText) ob;
String id = t.getId();
String value = (String) t.getValue();
//�
//�
}and value is still equal initial value
How can I get velue entered to my InputText created dynamically?
MichalI solved my problem creating UIData with dynamically added and dynamically rendered components (in each row is rendered another component).
-
How can i get value when the field name is user's defined
Hi,
I have a one java method:
public ResultSet countUserDb(String id) {
ResultSet rs = null;
con = dbcon.connect();
String queryString = ("select count as count from
db_allocation where user_id='"+id+"'");
Statement stmt = con.createStatement();
rs = stmt.executeQuery(queryString);
When i call it in a jsp file.
ResultSet counter =db.countUserDb(request.getParameter("id"));
if(counter.next())
int x=rs.getInt("count");
Tomcat said incorrect column name.How can i get the result set when the field name is user's defined.
Best regards
RickyYou should give the user defined name in the ResultSet.getXXX method to retrieve the column value.
Example
SQL:
Select ename as employeename from emp;
You should say :
ResultSet.getString("employeename"); to get the value.
Alternatively you can retrieve it using column number:
ResultSet.getString(1);
Chandar -
How to I get Values of key figure by customer if cube data is not by cust?
HI All,
I have a situation where I need to change query : This query is created on a Multiprovider gives Actuals sales for previous period and Forecast for future period. The query is designed at aggregatred sales dist by Material.
Now the Business requires this by Sales District. I did this by creating a Variable filter.
Now the issue is For Each material is 4 rows and one of the row is Standar price. This data is availabe for Actuals by sales district but of Forecast this is not avilabel by sales district.
I want this data in report - for If I execute report for aggregated of all sales district I can see this figure but If i filter by sales district I cannot see as the data is not availabe by Sales district. Now as Std cost is same of materisl for any sales district. Can some one help is how do I get this data populated in report even if I select by Sales district ?
Hope I made this clear - please advice if not clear.
Thanks
SivaCreate two RKF, restrict first with [ from = '#' ] to get the planned receipts, and restrict the second with [ from <> '#' and to <> '#' ] to get the issues.
-
How can I get values from a checkbox group?
I have been developing a web application with Creator EA 2 and am trying to finish all the functionality before switching to 2. The last thing I have to do is pick up the status of checkboxes that I put in the page with the checkbox group component. Getting stuff from other fields is easy in the code for the page with a statement like: this.fieldname.getText() or ...getValue(). When you enter a line like this, Creator is helpful and gives you the completion choices. I tried some for the checkbox group, but none seem to give me what I want. What I want is the status ( true or false, 0 or 1, ...) for each checkbox in the group. I would appreciate advice on a simple way to get this. Thanks.
You do not necessarily need to bind selected to an array. You might do that if you want to put the array in a session bean, but otherwise, the binding isn't necessary.
Earlier, I provided a link to the Delving into Components tutorials. Here is an excerpt:
"For the items property, you specify a display label and a return value. The selected value returns an array of objects of the same type as the return values. If you use a Default Options component to specify the items and return values, selected returns an array of String objects.
The values in the selected array match the return values of the selected checkboxes."
To illustrate, here is how to get the selected values without binding to an array. In this example, the id for the drop-down list is dropdown1.
public void prerender() {
if (checkboxGroup1.getSelected() != null) {
String str="You selected ";
String[] userSelections = (String[]) checkboxGroup1.getSelected();
for (int i=0; i < userSelections.length; i++) {
str+= userSelections[i] + " ";
staticText1.setText(str);
}Hope this helps,
Chris -
How can I get values of properties from powershell
I am trying to put together a powershell script that, for a given user, displays all of the user profile property information.
I have seen several blogs which show how to get the names of all the properties.
I thought that displaying the value of the property would be simple. So far, I am missing something.
function display-UserProfile
Param(
[string]$SCURL,
[string]$accountName
## $SCURL is a string that contains the URL path to a site collection
## $accountName is a string that contains the account name for which we need to get the profile property information
##Get the user profile property information by account name using SharePoint 2010 web service in powershell
$uri=$SCURL + "/_vti_bin/UserProfileService.asmx?wsdl"
## Web Service Reference -
http://Site/_vti_bin/UserProfileService.asmx
$userProfileWebServiceReference = New-WebServiceProxy -Uri $uri -UseDefaultCredential
$propertyData=$userProfileWebServiceReference.GetUserProfileByName($accountName)
Write-Host -ForegroundColor Magenta "Getting the user profile property information by account name"
foreach($property in $propertyData)
Write-Host -ForegroundColor Yellow $property.Name, $property.Value
When I run this, I don't get anything. I tried using "Values" but that gave me nothing for some properties and a long "path" for others
Surely the property's current setting is in the object - I just am not certain how to get it to display.
Can anyone show me what I am missing?Hi,
Please try to use this:
$property.Values[0].Value
The following C# code snippet for your reference:
public void FormEvents_Loading(object sender, LoadingEventArgs e) {
XPathNavigator myRoot = MainDataSource.CreateNavigator();
ProfileService.UserProfileService profileService = new ProfileService.UserProfileService();
ProfileService.UseDefaultCredentials = true;
ProfileService.PropertyData[] userProps = null;
try {
// Passing null to this method causes the profile of the current user to be returned.
userProps = profileService.GetUserProfileByName(null);
catch { }
if (userProps == null || userProps.Length == 0) {
return;
for (int i = 0; i < userProps.Length; i++) {
XPathNavigator node = null;
switch (userProps[i].Name.ToLower()) {
// these property names can be obtained by reviewing the user profile properties in the MOSS SSP.
case "preferredname":
node = myRoot.SelectSingleNode("/my:myFields/my:userName", NamespaceManager);
break;
case "accountname":
node = myRoot.SelectSingleNode("/my:myFields/my:userAccount", NamespaceManager);
break;
case "workemail":
node = myRoot.SelectSingleNode("/my:myFields/my:userEmail", NamespaceManager);
break;
case "workphone":
node = myRoot.SelectSingleNode("/my:myFields/my:userPhone", NamespaceManager);
break;
default:
continue;
ProfileService.ValueData[] values = userProps[i].Values;
if (values.Length > 0) {
if (node != null && string.IsNullOrEmpty(node.Value)) {
node.SetValue(values[0].Value.ToString());
More information:
http://blogs.msdn.com/b/infopath/archive/2007/03/07/get-the-user-profile-through-moss-web-services.aspx
Best Regards
Dennis Guo
TechNet Community Support -
How do I get value of MultiSelect List in javascript?
Hi,
If I want to show the colon delimited list in a JS alert box what would I do?
or how else do you show it?
Is there multiple SelectedIndexes?
type = select-multiple
BillBill,
have a closer look at the example I provided earlierly:
http://apex.oracle.com/pls/otn/f?p=31517:166
I am using this code:
for (i = 0; i < $x(pShuttle2).length; i++)
if (p_array == '')
p_array = $x(pShuttle2).value;
else
p_array = p_array + ':' + $x(pShuttle2)[i].value;
get.add('SHUTTLE_ITEM_VALUE', p_array);
to concatenate the array values into a colon delimited string. This is later used to set the session state of the shuttle item to that value.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1 -
How do I get values from a resultset using JDOM?
I am very new to this and I dont have the slightest idea how to retrive values from a result and create a XML tree using JDOM
Can someone please help me?
I have the JDOM Parser installed on my machine.
This is my code so far:
import org.jdom.input.*;
import org.jdom.*;
import java.sql.*;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class Display extends HttpServlet {
public void doPost(HttpServletRequest rq, HttpServletResponse rs) throws IOException, ServletException
rs.setContentType("text/html");
PrintWriter out = rs.getWriter();
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection listcars_con = DriverManager.getConnection("jdbc:odbc:Cars");
Statement listcars_statement = listcars_con.createStatement();
ResultSet listcars_rs = listcars_statement.executeQuery("Select CarNr FROM cars");
//Load the appropriate driver, establish a connection and create a statement which is used to execute the query that returns all the
//columns from the cars table
Document doc = new Document(new Element("rootElement"));
listcars_statement.close();
listcars_con.close();
//close the connections
catch (ClassNotFoundException cnfe)
System.err.println(cnfe);
} catch (SQLException sqlex) {
System.err.println(sqlex);
} catch (Exception er) {
er.printStackTrace();
} //closing bracket for doPost method
} //closing bracket for class definitionResultSet object has nothing to do with XML... so the only way to it
is just read each row/column in your resultset and then create
XML record based on structure of your resultset - annoying job...
Also you can try to use tool developed by Oracle which based
on SQL select statement parses resultset into XML...
Paul -
How do I get values into a vi from a subvi while the subvi is still running within the vi?
Hello
This is my problem. I have a subvi that runs an experiment. At different point in the experiment different instruments are on or off and I have a boolean array display this info. It is updated at various points of the experiment via a local variable. That works fine. Here is the problem though. I run that subvi from a main vi program (that runs it several times for several experiment cycles). I would like to pass the status of that array onto the mainvi to display there too. The problem is that the array in the main vi is not updated until the subvi is done running and thus displays only the array status at end of experiment (instead of changing
as the status changes within the subvi). I tried using a global variable to write to it in the subvi every time there is an update, and read from it in the mainvi, but that doesn't work, it still displays just the status at the end of the subvi execution. Does anyone know how to make this work, or if there is a workaround this? Thanks.If you have LabVIEW 6i, you can update indicators of a calling VI from
a SubVI, while the subVI is running.
In your case you need
1) an indicator on the main VI panel to display the boolean array
2) to pass a reference to that indicator to the subvi when you call it
3) to use this reference in the subVI, connect a property node to it and
write the values to be displayed to the 'value' property of this node
If you don't have version 6, you can write the values to be displayed to
a global and display this global in the main VI from within a while loop
which must run in the main VI in parallel to the running subVI.
It's more complicated, since you need a mechanism to gracefully shut
down the while loop after subVI finishes. You could do this with
another global control boolean which is not displayed but just connected
to the repeat terminal of the while loop. Don't forget to put a 'Wait' of,
say, 50...100 msec in that while loop.
-Franz
zkajan schrieb:
> Hello
> This is my problem. I have a subvi that runs an experiment. At
> different point in the experiment different instruments are on or off
> and I have a boolean array display this info. It is updated at
> various points of the experiment via a local variable. That works
> fine. Here is the problem though. I run that subvi from a main vi
> program (that runs it several times for several experiment cycles). I
> would like to pass the status of that array onto the mainvi to display
> there too. The problem is that the array in the main vi is not
> updated until the subvi is done running and thus displays only the
> array status at end of experiment (instead of changing as the status
> changes within the subvi). I tried using a global variable to write
> to it in the subvi every time there is an update, and read from it in
> the mainvi, but that doesn't work, it still displays just the status
> at the end of the subvi execution. Does anyone know how to make this
> work, or if there is a workaround this? Thanks.
Franz Josef Ahlers
Section Semiconductor Devices
Physikalisch-Technische Bundesanstalt
Bundesallee 100
D-38116 Braunschweig
phone: (+49) 531 592 2410
fax: (+49) 531 592 2405 -
How do i get value of Environment variables from a java program?
Hai,
I have a setup file wherein i set the path for the root directory , in the following way.
setenv TPEROOT "/home/systpe/khurram/changes"
when i give echo $TPEROOT
the path , home/systpe/khurram/changes , is displayed on the console
If i want to assign the $TPEROOT to a string variable str in my java program , then how can i do it.
I want to use the value of the environment variable in my program.
Any help in this regard would be very useful
Thanks
khurramjava -DTPEROOT=$TPEROOT myőackage.myclass myargs
-
How do you get values of local machine running applet on remote server?
Hi,
I have an applet that runs great running the html file on my local machine from a root directory. I've placed my code(java, class, and html files) on the web server and loaded the applet onto a page. The results are merely:
"Computer Name: localhost"
"IP Address : 127.0.0.1"
Instead of:
"Computer Name: ACTUALNAME"
"IP Address : 189.40.20.211"
etc...
The code is as follows:
import java.applet.*;
import java.awt.*;
import java.net.InetAddress;
public class IPFinder extends Applet {
public void paint(Graphics g) {
super.paint(g);
try {
InetAddress localaddr = InetAddress.getLocalHost () ;
g.drawString("Computer Name: " + localaddr.getHostName (), 2, 13);
g.drawString("IP Address : "+localaddr.getHostAddress (), 3, 25);
g.drawString("", 3, 45);
String str = localaddr.getHostName();
InetAddress[] localaddrs = InetAddress.getAllByName ( str ) ;
for ( int i=0 ; i<localaddrs.length ; i++ )
if ( ! localaddrs[ i ].equals( localaddr ) )
// g.drawString("Local hostname : " + localaddrs[ i].getHostName () , 3, (i+0)+50);
g.drawString("Local IP Address("+i+"): " + localaddrs[ i].getHostAddress () , 3, (12*i)+((i+10)+45));
}} } catch (Exception e) {
g.drawString("Can't detect localhost : " + e +". Check Network settings.", 3, 60);
public static void main(String[] args) { new IPFinder(); }
I'm trying to get Real IP Addresses (as the code was setup to do) from a browser running on the web server. I have read some of the threads in this forum and some mention to use NetworkInterface while others recommended using Sockets (not an option since we do not use them), and another to use a signature as a workaround. Anyone know the best direction to get the results expected?
Thanks in advance,
Geoff-I have an applet that runs great running the html file
on my local machine from a root directory. I've
placed my code(java, class, and html files) on the web
server and loaded the applet onto a page. The results
are merely:
"Computer Name: localhost"
"IP Address : 127.0.0.1"This indicates that your applet when run over a web
server has not the rights to query the local name and
address. Look [url
http://java.sun.com/j2se/1.4.2/docs/api/java/net/InetAd
ress.html#getLocalHost()]here. The so-called
loopback address is 127.0.0.1
Check your documentation for "signed jar" (or search
the forum or the sun website) if you want to give your
applet more rights, but I don't think that this is
worth the effort in this case.
gdsimz, since you already started two new threads based on my suggestion, how about at least saying "thank you" or "sorry, didn't help"? -
Jsp:usebean How to get value of an object from a bean
I am new to JSP and am struggling from past few days to solve a problem. Consider the below scenario
Class Book{
private String author;
public void setAuthor(String author)
public String getAuthor(){
return author; }
Class Rack{
private Book []books;
public []Book getbooks()
return books;
public void setbooks([]Book val){....}
Suppose Books gets populated only using Rack and I have Rack populate in my session, using jsp:usebean or any other tag how can I get value of author? Does using tag handle null value check of books, if books are not set by any chance?
Regards,
DhyanI got a way out to access the attribute, i feel it is
<jsp:usebean id="myRack" class="settings.Rack"/>
<c:foreach var="book" item="myRack.books">
</c:foreach>
I am not able to check if this is correct or not because myRack.books is not having any value set by me in the request scope. How do i get instance of Rack class set by another page in the current request? I can get the value if i use scriptlet but i dont want to use scriptlet.
I am continiously trying, if I get an answer, I shall post, else pls somebody guide. -
How can i get production version value(verid) for luck through bdc.
HI..
i have one requirement..that in c223 tcode while i luck the production version through BDC in my report program as i given bellow...i upload mat.no , plant, production version and 1(for luck)...
req:: i want while i given production version for particlular plant and material no...that production version should be luck....
so in standard tcode c223 how can i get value to compair it with my input production version value then i will close that...
program:::
report ZC2232
no standard page heading line-size 255.
*include bdcrecx1.
Tables : mkal.
data : nodata value '/' .
data : CTUMODE type c value 'E'.
DATA : CUPDATE TYPE C VALUE 'L'.
DATA: BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
messages of call transaction
DATA: MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
data: begin of HEADER OCCURS 0,
data element: MATNR
MATNR_001(018),
data element: WERKS_D
WERKS_002(004),
data element: PLNNR
PLNNR_003(008),
data element: CP_STTAG
STTAG_003(010),
data element: ENTRY_ACT
ENTRY_ACT_005(011),
data element: PLNAL
PLNAL_004(001),
data element: FLG_SEL
FLG_SEL_01_006(001),
data element: PLANTEXT
STLAL_004(002),
DATUV_005(010),
data element: WERKS_D
WERKS_008(004),
data element: PLN_VERWE
ktext_005(001),
data element: PLNST
DELKZ_005(001),
data element: LOSGRVON
LOSVN_011(017),
data element: LOSGRBIS
LOSBS_012(017),
data element: PLNME
PLNME_013(003),
data element: PLNME
stlal_014(002),
end of HEADER.
data : begin of it_header occurs 0,
matnr like marc-matnr,
werks like marc-matnr,
verid like mkal-verid,
mksp like mkal-mksp,
end of it_header.
data : exnum(40) type c,
exnum1(40) type c,
cnt type I,
CN(2) TYPE C,
c1 type c value '(',
c2 type c value ')'.
start-of-selection.
parameters: p_file like rlgrap-filename.
at selection-screen on value-request for p_file.
call function 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = ' '
importing
file_name = p_file.
start-of-selection.
call function 'WS_UPLOAD'
exporting
CODEPAGE = ' '
filename = p_file
filetype = 'DAT'
HEADLEN = ' '
LINE_EXIT = ' '
TRUNCLEN = ' '
USER_FORM = ' '
USER_PROG = ' '
DAT_D_FORMAT = ' '
IMPORTING
FILELENGTH =
tables
data_tab = it_header
EXCEPTIONS
CONVERSION_ERROR = 1
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
NO_AUTHORITY = 10
OTHERS = 11
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
DELETE it_header WHERE MATNR IS INITIAL.
LOOP AT it_header.
*start-of-selection.
*perform open_group.
perform bdc_dynpro using 'SAPLCMFV' '1000'.
perform bdc_field using 'BDC_OKCODE'
'=ENTE'.
perform bdc_field using 'BDC_CURSOR'
'MKAL-WERKS'.
perform bdc_field using 'MKAL-WERKS'
it_header-werks.
perform bdc_field using 'MKAL-MATNR'
it_header-matnr.
perform bdc_dynpro using 'SAPLCMFV' '1000'.
perform bdc_field using 'BDC_OKCODE'
'=PICK'.
perform bdc_field using 'MKAL-WERKS'
it_header-werks.
perform bdc_field using 'MKAL-MATNR'
it_header-matnr.
*>>>>>>>>>>>>>>>>>>>>here what logic can i write****
clear cnt.
do 15 times.
cnt = cnt + 1 .
CN = CNT.
exnum = 'MKAL_EXPAND-VERID'.
concatenate exnum c1 cn c2 into exnum1.
*perform bdc_field using 'BDC_CURSOR'
exnum1.
GET PARAMETER ID 'VER' FIELD EXNUM1.
CALL TRANSACTION 'C223' AND SKIP FIRST SCREEN.
if ( it_header-verid = EXNUM1 ).
exit.
endif.
enddo.
****************************************************end***>>>>>>>>
perform bdc_field using 'BDC_CURSOR'
exnum1.
perform bdc_dynpro using 'SAPLCMFV' '2000'.
perform bdc_field using 'BDC_CURSOR'
'MKAL_EXPAND-PLNTY'.
perform bdc_field using 'BDC_OKCODE'
'=PRFG'.
perform bdc_dynpro using 'SAPMSSY0' '0120'.
perform bdc_field using 'BDC_OKCODE'
'=RW'.
perform bdc_dynpro using 'SAPLCMFV' '2000'.
perform bdc_field using 'BDC_OKCODE'
'/ECANC'.
perform bdc_field using 'BDC_CURSOR'
'MKAL_EXPAND-VERID'.
perform bdc_dynpro using 'SAPLCMFV' '1000'.
perform bdc_field using 'BDC_OKCODE'
'=SAVE'.
perform bdc_field using 'BDC_CURSOR'
'MKAL-WERKS'.
perform bdc_field using 'MKAL-WERKS'
it_header-werks.
perform bdc_field using 'MKAL-MATNR'
it_header-matnr.
perform bdc_dynpro using 'SAPLCMFV' '1000'.
perform bdc_field using 'BDC_OKCODE'
'/EBACK'.
perform bdc_transaction using 'C223'.
endloop.
*perform close_group.
*& Form bdc_dynpro
text
-->P_0161 text
-->P_0162 text
form bdc_dynpro USING PROGRAM DYNPRO.
CLEAR BDCDATA.
BDCDATA-PROGRAM = PROGRAM.
BDCDATA-DYNPRO = DYNPRO.
BDCDATA-DYNBEGIN = 'X'.
APPEND BDCDATA.
endform. " bdc_dynpro
*& Form bdc_transaction
text
-->P_0351 text
form bdc_transaction USING TCODE.
call transaction 'C223' using bdcdata
mode CTUMODE
update CUPDATE
messages into messtab.
if sy-subrc <> 0.
message e000(zmm01) with
'Check your input data'.
endif.
endform. " bdc_transaction
*& Form bdc_field
text
-->P_0346 text
-->P_0347 text
form bdc_field USING FNAM FVAL.
if fval <> nodata.
CLEAR BDCDATA.
BDCDATA-FNAM = FNAM.
BDCDATA-FVAL = FVAL.
APPEND BDCDATA.
endif.
endform. " bdc_fieldl_nl := dbms_xslprocessor.selectNodes(l_n, '/TaxInvoice/TaxInvoiceDocument');try to change as follow
l_nl := dbms_xslprocessor.selectnodes(l_n,'/TaxInvoice/TaxInvoiceDocument','xmlns="urn:kr:or:kec:standard:Tax:ReusableAggregateBusinessInformation:1:0"');Edited by: AlexAnd on Aug 17, 2011 12:36 AM
Maybe you are looking for
-
I deleted my partition but can't install Windows 8.1 any more.
I've deleted my Windows partition in disk utility, but now every time restart my MacBook Pro (2012, 13 Inch) without holding down the option key and it says your PC needs to be repaired and the wininstall file is missing even though ive deleted my
-
I am unable to reinstall itunes. I get the message that it was not installed correctly. I HAVE DONE A SYSTEM RESTORE, I HAVE TRIED TO REINSTALL SEVERAL TIMES ALSO. I get a error message that it's "Windows error 126". Also get "Apple Mobile Device
-
Inserting data into a partition.
Hi, I am inserting 10 million rows into a partition and its consuming lot of time (>24 hrs). I am using simple insert statement. Is there any better way to insert data into a partition. Thanks for your help in advance Thanks Manju
-
Issue with Receiver MDM Adapter - Integrated Configuration
Hi Experts, My scenario is I need to pick a file from PI Directory and push it into MDM Ready folder. The source file structure is ~ delimiter text file and at the receiving end , I need to push the same file as it is. At the receiving side I have us
-
We are experiencing a problem with web services communicating within a weblogic managed server configured with 15 threads. When we have 2 web services in the managed server (named A and B), after flooding A with 20 or more simultaneous requests, we b