To get input in the output form
i need create a report and i should display the persons date of birth and i should get the values in output form how should i do this .i can fix the input in data module but i don't know how do give input in output form.
How are you running the report ? Is it from Forms ? Are you reffering by "output form" ?
Similar Messages
-
Spec for this report not able to get values in the output
okSection 1: Document information
Title PP Total Component Requirement by Sales Forecast Report Create Date 5/2/2006
Author Ivie Ng Revision 1.0 Last changed on
Program type ( X ) Report ( ) Form ( ) Batch input ( ) Dialog program
Priority ( ) High ( X ) Medium ( ) Low
Frequency ( ) As require (X ) Daily ( ) Weekly ( ) Monthly ( ) Yearly
( ) Conversion
Doc-Ref.
Section 2: Contact Person
Task/Responsibility Name Signature Date
JM Project Manager Sean Gilgunn
ISS Project Manager YB Cisse
JM-Business Team Lead Sathe
Functional Consultant Ivie
ABAP Consultant Soh
User Acceptance Test / Approved by
Transport
Section 3: Functional Description
Background (whatever; Ex.Why does this program have to develop?)
This is to allow materials dept to view and analyze total component requirement base on sales forecast ie. budget forecast, inactive version within specific planning horizon.
Requirements
In SOP, material dept will maintain planning data (sales & production plan) in various version.
1. Active version: A00
This version is transferred to demand mgmt as active version. MRP will use this planning data to create order proposals (planned orders, purchase requisitions).
2. Inactive version: 001 999
There are 3 types of inactive version in SOP:
a) Sales forecast 000 799
b) Budge forecast 800 820
c) Forecast report 821 999
This report should allow to read any version of the sales forecast and return the total component requirements in the planning horizon that specify.
Section 3.1: Selection screen
Field name Technical name Type of selection field
(*Please specify Transparent Table and field name) (X) Single value ( ) Range ( ) Required field
( ) Single value (X) Range ( ) Required field
(X) Single value ( ) Range ( ) Required field
Section 3.2: Program Logic
Business Requirement
This report will allow option to choose to read the source from SOP or COPA.
Input Selection
Main Menu:
o Total Component Requirement from SOP forecast
o Total Component Requirement from COPA forecast
If SOP is selected, Source = SOP
If COPA is selected, Source = COPA
Option 1: SOP
1. Input Layout
Material: _____________ (note: allow multiple materials entry, no entry indicate all materials)
RM Material Group: __________ (note: allow multiple entry, no entry indicate all Mat Grp)
Plant: MY11 (note: default value)
Standard Price as of : _____________ (YYYYMM)
Version: ________ (note: allow F4 option with Version and Description)
Output Type: ____ (Month/Year)
(If the output type chosen is Month, the below is display)
Period From: _________ (YYYYMM)
Period To: _________ (YYYYMM)
(If the output type chosen is Year, the below is display)
Period From: __________ (YYYY)
Period To: __________ (YYYY)
2. Output Layout
Plant: MY11
Source:
Version:
System Date/Time:
Output Layout in Month:
Material Desc Component Desc UOM M04.2006 M05.2006 M06.2006 M07.2006 M08.2006 M09.2006 BOM
TO2368 NGK0003 PC TO2368
SIN96-015 MG TO2368
SIN96-066F MG TO2368
SIN96-066N MG TO2368
SIN96-127 GCL WCS2004
SIN96-055 G WCS2004
SIN96-110 G WCS2004
SIN96-007 G WCS2004
SIN96-002 GCL WCS1003
SIN96-001 GCL WCS1003
SIN96-006 GCL WCS1003
TO2358/511 PC TO2368
TO2358/512 PC TO2368
WCS2004 GCL TO2368
WCS1003 GCL WCS2004
Output Layout in Year:
Material Desc Component Desc UOM 2006 2007 2008 BOM
TO2368 NGK0003 PC TO2368
SIN96-015 MG TO2368
SIN96-066F MG TO2368
SIN96-066N MG TO2368
SIN96-127 GCL WCS2004
SIN96-055 G WCS2004
SIN96-110 G WCS2004
SIN96-007 G WCS2004
SIN96-002 GCL WCS1003
SIN96-001 GCL WCS1003
SIN96-006 GCL WCS1003
TO2358/511 PC TO2368
TO2358/512 PC TO2368
WCS2004 GCL TO2368
WCS1003 GCL WCS2004
3. Header Section:
Header Field: Plant
Print input field Plant.
Header Field: Source
If SOP is selected, Source = SOP
If COPA is selected, Source = COPA
Print Source.
Header Field: Version
Print input field Version, Print RMCP2-VETXT (version description).
Header Field: System Date/Time
Print current system date and time.
4. Table: S076 (SOP - Sales & Operations Planning)
Read S076 rows with input selection of Material, Plant, Year, Month, Version sorted by Material.
This table provides sales forecast figure.
Table: MAKT Material Decription
Table: MARA - General Material Data
Table: CDHDR - Change document header
Table: CDPOS - Change document items
5. Details Section: -
Read S076.PMNUX(Material). Note: There will be multiple rows in S076.PMNUX (Material)
Field: Material
Print S076.PMNUX(Material).
Field: Description
Read MAKT.MATNR(Material), Print MAKT.MAKTX.
6. Read L1 (Level 1) BOM Transaction: CS03
Where Material = S076.PMNUX (Material), Plant = MY11 (input field), BOM Usage = 1, Status = 01
7. This is to print BOM component.
If Input Material Group =
Read Component (Material), Component Qty from BOM sorted by MARA.MTART (material type) = ZROH, ZHLB , ZRUH
If Input Material Group <>
Read Component (Material), Component Qty from BOM sorted by MARA.MTART (material type) = ZROH, ZHLB , ZRUH
Where MARA-MATKL (Material Group) = Input Material Group.
If MARA.MTART (material type) = ZRUH,
Read L1 (Level 1) BOM Transaction: CS03
Where Material = S076.PMNUX, Plant = MY11 (input field), BOM Usage = 1, Status = 02.
GET RC29K-BMENG (Base Qty) ***
Field: Material Group
Print MARA-MATKL
Field: Component
Print BOM Component.
Field: Description
Print MAKT.MAKTX.
Field: UOM
Print MARA.MEINS.
Field: Currency
Field: Standard Price
If Input Standard Price Date =
Print Currency =
Print Standard Price = 0
Else
Read CDHDR-OBJECTID (Material), CDHDR-CHANGENR (ChgNo)
Where CDHDR-OBJECTID (Material) = BOM Component
And CDHDR-TCODE (Transaction) = MR21
And YYYYMM[CDHDR-UDATE (Date)] = Input Standard Price Date
If NOT Found, look up YYYYMM[CDHDR-UDATE (Date)] 1
I.e. Input Standard Price Date is 200702, If CDHDR-UDATE (Date) Not Found, look up 200701.
If Not Found, look up 200612 until the record is found **
If row return > 1, select the latest CDHDR-UDATE (Date)
i.e. If rows return 20070201 and 20070215, Select 20070215 **
Read CDPOS-CUKY_NEW (Currency), CDPOS-VALUE_NEW (New Value)
Where CDPOS-OBJECTID (Material) = CDHDR-OBJECTID (Material)
And CDPOS-CHANGENR (ChgNo) = CDHDR-CHANGENR (ChgNo)
Print CDPOS-CUKY_NEW (Currency)
Print CDPOS-VALUE_NEW (New Value)
8. If the output type is Year, print Requirement Qty in Yearly bucket.
Requirement Qty = sum[S076-ABSAT (Sales) for current Year] ie 2006
Requirement Qty = sum[S076-ABSAT (Sales) for current Year + 1] ie 2007
Requirement Qty = sum[S076-ABSAT (Sales) for current Year + 2] ie 2008
If the output type is Month, print Requirement Qty in Monthly bucket.
Field: Month (ie. M04.2006)
Requirement Qty = S076-ABSAT (Sales) * Component Qty / RC29K-BMENG (Base Q)
Print Requirement Qty.
Field: Total Price (ie. M04.2006)
Total Price = Requirement Qty * Standard Price
Print Total Price
Field: Month (ie. M05.2006)
Requirement Qty = S076-ABSAT (Sales) * Component Qty / RC29K-BMENG (Base Q)
Print Requirement Qty.
Field: Total Price (ie. M05.2006)
Total Price = Requirement Qty * Standard Price
Print Total Price
Field: Month (ie. M06.2006)
Requirement Qty = S076-ABSAT (Sales) * Component Qty / RC29K-BMENG (Base Q)
Print Requirement Qty.
Field: Total Price (ie. M06.2006)
Total Price = Requirement Qty * Standard Price
Print Total Price
Field: Month (ie. M07.2006)
Requirement Qty = S076-ABSAT (Sales) * Component Qty / RC29K-BMENG (Base Q)
Print Requirement Qty.
Field: Total Price (ie. M07.2006)
Total Price = Requirement Qty * Standard Price
Print Total Price
Field: Month (ie. M08.2006)
Requirement Qty = S076-ABSAT (Sales) * Component Qty / RC29K-BMENG (Base Q)
Print Requirement Qty.
Field: Total Price (ie. M08.2006)
Total Price = Requirement Qty * Standard Price
Print Total Price
Note: Repeat the requirement qty display in Monthly bucket base on period specified.
Field: BOM
Print L1 BOM which is S076.PMNUX (Material) from Step 6.
If Is end of component,
Repeat Step 5 for next Material in SOP (S076.PMNUX).
If MARA.MTART (material type) = ZROH,
Perform Step 7 to read next L1 BOM Component.
Perform Step 8 to print Requirement Qty.
If [MARA.MTART (material type) = ZHLB] and [MARA.MATKL(material group) = WP0100, WP0110, or WP0120],
Go Step 9 to read L2 BOM.
If [MARA.MTART (material type) = ZHLB] and [MARA.MATKL (material group) <> WP0100, WP0110, WP0120],
Perform Step 7 to read next BOM Component.
Perform Step 8 to print Requirement Qty.
9. Read L2 (level 2) BOM for the ZHLB at Transaction: CS03
Where Plant = MY11(input field), BOM Usage= 1, Status = 01.
GET RC29K-BMENG (Base Qty) ***
10. Read Component (Material), Component Qty from BOM sorted by MARA.MTART (material type) = ZROH, ZHLB.
Field: Material Group
Print MARA-MATKL
Field: Component
Print BOM Component.
Field: Description
Print MAKT.MAKTX.
Field: UOM
Print MARA.MEINS.
Field: Month (ie. M04.2006)
Requirement Qty = Requirement Qty from L1 BOM * Component Qty / RC29K-BMENG (Base Q)
Print Requirement Qty.
Field: Total Price (ie. M04.2006)
Total Price = Requirement Qty * Standard Price
Print Total Price
Field: Month (ie. M05.2006)
Requirement Qty = Requirement Qty from L1 BOM * Component Qty / / RC29K-BMENG (Base Q)
Print Requirement Qty.
Field: Total Price (ie. M05.2006)
Total Price = Requirement Qty * Standard Price
Print Total Price
Note: Repeat until end of Period.
Field: BOM
Print L2 BOM from Step 9.
If is end of component, perform Step 7 to read next L1 BOM component, and Step 8 to print Requirement Qty.
If MARA.MTART (material type) = ZROH,
Perform Step 10 to read next L2 BOM Component.
If MARA.MTART (material type) = ZHLB and MARA.MATKL(material group) = WP0100, WP0110, or WP0120,
Go Step 11 to read L3 BOM.
If [MARA.MTART (material type) = ZHLB] and [MARA.MATKL (material group) <> WP0100, WP0110, WP0120],
Perform Step 10 to read next L2 BOM Component.
11. Read L3 (level 3) BOM for the ZHLB at Transaction: CS03 where Plant=MY11(input field), BOM Usage=1, Status =01.
12. Read Component (Material), Component Qty from BOM sorted by MARA.MTART (material type) = ZROH, ZHLB.
Field: Material Group
Print MARA-MATKL
Field: Component
Print BOM Component.
Field: Description
Print MAKT.MAKTX.
Field: UOM
Print MARA.MEINS.
Field: Currency
Field: Standard Price
Read CDHDR-OBJECTID (Material), CDHDR-CHANGENR (ChgNo)
Where CDHDR-OBJECTID (Material) = BOM Component
And CDHDR-TCODE (Transaction) = MR21
And YYYYMM[CDHDR-UDATE (Date)] = Input Standard Price Date
If NOT Found, look up YYYYMM[CDHDR-UDATE (Date)] 1
I.e. Input Standard Price Date is 200702, If CDHDR-UDATE (Date) Not Found, look up 200701.
If Not Found, look up 200612 until the record is found **
If row return > 1, select the latest CDHDR-UDATE (Date)
i.e. If rows return 20070201 and 20070215, Select 20070215 **
Read CDPOS-CUKY_NEW (Currency), CDPOS-VALUE_NEW (New Value)
Where CDPOS-OBJECTID (Material) = CDHDR-OBJECTID (Material)
And CDPOS-CHANGENR (ChgNo) = CDHDR-CHANGENR (ChgNo)
Print CDPOS-CUKY_NEW (Currency)
Print CDPOS-VALUE_NEW (New Value)
Field: Month (ie. M04.2006)
Requirement Qty = Requirement Qty from L2 BOM * Component Qty / RC29K-BMENG (Base Q)
Print Requirement Qty.
Field: Total Price (ie. M04.2006)
Total Price = Requirement Qty * Standard Price
Print Total Price
Field: Month (ie. M05.2006)
Requirement Qty = Requirement Qty from L2 BOM * Component Qty / RC29K-BMENG (Base Q)
Print Requirement Qty.
Field: Total Price (ie. M05.2006)
Total Price = Requirement Qty * Standard Price
Print Total Price
Note: Repeat until end of Period.
Field: BOM
Print L3 BOM from Step 11.
If is end of component,
Perform Step 10 to read next L2 BOM Component.
If MARA.MTART (material type) = ZROH,
Perform Step 12 to read next L3 BOM Component.
If MARA.MTART (material type) = ZHLB and MARA.MATKL(material group) = WP0100, WP0110, or WP0120,
Repeat for next level of BOM reading. ** for future BOM expansion **
If [MARA.MTART (material type) = ZHLB] and [MARA.MATKL (material group) <> WP0100, WP0110, WP0120],
Perform Step 12 to read next L3 BOM Component.
13. The report is ALV format and should allow to export to Excel. See example below:
Option 2: COPA
1. Input Layout
Company Code: ________
Plant: MY11
Material: _____________ (note: allow multiple materials entry, no entry indicate all materials)
Material Group: __________ (note: allow multiple materials entry, no entry indicate all materials)
Standard Price as of : _____________ (YYYYMM)
Version: ________ (note: allow F4 option with Version and Description)
Read V_TKEVS_CL-VERSI (Version), V_TKEVS_CL-VTEXT (Version Description)
Output Type: ____ (Month/Year)
(If the output type chosen is Month, the below is display)
Period From: _________ (YYYYMM)
Period To: _________ (YYYYMM)
(If the output type chosen is Year, the below is display)
Period From: __________ (YYYY)
Period To: __________ (YYYY)
2. Header Section:
Header Field: Plant
Print input field Plant.
Header Field: Source
If SOP is selected, Source = SOP
If COPA is selected, Source = COPA
Print Source.
Header Field: Version
Print V_TKEVS_CL-VERSI (Version), V_TKEVS_CL-VTEXT (Version Description)
Header Field: System Date/Time
Print current system date and time.
3. Report details: -
Table: CE2ASIA - JM Operating Concern
If input selection is Monthly Report:-
Read CE2ASIA-ARTNR (Product No), Sum[CE2ASIA-ABSMG001 (Sales Qty)]
Where CE2ASIA-BUKRS (Company Code) = Input Company Code
And CE2ASIA-WERKS (Plant) = Input Plant
And CE2ASIA-PALEDGER (Currency Type) = 10
And [CE2ASIA-PERBL (FI Period) > = Input Period From And CE2ASIA-PERBL (FI Period) < = Input Period To]
Group by CE2ASIA-ARTNR (Product No)
If input selection is Yearly Report:-
Read CE2ASIA-ARTNR (Product No), CE2ASIA-ABSMG001 (Sales Qty)
Where CE2ASIA-BUKRS (Company Code) = Input Company Code
And CE2ASIA-WERKS (Plant) = Input Plant
And CE2ASIA-PALEDGER (Currency Type) = 10
And [YYYY[CE2ASIA-PERBL (FI Period)] > = Input Period From And CE2ASIA-PERBL (FI Period) < = Input Period To]
Note: The details similar to Option 1: SOP, refer section (5) to (13)
Section 3.3: Report Layout
Field name Technical name Comment
(Please specify Transparent Table and field name) (Ex. In case field does not read directly from transparent table but derive from formular or sum or else. Please show the detail how to do that.)
Section 3.3: Unit Test Criteria
Section 4: Technical Description
Section 4.1: Object information
Development class
Transport number
Section 4.2: Input/output file layout (In case upload/download file)
*Please determine structure of file like as below:
No. Field description Type (Char,Numeric, ) Length Note
Section 4.3: Report/Form information
Paper size Inch 11 8 X 11 Type of printer ( ) Laser printer (X) Dot matrix
Output report / Pre-printed Attach
Technical IssueHi gurus,actually this program selecion screen is linked to ..as
First screen is .Sop
.copa
Again for sop is having a selection screen and in this it is divide based on month and year seperately in two more screens.
same for copa also....
so pls tell me a correct solution where to correct and get values.
Priority is very highhhhhhhhhhhhhh,so pls help me in sorting out this. -
How do i get input from the user?
For example if i wanted to ask "Whats your favorite number" and then get the input from the user and assign it to a variable how would i go about doing that?
hi,
if you want to get input from your console your should work with io(input and output).The BufferedReader class, InputStreamReader class
you should import "java.io.BufferedReader" and "java.io.InputStreamReader" package, and do something like this:
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
String favoriteNumber;
System.out.println("Whats your favorite number ");
favoriteNumber = input.readLine();
System.out.println ("Your favorite Number Is " + favoriteNumber);
if its a gui you should import "javax.swing.JOptionPane" and do the following
String favoriteNumber = JOptionPane.showInputDialog(null, "Enter your favorite Number", "Favorite Number", JOptionPane.INFORMATION_MESSAGE);
anjiie([email protected]). -
Problem !! How to upload an file and get parameters on the same form ?
Hello!
Is there anyway of getting parameters from an
text field input in a form like :
<form name="signinForm" method="post" action="uploadFile.jsp" enctype="multipart/form-data" >Actually I would like to insert the parameters and make the upload of an file
on the same form. It is something likethis :
Form.jsp
<form name="signinForm" method="post" action="uploadFile.jsp" enctype="multipart/form-data" >
<input type="text" id="name" name="signinName" />
<input name="signinFile" id="fileUp" type="file" />
<input type="submit" id="submit_btn" name="signinSubmit"/>uploadingFile.jsp
<%@ page import="java.io.*,javax.servlet.http.HttpServletRequest,javax.servlet.ServletInputStream" %>
<%@ page import="java.io.FileWriter,java.io.IOException" %>
<%
.//upload the file
String email = request.getParameter("signinName").trim(); //this line is bringing me an NullPointerException
%>Thanks in advance for any suggestion!!
All the best!You can get the parameter value directly. You can do the following to get the parameter name.
Directly take the request's input stream and parse the header and findout the value for text field.
Or you can use apache's file upload utilities and do the following
DiskFileItemFactory factory = new DiskFileItemFactory();
ServletFileUpload upload = new ServletFileUpload(factory);
List fileItems = upload.parseRequest(request);
Iterator iter = fileItems.iterator();
while (iter.hasNext()) {
FileItem item = (FileItem) iter.next();
if (item.isFormField()) {
//Form data fields will be displayed here out.println(item.getFieldName());
out.println(item.getString());
All the best.. -
Comas(,) are not getting displayed in the output while using OO ABAP
Hi All,
I am using ABAP objects to display the ALV report in which there is a requirement to output Quantity fields. The Quantity fields are getting displayed without comas ','. Please help me in getting back the comas in the output.
Eg:
Below logic is used in my program.
Class name: cl_salv_form_layout_grid
Code:
obj_footer->create_text(
row = v_row_cnt
column = v_col_cnt
text = Quantity).
Expected output:
39,545.000
Current Output:
39545.000
Thanks in advance for your help.
Thanks & Regards,
Siva.Hi,
Please check if the images are in the server and in the /images alias path.
thanks,
Sharmila -
Text element is not getting printed in the output
Hi all,
I'm trying to print address from table KNA1in address window through a text element.
The corresponding code being :
In Delivery Prg,
Data : lv_kna1 type STANDARD TABLE OF kna1,
lv_adr6 type STANDARD TABLE OF adr6.
DATA : WA_ADR6 TYPE ADR6.
SELECT SINGLE * FROM KNA1 WHERE KUNNR = VBPA-KUNNR.
SELECT SINGLE * FROM ADR6 INTO WA_ADR6 where ADDRNUMBER = kna1-adrnr.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'DELIVERY_ADDRESS'
WINDOW = 'DELIVADR'
and calling the same text element 'DELIVERY_ADDRESS' as follows in the Script:
/E DELIVERY_ADDRESS
/: IF &LV_KNA1-TELF1& <> &SPACE&
IL Tel.: &LV_KNA1-TELF1&
/: ENDIF
/: IF &LV_KNA1-TELFX& <> &SPACE&
IL Fax : &LV_KNA1-TELFX&
/: ENDIF
/: IF &LV_ADR6-SMTP_ADDR& <> &SPACE&
IL E-mail : &LV_ADR6-SMTP_ADDR&
/: ENDIF
But,this text element is not printing in the output.
Any pointer on this would be of great help.
Regards,
Vamsee Priya.yes, it is.
I'm trying to get the e-mail address from adr6 table with the corresponding address number from table kna1.
so I created two tables as below:
Data : lv_kna1 type STANDARD TABLE OF kna1,
lv_adr6 type STANDARD TABLE OF adr6.
DATA : WA_ADR6 TYPE ADR6.
SELECT SINGLE * FROM KNA1 WHERE KUNNR = VBPA-KUNNR.
SELECT SINGLE * FROM ADR6 INTO WA_ADR6 where ADDRNUMBER = kna1-adrnr.
now, I'm trying to fill e-mail adress from lv_adr6. but the problem is lv_adr6 is not getting filled.
data is coming to work area wa_adr6.
SAP is not allowing me to write the below statement:
SELECT SINGLE * FROM ADR6 INTO LV_ADR6 where ADDRNUMBER = kna1-adrnr.
Now, will any move-corresponding statement from work area to its table works?? Is that logically correct?? -
How to get data from the GUIBB FORM on processing method PROCESS_EVENT?
Hello Community,
one more question do I have.
I need to process some form data, that were entered by a user. One field was additional added via the method IF_FPM_GUIBB_FORM~GET_DEFINITION, so it is not in the BOL.
I listen to an FPM_EVENT in the IF_FPM_GUIBB_FORM~PROCESS_EVENT.
IF io_event->mv_event_id EQ 'FPM_SAVE_AND_BACK_TO_MAIN' OR io_event->mv_event_id = 'FPM_SAVE_1'.
" Here I need to access the data from the GUINN FROM
ENDIF.
How can I access to the data, entered in the GUIBB FORM?
Thank you and best regards, ChristianHello Jens and Christian,
Thanks very much for your help.
Could you help me check where the problem is ? My detail step is as below:
1. Structure 'S_TR_FILE' , which include component 'MIME_TYPE' with data type 'String' and 'UPLOAD_FILE' with data type 'String'.
2. IF_FPM_GUIBB_FORM~GET_DEFINITION
DATA: lo_structdescr TYPE REF TO cl_abap_structdescr.
FIELD-SYMBOLS: <ls_new_field_descr> TYPE fpmgb_s_formfield_descr.
lo_structdescr ?= cl_abap_typedescr=>describe_by_name( 'S_TR_FILE' ).
eo_field_catalog = lo_structdescr.
APPEND INITIAL LINE TO et_field_description ASSIGNING <ls_new_field_descr>.
<ls_new_field_descr>-name = 'MIME_TYPE'.
<ls_new_field_descr>-label_by_ddic = 'X'.
<ls_new_field_descr>-visibility = '01'.
<ls_new_field_descr>-default_display_type = 'IN'.
UNASSIGN <ls_new_field_descr>.
APPEND INITIAL LINE TO et_field_description ASSIGNING <ls_new_field_descr>.
<ls_new_field_descr>-name = 'UPLOAD_FILE'.
<ls_new_field_descr>-label_by_ddic = 'X'.
<ls_new_field_descr>-visibility = '02'.
<ls_new_field_descr>-default_display_type = 'FU'.
<ls_new_field_descr>-mime_type_ref = 'MIME_TYPE'.
3. After the OVP page is displayed, I select a xlsx file in 'UPLOAD_FILE', and click "upload" button(toolbar on the top page) , I can't get any data from IS_DATA in flush method or CS_DATA in Get_DATA.
Thanks& Best Regards,
Yupeng -
How to Get XML from the PDF form generated using Designer that is stored in LC
We have a Requirement of Generating reports on what a PDF form is comprised of? It is easy for us to scan / parse the XML format of the PDF form and get all the relavent Info we need. We are able to see the XML format of the PDF form when we open up the Form in Designer.
But we are trying to run this report in a Batch Mode for many PDF files. I need to know how to get a XML format of the PDF file that is stored in LC that was developed using Designer. Once we are able to get the XML of the PDF form it is just a scan / parse to get the relavent data.
Can some one tell me how to get the XML format of a PDF file stored in the LC?If I place the PDF form on the LC server - Can you let me know of the tools you are referring to get XML design from the PDF form?
Is it through a Process Orchestration I need to run the PDF through to get a XML design out of it?
I am fine in storing the PDF in the LC server? How will I get the XML design (XML) from this PDF on the server? -
TS2972 How do i get files into the library form a Windows host computer
How do I get files into the sharing library with a Windows host Computer? Other than buying another computer!
You use iTunes, though only specific formats are supported.
Which AppleTV modesl do you have? 1, 2 or 3? -
How to get 'linenum' from the order form matrix
I'v been trying to get this to work for the past 4 hours now and I can't find a solution.
I have a button on the sales order form, when the user clicks on this button a second screen will appear with more information (stored in a usertable).
However to be able to get this information from my usertable I need to have the linenum of the selected line (in the matrix).
I know I can get the 'row' property but this doesn't give me the linenum (wich is the unique key in the RDR1 table).
Also the 'visorder' column doesn't work since I have textlines in the order that can be placed anywhere and can be more than 1.
Consider the following scenario:
Order with the following lines:
Textline
article line (actual orderline) (linenum = 1 / visorder = 0 / row = 2)
article line (actual orderline) (linenum = 2 / visorder = 1 / row = 3)
article line (actual orderline) (linenum = 3 / visorder = 2 / row = 4)
textline
article line (actual orderline) (linenum = 4 / visorder = 3 / row = 6)---- (this line has been deleted)
article line (actual orderline) (linenum = 5 / visorder = 3 / row = 6)
So in total 6 lines.
How do I get the 'linenum' from the last line (note that linenum 4 has disappeared because of the deleted row)?
I looked into using the dbdatasource but with this I gets the entire RDR1 table (for that order) and can't get the linenum (correct one) out off it since the textlines mess up the order.
Anyone know how to do this?Hi Marc,
Assuming the document is saved, you can use something like the following:
SAPbouiCOM.Form sboForm = (SAPbouiCOM.Form)_sboApp.Forms.GetForm(ItemEvent.FormTypeEx, ItemEvent.FormTypeCount);
SAPbouiCOM.Matrix sboMatrix = (SAPbouiCOM.Matrix)sboForm.Items.Item("38").Specific;
// Get the document number
SAPbouiCOM.EditText sboEdit = (SAPbouiCOM.EditText)sboForm.Items.Item("8").Specific;
string sDocNum = sboEdit.Value;
if (sDocNum == "") // No document is selected in this window so report error
_sboApp.SetStatusBarMessage("No document has been selected", SAPbouiCOM.BoMessageTime.bmt_Short, true);
else
if (sboForm.Mode == SAPbouiCOM.BoFormMode.fm_ADD_MODE || sboForm.Mode == SAPbouiCOM.BoFormMode.fm_UPDATE_MODE) // Document must be saved to ensure VisOrder is correct in the database
_sboApp.SetStatusBarMessage("Please save the document first", SAPbouiCOM.BoMessageTime.bmt_Short, true);
else
int iVisOrder = -1;
string sMessage = "The Line Numbers on this document are: " + System.Environment.NewLine;
for (int i = 1; i < sboMatrix.RowCount; i++) // Last row is always blank so loop while i is LESS than RowCount
SAPbouiCOM.ComboBox sboCombo = (SAPbouiCOM.ComboBox)sboMatrix.Columns.Item("257").Cells.Item(i).Specific;
string sLineType = sboCombo.Selected.Value.ToString();
if (sLineType == "") // Not a text line or a subtotal
iVisOrder++; // Increment your counter to get the next VisOrder value
SAPbobsCOM.Recordset sboRec = (SAPbobsCOM.Recordset)_sboCompany.GetBusinessObject(BoObjectTypes.BoRecordset);
try
sboRec.DoQuery("select T0.LineNum from RDR1 T0 inner join ORDR T1 on T0.DocEntry = T1.DocEntry where T0.VisOrder = " + iVisOrder.ToString() + " and T1.DocNum = " + sDocNum);
if (!sboRec.EoF)
sMessage += "Row " + i.ToString() + " in the matrix is LineNum " + sboRec.Fields.Item("LineNum").Value.ToString() + System.Environment.NewLine;
finally
System.Runtime.InteropServices.Marshal.ReleaseComObject(sboRec);
sboRec = null;
GC.Collect();
_sboApp.MessageBox(sMessage, 1, "Ok", "", "");
Basically you have a counter that you increment if the matrix line is not a text or subtotal line. This will match the VisOrder value in the RDR1 table which you can use to get the LineNum value.
Kind Regards,
Owen -
Po item text to be printed in the output form
Hi
How to print the item text of the purchase order in the form output
Thanks
Srinivashi
for this u have to consult ur ABAPer
also chekc the following settings
SPRO>Materials Management>Purchasing>Messages>Texts for Messages>Define Texts for Purchase Order
here check that u have entries for ur document type
regards
kunal -
Curve fitting gives input, at the output
Hi everybody, i am having a problem at curve fitting function,
i take at output, what i give as input, where do i make mistake?
at example i give 4 values, if i enter 6 values it works, but i need to do it with 4 values.
any ideas?
thanks
Solved!
Go to Solution.
Attachments:
curve fitting.vi 16 KBYour function is a simple quadratic polynomial, so you should use the general polynomial fit function instead. Don't overcomplicate things
LabVIEW Champion . Do more with less code and in less time . -
Values not getting printed in the Output
Hi all,
Iam facing strange problem.
In the debug mode iam seeing the values for all variables ( Variable windows) but after printing no value is getting printed. MAIN window is there but no element is being called from the MAIN window.
Can anyone help me in this regard.
Rehards,
Indrajithi Indrajit ,
check that in print program you have created the element same as using in main program , also declare temporary variables inside loop at table so that **** sign doesnt gets printed ..
Hope this will help you -
Help with getting input from the console
Hey Experts , wish you are good ? .... i have a problem and wish you figure it out for me , well tell me how can store the input values in a text file and pass the file from the command line ? , i have compiled the program so well , but i could not using text file , thats the code :
import java.util.Scanner ;
class TestScanner {
public static void main (String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.print("Enter an interger : ");
int intValue = scanner.nextInt();
System.out.println(" You entered an interger " + intValue);
System.out.print("Enter a double value : ");
double doubleValue = scanner.nextDouble();
System.out.println("You entered a double value " + doubleValue);
System.out.print("Enter a string without space: ");
String string = scanner.next();
System.out.println("You entered the string " + string);
}and i created a file with value like that :
file name is input
5
23.55
Java
true
i just want to know the correct order to compile it .
thanks in advanceThe Java Tutorials: [_Basic I/O_|http://java.sun.com/docs/books/tutorial/essential/io/index.html]
db -
Dunning in AR is not generating the output form
Hi guys:
whenever I do a dunning run and do the printout, it always gives me the error dunning notice is not printed - forms for MAHNR: "ZCIN", RBUKM: "4000", KOART: "D" do not exist
but i did assign the forms in my ZCIN dunning procedure, and the forms are listed in transaction SM30 table T047E as assigned to the dunning procedure...the only thing i can think of is that i couldn't find any correspondence type forms for dunning (OB77 and OB78) - not sure whether it has anything to do with this...
the form I have assigned ot the dunning procedure is F150_DUNN_01
I just don't know why there is no printout. Please advise, really appreciate.Hello,
Change the last dunned date in customer master and change the dunning level to a lower dunning level (even you make this blank) in the customer master tab correspondence, then try to re-dun the customer.
Please let me know in case if you still need any help.
Regards,
Ravi
Maybe you are looking for
-
Need to get the MIME type of Files
hi I have a table which contains Partno and the images name i.e PRODUCT_AWG_20070416 and the data would be like that :- partno img_name PX1 px1.jpeg PX2 px2.jpeg PX3 px3.jpeg Now one by one i am Inserting those files into my table (img_temp -BLOB Col
-
Lion 10.7.4 not connecting to shared printer in mac 10.5.8
I have a macbook pro and recently applied the new upgrade to Lion 10.7.4 I also have another macbook pro running 10.5.8 and the printer is attached to this computer. Up until the upgrade to Lion 10.7.4 I could just simply print using the printer conn
-
Final Cut Pro X exports video clip as black
Hi Everyone, I have a big problem, I'm trying to export a project with many HD clips, the first of which is the only one being shot as AVCHD on a Sony DSLR and converted to .mov by Voltaic HD because otherwise I can't import it in Final Cut Pro X. Th
-
Enabling a microphone in Vista x64 Ultim
Hello, I use audio recording mode on a xfi extreme music?since it allow for the highest playback volume by checking SVM and Crystalizer along with bass boost for 2. speakers. I have 5. speakers which sounded great in xp 32 bit, but in vista they just
-
Hi, What is the process that scan a computer to know which patch need to be installed ? Is it the DAU process ? Since about a week, the JAVA 1.7.0 is released and for near 650 devices, only 85 need that update but that update is not installed anywher