How to modify calander control in OA Framework?
Hi all,
i want to change calander control to show different date in OA framework? please help me out to do this.
Duplicate post? -- How can i modify calander property in OA Framework?
Similar Messages
-
How to modify and compile SDK 4 frameworks file in Flash Builder 4
Hi,
I would like to modify \Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\projects\framework\src\mx\core\ScrollControlBase.as file for testing of my application. How do I get FlashBuilder 4 to compile that file and include it into my build.
Thanks
JerryYou can actually just take the source for that file and put it in your project in the correct package. So create the mx/core/ folders inside the src folder. and then create a new ScrollControlBase.as file with the contents you wish to run.
This is often called monkey patching because the files in your project folder have higher precedence over the ones in the sdk. Allowing you to override them.
Simeon Bateman
Principal Instigator
PNW Rain LLC
[email protected]
503-616-4405 -
Example of how to modify a control using a property node
Hello, I am new to labview and I would like to be able to modify a front panel control in the block diagram. From reading up on this I realize I need to use property nodes but I am having a hard time getting this to work.
I would like to have select action ring change from Hard Reset to Idle when the loop finishes running. I think I am on the right track but at this point I am stuck and an example of how to do this would be greatly appreciated. The VI is attached.
Attachments:
eps_state_machine.vi 20 KBNo, LabVIEW is EASY!
All you need is write to a local variable if the control.
I assum you want to reset whenever the loop iterates. If you only want to reset after the loop finishes at the end of the run, you would do it in a sequence frame after the loop.
Some notes:
your shift register is completly useless, because the carried value is never used by your code.
Your idle case spins the main loop at an infinite rate, using all CPU while not doing anything useful. (place an indicator on the iteration count to see.
Use an event structure to spin the loop only if it needs to.
Here's a quick draft:
Message Edited by altenbach on 06-26-2008 01:07 PM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
eps.PNG 18 KB
eps_state_machineMOD.vi 20 KB -
How to Distinguish two pages in OA framework
Hi All,
I am having only one responsibility where 2 functions are attached which are calling JSP page after 2/3 pages using HTML call and passing the parameters. My requirement is On the same responsibility , If I go through One function which is calling JSP page then I press next to navigate 2nd page ,at this second page, sysdate should be displayed on one of the field and if I go through the another function and click next to navigate second page then my customized date should be displayed. Whatever the second page which is getting called is the same on both the functions.
Kindly tell me how can i distinguish or customize the page so that on one function for second page sysdate should default whereas for another function for second page (same page of function 1 ) the customizecd date should default.
Please look below for example :-
1.Resp A --- Fun 1 and fun 2.
2. in Fun1 -- page X --> Navigate to next page --> Page "Special" (date should default sysdate in one of the field)
3. in Fun2 --> page A -->Navigate to next page --> Again Page "Special" (date should default customized date on the same field on fun1).
Thanks in advance.Duplicate post? -- How can i modify calander property in OA Framework?
-
How to modify the table control?
Hi all,
How to modify the table control after setting the lines = 1. ie tbl_ctr-lines = 1.(tbl_ctr is the table control).
Can anyone explain this with an example?
Thanks.hi
http://help.sap.com/saphelp_nw04/helpdata/EN/9f/dbac5e35c111d1829f0000e829fbfe/content.htm
Regards
pavan -
How to modify and save the data in the table control
how to modify and save the data in the table control
hi priya,
kindly go thru the code below.
PROCESS BEFORE OUTPUT.
MODULE status_9010.
LOOP WITH CONTROL tab_control.
MODULE move_data_to_table.
ENDLOOP.
PROCESS AFTER INPUT.
MODULE user_cancel AT EXIT-COMMAND.
LOOP WITH CONTROL tab_control.
MODULE move_data_from_table.
ENDLOOP.
MODULE move_data_to_table OUTPUT.
This is to move the data from the internal table to *the table control
*zmpets_mode-modecode, zmpets_range-rangeid, *zmpets_servfacto-factor are field names of the table *control columns.
READ TABLE int_factor INDEX tab_control-current_line.
IF sy-subrc = 0.
zmpets_mode-modecode = int_factor-modecode.
zmpets_range-rangeid = int_factor-rangeid.
zmpets_servfacto-factor = int_factor-factor.
ENDIF.
ENDMODULE. " move_data_to_table OUTPUT
**********************************************8888
MODULE move_data_from_table INPUT.
*To move the data from the table control to internal *table 'INT_FACTOR'.
int_factor-chk = line.
int_factor-modecode = zmpets_mode-modecode.
int_factor-rangeid = zmpets_range-rangeid.
int_factor-factor = zmpets_servfacto-factor.
MODIFY int_factor INDEX tab_control-current_line.
IF sy-subrc NE 0.
APPEND int_factor.
CLEAR int_factor.
ENDIF.
ENDMODULE. " move_data_from_table INPUT
if this helps , kindly award points.
for any clarification just mail me.
regards,
Anversha.S
[email protected] -
OA Framework pages personalization - how to modify View Instance
OA Framework pages personalization - how to modify View Instance
Hi
I need to add additional field to a page.
I found View Instance but there is no attribute I need.
Is it possible to modify View Instance from application level
because not using JDeveloper?
Thank you,
malinHi Malin,
If your VO does not include the column you are looking for, then the only way to achieve is thru VO substitution for which u will have to use jdeveloper.
You cannot achieve this by personalization.
Thanks,
Sree -
How to modify a part of task parameters via worklist (not all paramenters)?
I am making a demo of showing the functions of human workflow / worklist using Oracle SOA Suite. The following process is not a real project. But I have some questions about how to modify parameters in worklist and jdeveloper. Please help me.
I create a BPEL with human workflow. It has 2 human tasks.
The first human task is a single approver type and the parameters contents can be modified via worklist. The user is oc4jadmin.
If oc4jadmin rejects it, the process will go to the second human task.
The second human task is a sequential lists of approvers type and the parameters contents can be modified via worklist. 3 users (the order is : jcooper -> jlondon-> tolstoy) can access it. The process is able to abrupt completion if anyone rejects it.
After the process is invoked in BPEL control,
1, oc4jadmin login worklist and modified the data, than reject it.
2, jcooper can login worklist and changed the data, save it, and approve.
3, jlondon login, view data, change data, and save it. However, if jlondon modified the
My questions are as follow:
1, If oc4jadmin rejects the task in worklist, how can I set the parameter cannot be modified and saved.
2, schema:
<schema attributeFormDefault="unqualified"
elementFormDefault="qualified"
targetNamespace="http://xmlns.oracle.com/BPEL_single_sequential"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:vv="http://xmlns.oracle.com/BPEL_single_sequential">
<element name="BPEL_single_sequentialProcessRequest">
<complexType>
<sequence>
<element name="input" type="vv:complexType1" maxOccurs="unbounded"/>
</sequence>
</complexType>
</element>
<element name="BPEL_single_sequentialProcessResponse">
<complexType>
<sequence>
<element name="result" type="string"/>
</sequence>
</complexType>
</element>
<complexType name="complexType1">
<sequence>
<element name="pid" type="string"/>
<element name="ptitle" type="string" maxOccurs="unbounded"/>
</sequence>
</complexType>
</schema>
In the worklist, the user can add another pid and leave the ptitle empty. In the schema, the ptitle (minOccurs=1) should appear at least once. How can I set that, if the user add another pid and must add at least one ptitle before saving it?
3, One element likes gender=male/female. In the worklist form, the default graphic component is an input field. How can I set the component to a dropdown list and it highlight value.
4, The default form is jsp file and it is beautiful. Could I make a jspx page and replace the jsp page? How to replace the jsp to jspx?
5, If I use sequencial approver type for the human task, how can I set various page layout? For example, user 1 can view and modified all parameters. User 2 can view some part of the parameters and changes it. User 3 can view all paramters but can just modified some of them?
Thanks a lot!
Edited by: [email protected] on 2009-3-10 上午12:39
Edited by: [email protected] on 2009-3-10 上午12:44
Edited by: YEHi,
all what you asked about can be done through java script. -
How to modify Adapter parameters in PI 7.1 EHP1 ? using NWA
Hi,
Please advise me how to modify adapter service parameters in PI 7.1 EHP1 using nwa ?
in the previous version 3.0 and 7.0, i can use visual admin ---> cluser -
> services and i can find all the adapter service and modify the parameters.
Thank You and Best Regards
Fernand LesmanaHello Fernand
You can use the following alias to link directly to the PI adapter services
http:<hostname>:<port>/nwa/sys-config
See the link below for further details on this.
Java Service Properties for the Adapter Framework
http://help.sap.com/saphelp_nwpi71/helpdata/EN/9f/cbd1413f389c39e10000000a155106/content.htm
Regards
Mark -
How to modify a datafile using file read and file write
I have a datalog file containing port and DMM setup information. I want to read this file into an aray, update or modify it, and write it to a file. I can read the file in, but I am at a loss on how to modify it since it is stored in an indicator. Any suggestions?
The simplest thing is to replace your indicator by a control, and to use a local variable to write your data into the control.
Chilly Charly (aka CC)
E-List Master - Kudos glutton - Press the yellow button on the left... -
How to use table control in bdc, plz somebody tell me.
Hi Gurus,
Ples tell me
how to use table control in bdc, plz somebody tell me.
And send Sample CODE also. Thnaks in advance.hi,
Table control / step loop in BDC
Steploop and table contol is inevitable in certain transactions. When we run BDC for such transactions, we will face the situation: how many visible lines of steploop/tablecontrol are on the screen?
Although we can always find certain method to deal with it, such as function code 'NP', 'POPO', considering some extreme situation: there is only one line visible one the screen, our BDC program should display an error message. (See transaction 'ME21', we you resize your screen to let only one row visible, you can not enter mutiple lines on this screen even you use 'NP')
we can determine the number of visible lines on Transaction Screen from our Calling BDC program.
Demo ABAP code has two purposes:
1. how to determine number of visible lines and how to calculte page number;
(the 'calpage' routine has been modify to meet general purpose usage)
2. using field symbol in BDC program, please pay special attention to the difference
in Static ASSIGN and Dynamic ASSIGN.
Step1: go to screen painter to display the screen 121, then we can count the fixed line on this screen, there is 7 lines above the steploop and 2 lines below the steploop, so there are total 9 fixed lines on this screen. This means except these 9 lines, all the other line is for step loop.
Then have a look at steploop itselp, one entry of it will occupy two lines.
(Be careful, for table control, the head and the bottom scroll bar will possess another two fixed lines, and there is a maximum number for table line)
Now we have : FixedLine = 9
LoopLine = 2(for table control, LoopLine is always equal to 1)
Step2: go to transaction itself(ME21) to see how it roll page, in ME21, the first line of new page is always occupied by the last line of last page, so it begin with index '02', but in some other case, fisrt line is empty and ready for input.
Now we have: FirstLine = 0
or FirstLine = 1 ( in our case, FirstLine is 1 because the first line of new page is fulfilled)
Step3: write a subroutine calcalculating number of pages
(here, the name of actual parameter is the same as formal parameter)
global data: FixedLine type i, " number of fixed line on a certain screen
LoopLine type i, " the number of lines occupied by one steploop item
FirstLine type i, " possbile value 0 or 1, 0 stand for the first line of new " scrolling screen is empty, otherwise is 1
Dataline type i, " number of items you will use in BDC, using DESCRIBE to get
pageno type i, " you need to scroll screen how many times.
line type i, " number of lines appears on the screen.
index(2) type N, " the screen index for certain item
begin type i, " from parameter of loop
end type i. " to parameter of loop
*in code sample, the DataTable-linindex stands for the table index number of this line
form calpage using FixedLine type i (see step 1)
LoopLine type i (see step 1)
FirstLine type i (see step 2)
DataLine type i ( this is the item number you will enter in transaction)
changing pageno type i (return the number of page, depends on run-time visible line in table control/ Step Loop)
changing line type i.(visible lines one the screen)
data: midd type i,
vline type i, "visible lines
if DataLine eq 0.
Message eXXX.
endif.
vline = ( sy-srows - FixedLine ) div LoopLine.
*for table control, you should compare vline with maximum line of
*table control, then take the small one that is min(vline, maximum)
*here only illustrate step loop
if FirstLine eq 0.
pageno = DataLine div vline.
if pageno eq 0.
pageno = pageno + 1.
endif.
elseif FirstLine eq 1.
pageno = ( DataLine - 1 ) div ( vline - 1 ) + 1.
midd = ( DataLine - 1 ) mod ( vline - 1).
if midd = 0 and DataLine gt 1.
pageno = pageno - 1.
endif.
endif.
line = vline.
endform.
Step4 write a subroutine to calculate the line index for each item.
form calindex using Line type i (visible lines on the screen)
FirstLine type i(see step 2)
LineIndex type i(item index)
changing Index type n. (index on the screen)
if FirstLine = 0.
index = LineIndex mod Line.
if index = '00'.
index = Line.
endif.
elseif FirstLine = 1.
index = LineIndex mod ( Line - 1 ).
if ( index between 1 and 0 ) and LineIndex gt 1.
index = index + Line - 1.
endif.
if Line = 2.
index = index + Line - 1.
endif.
endif.
endform.
Step5 write a subroutine to calculate the loop range.
form calrange using Line type i ( visible lines on the screen)
DataLine type i
FirstLine type i
loopindex like sy-index
changing begin type i
end type i.
If FirstLine = 0.
if loopindex = 1.
begin = 1.
if DataLine <= Line.
end = DataLine.
else.
end = Line.
endif.
elseif loopindex gt 1.
begin = Line * ( loopindex - 1 ) + 1.
end = Line * loopindex.
if end gt DataLine.
end = DataLine.
endif.
endif.
elseif FirstLine = 1.
if loopindex = 1.
begin = 1.
if DataLine <= Line.
end = DataLine.
else.
end = Line.
endif.
elseif loop index gt 1.
begin = ( Line - 1 ) * ( loopindex - 1 ) + 2.
end = ( Line - 1 ) * ( loopindex - 1 ) + Line.
if end gt DataLine.
end = DataLine.
endif.
endif.
endif.
endform.
Step6
using field sysbol in your BDC, for example: in ME21, but you should calculate each item will correponding to which index in steploop/Table Control
form creat_bdc.
field-symbols: , , .
data: name1(14) value 'EKPO-EMATN(XX)',
name2(14) value 'EKPO-MENGE(XX)',
name3(15) value 'RM06E-SELKZ(XX)'.
assign: name1 to ,
name2 to ,
name3 to .
do pageno times.
if sy-index gt 1
*insert scroll page ok_code"
endif.
perform calrange using Line DataLine FirstLine sy-index
changing begin end.
loop at DataTable from begin to end.
perform calindex using Line FirstLine DataTable-LineIndex changing Index.
name1+11(2) = Index.
name2+11(2) = Index.
name3+12(2) = Index.
perform bdcfield using DataTable-matnr.
perform bdcfield using DataTable-menge.
perform bdcfield using DataTable-indicator.
endloop.
enddo.
example 1
BDC table control is an area on the screen in which you can display data in tabular form. You process it using a loop. Table controls are comparable to step loop tables. While a table control consists of a single definition row, step loop blocks may extend over more than one row. Table controls are more flexible than step loops, and are intended to replace them
When you need to handle a scenario like in sales order,it may contain more than one material,if you have more than one material We have to use table control,it will have number of columns and number of rows.
Table controls allow you to enter, display, and modify tabular data easily on the screen
Check this code,
PARAMETERS: file1 LIKE rlgrap-filename.
*Internal Table Declarations
DATA: BEGIN OF itab OCCURS 0,
matnr(18) TYPE c, "MaterialNumber
werks(4) TYPE c, "Plant
vdatu(10) TYPE c, "Valid From Date
bdatu(10) TYPE c, "Valid To Date
lifnr(10) TYPE c, "Vendor Number
ekorg(4) TYPE c, "Purchasing Organization
feskz TYPE c, "Fixed
autet TYPE c, "MRP Indicator
END OF itab.
DATA: bdcdata LIKE TABLE OF bdcdata WITH HEADER LINE.
*VARIABLES Declarations
DATA: wa1 LIKE LINE OF itab. "Workarea for ITAB
DATA: n TYPE i, "Check
count TYPE i.
DATA: cnt(2), "Counter
wa(15). "Workarea to hold concatenatedvalue
DATA v_msg(100).
DATA: flag.
DATA: file TYPE string.
*Initialization event
INITIALIZATION.
*At-selection-screen event
*To provide Input help for file name
AT SELECTION-SCREEN ON VALUE-REQUEST FOR file1.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
IMPORTING
file_name = file1.
*START-OF-SELECTION EVENT
START-OF-SELECTION.
MOVE file1 TO file.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = file
filetype = 'ASC'
has_field_separator = 'X'
TABLES
data_tab = itab
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*To populate BDCDATA and start data transfer
LOOP AT itab .
To validate Plant range
IF itab-werks = '1000' OR itab-werks = '2000'
OR itab-werks = '1008'.
AT NEW werks.
CLEAR: n.
cnt = 1.
PERFORM bdc_dynpro USING 'SAPLMEOR' '0200'.
PERFORM bdc_field USING 'BDC_CURSOR'
'EORD-MATNR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'EORD-MATNR'
itab-matnr.
PERFORM bdc_field USING 'EORD-WERKS'
itab-werks.
PERFORM bdc_dynpro USING 'SAPLMEOR' '0205'.
CONCATENATE 'EORD-EKORG(' cnt ')' INTO wa.
PERFORM bdc_field USING 'BDC_CURSOR'
wa.
PERFORM bdc_field USING 'BDC_OKCODE'
'=BU'.
ENDAT.
IF n = 12.
READ TABLE bdcdata WITH KEY fval = '=BU'.
bdcdata-fval = '=NS'.
MODIFY bdcdata INDEX sy-tabix TRANSPORTING fval.
PERFORM bdc_dynpro USING 'SAPLMEOR' '0205'.
PERFORM bdc_field USING 'BDC_CURSOR'
'EORD-VDATU(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=BU'.
cnt = 2.
n = 2.
ENDIF.
CONCATENATE 'EORD-VDATU(' cnt ')' INTO wa.
PERFORM bdc_field USING wa
itab-vdatu.
CONCATENATE 'EORD-BDATU(' cnt ')' INTO wa.
PERFORM bdc_field USING wa
itab-bdatu.
CONCATENATE 'EORD-LIFNR(' cnt ')' INTO wa.
PERFORM bdc_field USING wa
itab-lifnr.
CONCATENATE 'EORD-EKORG(' cnt ')' INTO wa.
PERFORM bdc_field USING wa
itab-ekorg.
CONCATENATE 'RM06W-FESKZ(' cnt ')' INTO wa.
PERFORM bdc_field USING wa
itab-feskz.
CONCATENATE 'EORD-AUTET(' cnt ')' INTO wa.
PERFORM bdc_field USING wa
itab-autet.
IF n <> 12.
n = cnt.
ENDIF.
cnt = cnt + 1.
AT END OF werks.
CALL TRANSACTION 'ME01' USING bdcdata
UPDATE 'S'
MODE 'A'.
CLEAR:bdcdata,bdcdata[].
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
id = sy-msgid
lang = 'EN'
no = sy-msgno
v1 = sy-msgv1
v2 = sy-msgv2
v3 = sy-msgv3
v4 = sy-msgv4
IMPORTING
msg = v_msg.
WRITE:/ v_msg.
CLEAR: bdcdata,bdcdata[],flag.
ENDAT.
ENDIF.
ENDLOOP.
Start new screen *
FORM bdc_dynpro USING program dynpro.
CLEAR bdcdata.
bdcdata-program = program.
bdcdata-dynpro = dynpro.
bdcdata-dynbegin = 'X'.
APPEND bdcdata.
ENDFORM.
Insert field values
FORM bdc_field USING fnam fval.
IF NOT fval IS INITIAL.
CLEAR bdcdata.
bdcdata-fnam = fnam.
bdcdata-fval = fval.
APPEND bdcdata.
ENDIF.
CLEAR wa.
ENDFORM.
Sample code 2
THis is example to upload the Bank details of the Vendor which has the TC.
REPORT zprataptable2
NO STANDARD PAGE HEADING LINE-SIZE 255.
DATA : BEGIN OF itab OCCURS 0,
i1 TYPE i,
lifnr LIKE rf02k-lifnr,
bukrs LIKE rf02k-bukrs,
ekorg LIKE rf02k-ekorg,
ktokk LIKE rf02k-ktokk,
anred LIKE lfa1-anred,
name1 LIKE lfa1-name1,
sortl LIKE lfa1-sortl,
land1 LIKE lfa1-land1,
akont LIKE lfb1-akont,
fdgrv LIKE lfb1-fdgrv,
waers LIKE lfm1-waers,
END OF itab.
DATA : BEGIN OF jtab OCCURS 0,
j1 TYPE i,
banks LIKE lfbk-banks,
bankl LIKE lfbk-bankl,
bankn LIKE lfbk-bankn,
END OF jtab.
DATA : cnt(4) TYPE n.
DATA : fdt(20) TYPE c.
DATA : c TYPE i.
INCLUDE bdcrecx1.
START-OF-SELECTION.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
filename = 'C:\first1.txt'
filetype = 'DAT'
TABLES
data_tab = itab.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
filename = 'C:\second.txt'
filetype = 'DAT'
TABLES
data_tab = jtab.
LOOP AT itab.
PERFORM bdc_dynpro USING 'SAPMF02K' '0100'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RF02K-KTOKK'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'RF02K-LIFNR'
itab-lifnr.
PERFORM bdc_field USING 'RF02K-BUKRS'
itab-bukrs.
PERFORM bdc_field USING 'RF02K-EKORG'
itab-ekorg.
PERFORM bdc_field USING 'RF02K-KTOKK'
itab-ktokk.
PERFORM bdc_dynpro USING 'SAPMF02K' '0110'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFA1-LAND1'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'LFA1-ANRED'
itab-anred.
PERFORM bdc_field USING 'LFA1-NAME1'
itab-name1.
PERFORM bdc_field USING 'LFA1-SORTL'
itab-sortl.
PERFORM bdc_field USING 'LFA1-LAND1'
itab-land1.
PERFORM bdc_dynpro USING 'SAPMF02K' '0120'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFA1-KUNNR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFBK-BANKN(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTR'.
cnt = 0.
LOOP AT jtab WHERE j1 = itab-i1.
cnt = cnt + 1.
CONCATENATE 'LFBK-BANKS(' cnt ')' INTO fdt.
PERFORM bdc_field USING fdt jtab-banks.
CONCATENATE 'LFBK-BANKL(' cnt ')' INTO fdt.
PERFORM bdc_field USING fdt jtab-bankl.
CONCATENATE 'LFBK-BANKN(' cnt ')' INTO fdt.
PERFORM bdc_field USING fdt jtab-bankn.
IF cnt = 5.
cnt = 0.
PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFBK-BANKS(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=P+'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFBK-BANKN(02)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTR'.
ENDIF.
ENDLOOP.
PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFBK-BANKS(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTR'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0210'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFB1-FDGRV'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'LFB1-AKONT'
itab-akont.
PERFORM bdc_field USING 'LFB1-FDGRV'
itab-fdgrv.
PERFORM bdc_dynpro USING 'SAPMF02K' '0215'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFB1-ZTERM'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0220'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFB5-MAHNA'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0310'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFM1-WAERS'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'LFM1-WAERS'
itab-waers.
PERFORM bdc_dynpro USING 'SAPMF02K' '0320'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RF02K-LIFNR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTR'.
PERFORM bdc_dynpro USING 'SAPLSPO1' '0300'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=YES'.
PERFORM bdc_transaction USING 'XK01'.
ENDLOOP.
PERFORM close_group.
Header file:
1 63190 0001 0001 0001 mr bal188 b in 31000 a1 inr
2 63191 0001 0001 0001 mr bal189 b in 31000 a1 inr
TC file:
1 in sb 11000
1 in sb 12000
1 in sb 13000
1 in sb 14000
1 in sb 15000
1 in sb 16000
1 in sb 17000
1 in sb 18000
1 in sb 19000
1 in sb 20000
1 in sb 21000
1 in sb 22000
2 in sb 21000
2 in sb 22000
Regards -
How to hide table control in a screen
Hi, Gems,
I want to hide the table control.Using "loop at screen" I am able to hide all other components except table control.
Can anyone tell me how to hide table control in a screen?
Any help will be appreciated.
-Thanks
Surajit.Hi,
In the PBO (in a module outside to the LOOP...ENDLOOP), use this
MODULE status_0100 OUTPUT.
IF sy-ucomm EQ space. "Give the function code on which you want to make your table control go invisible
"Give a space if you want your table control to remail invisible on display of the screen
CLEAR: t_header[].
LOOP AT tabcontrol1-cols[] INTO wa_control1.
wa_control1-invisible = '1'.
MODIFY tabcontrol1-cols[] FROM wa_control1 INDEX sy-tabix.
ENDLOOP.
ENDMODULE. -
HOW TO MAKE TABLE CONTROL NON EDITABLE
hi all
how to make table control non editable
Thanks & Regards
harshaHi,
Try this code in the PBO inside the module in the LOOP...ENDLOOP.
IF SY-TCODE EQ 'ZEMPLDISPLAY'.
LOOP AT SCREEN.
if screen-name eq 'column1' or screen-name eq 'column2'. "Give the names of the columns in the table control
SCREEN-INPUT = '0'.
MODIFY SCREEN.
endif.
ENDLOOP.
ENDIF.
Or you can go the Layout of the table control in Change mode and for every column's attributes, make it 'Output' only field. Check 'Output only' field. -
I am trying to control a Tektronix 370B curve tracer using LabView via a GPIB interface. However, there are no drivers available for download for the 370B. There is one available for the 370A, but it is not compatible with the 370B and I have been unable to figure out how to modify it to make it work with the 370B. Does anyone know how to modify this driver, or know of an existing driver that works with the 370B? Thanks!
Hi S _Bracht,
Yeah, unfortunately, the Tektronix 370B does not currently have an instrument driver and the driver for the 370A is not supported by National Instruments (it is just posted on our website as a courtesy) - so I am afraid that there is not really any more information on the differences that might exist between the two available from National Instruments. As an alternative, you can always develop your own driver using the VISA and 488.2 drivers + a copy of the user manual for the Tektronix 370B. Otherwise, you may consider speaking with Tektronix or getting ahold of a User Manual for the 370A and comparing some of the settings - there are likely some differences in your configuration options at the very least. Or, if someone out there has tackled this before and shares their knowledge...
Good luck!
Regards,
Anna M.
National Instruments -
Urgent : How to modify the line type and table type
I am working on ALV Grid Control, i need to know how to modify the line type values to table type.
ls_celltab-fieldname = 'ZSAVINGS '.
ls_celltab-style = l_mode.
INSERT ls_celltab INTO TABLE pt_celltab.
Here ls_celltab is line type and pt_celltab is table type.
Please give me the suggestion ASAP.
C.Bharath KumarHi,
Here is the example
DATA: BEGIN OF LINE,
LAND(3) TYPE C,
NAME(10) TYPE C,
AGE TYPE I,
WEIGHT TYPE P DECIMALS 2,
END OF LINE.
DATA ITAB LIKE SORTED TABLE OF LINE
WITH NON-UNIQUE KEY LAND NAME AGE WEIGHT.
LINE-LAND = 'G'. LINE-NAME = 'Hans'.
LINE-AGE = 20. LINE-WEIGHT = '80.00'.
INSERT LINE INTO TABLE ITAB.
LINE-LAND = 'USA'. LINE-NAME = 'Nancy'.
LINE-AGE = 35. LINE-WEIGHT = '45.00'.
INSERT LINE INTO TABLE ITAB.
Regards
Sudheer
Maybe you are looking for
-
I have photoshop CS3 and it has been working fine up to now. I have just resized a photo to a panoramic to upload to Facebook, minor editing and saved it as a .jpg as usual. It won't upload to either Facebook or Flickr. The original photo that has no
-
Mac zip files won't open in Windows PC
I have been right clicking and compressing raw .mov video files to send from the UK to Australia via wetransfer. I am using a Macbook Pro with Mountain Lion. Each set of zipped files is between 3GB - 8GB in size and they (compress) and zip and send f
-
Hi all, I would like to send a daily email and/or text alert to a friend of mine either from my iphone 3gs. I have spent some time on the net looking for options of doing it from iCal, Mac mail, and my iphone but i am not finding anything. I just wan
-
Wl6.1sp2 can't find classes in WEB-INF/lib
Hi, I meet a very strange problem. I use struts in my application.so I put struts.jar in web-inf/lib. In the .war file, the struts.jar can be found under web-inf/lib. my servlet configuration in web.x
-
Firefox won't install on my computer
I've had firefox installed on my laptop forever. Lately, it's been having trouble updating firefox. I removed the firefox program and then tried to reinstall it on my laptop. I click on the download button and click run but nothing ever happens. I ev