F4 for selecting folder from front end
Hi,
The function module KD_GET_FILENAME_ON_F4 can be used for selecting a file from the front end.
Similar way, I need to select a folder name (not specific file in it) through F4 help on to a parameter entry on the selection screen.
Anyone can help me with the relevant fn module or method.
Advance Thanks
Aadarsh
HI.
Using ABAP Objects suits better to ur requirement.
The class CL_GUI_FRONTEND_SERVICES should be used. In that a default method is there which shall give u list of directories.
Thanks and regards,
Maheshwari.V
Similar Messages
-
Updating master data for time dimensions from front end
Hi Experts,
I am sure this must be handled in a very straight forward way. Just want to know the best practice here. We are working on a copy of appset and want to completely revamp the time dimension papers as per client's fiscal year which is april to march every year.
When we have deleted all the existing memebers from the time dimension master data from BPC front end and replaced with new memebers, the task is getting completed successfully.
But when I check back in BI for the master data, it has not replaced all the existing members. How best to handle this?
The transaction data is deleted from all the application cubes. Are there any checks to be performed?
Thanks,
SantoshClosing the thread as I could not replicate the problem. The problem is resolved.
Thanks,
Santosh -
For disable any responsibility we are end date that from front end.
for disable any responsibility we are end date that from front end. what nay command from backend for disable the responsibilty.?
Refer the following thread
delete a responsability
Re: delete a responsability
Regards
-Mahesh -
Can we run in Background job which can pick a file from front end ?
Hi All,
I would like to run a report in Background job , for this i need to pick a file from front end services(Local drive or share folder)
Is there any alternate FM=>GUI_UPLOAD to upload data from front end services or any other solution for this?
I am getting error=> "No batch" and " Cannot perform frontend function in batch input mode"
Could you please help on this ?
Thanks for your help in advance.
Regards,
Prasad.Hello Prasad,
IF you keep your file on a shared folder on your front end, you can access it via OPEN DATASET if your application server has access to that path.
You can test it out by asking Basis to try and access your front end file from the app server itself. -
To upload an excel file from front end using GUI_UPLOAD
Hi All,
Please give me the code to upload data from front end to internal table only using GUI_UPLOAD.
Thanks,
KumarCheck this program , reward points if helpful
*& Report ZEXCEL_UPLOAD *
report ZEXCEL_UPLOAD message-id ZMSG.
tables :T001.
data : begin of ITAB occurs 0,
BUKRS like T001-BUKRS,
BUTXT like T001-BUTXT,
ORT01 like T001-ORT01,
LAND1 like T001-LAND1,
WAERS like T001-WAERS,
end of ITAB.
data : WA_T001_EXCEL like ITAB.
data : IT_T001_EXCEL like standard table of WA_T001_EXCEL.
data IT_TEXT like ITAB occurs 0 with header line.
data : IT_RETURN like standard table of ALSMEX_TABLINE,
WA_RETURN like ALSMEX_TABLINE,
WA_RETURNS like ALSMEX_TABLINE.
data : V_FILE type STRING,V_MASK(10) type C.
selection-screen begin of block B1 with frame title TEXT-001.
parameters P_FILE like RLGRAP-FILENAME .
selection-screen end of block B1.
selection-screen begin of block B2 with frame title TEXT-002.
parameter : R_TXT radiobutton group G1 default 'X' user-command C1,
R_EXCEL radiobutton group G1.
selection-screen end of block B2.
at selection-screen on value-request for P_FILE.
if R_TXT = 'X'.
V_MASK = '*TXT'.
elseif R_EXCEL = 'X'.
V_MASK = '*XLS'.
endif.
call function 'KD_GET_FILENAME_ON_F4'
exporting
PROGRAM_NAME = SYST-REPID
DYNPRO_NUMBER = SYST-DYNNR
MASK = V_MASK
changing
FILE_NAME = P_FILE.
at selection-screen.
translate P_FILE to upper case.
if R_TXT = 'X'.
search P_FILE for '*TXT'.
if SY-SUBRC <> 0.
message E011.
endif.
endif.
if R_EXCEL = 'X'.
search P_FILE for '*XLS'.
if SY-SUBRC <> 0.
message E012.
endif.
endif.
start-of-selection.
V_FILE = P_FILE.
if R_TXT = 'X'.
call function 'GUI_UPLOAD'
exporting
FILENAME = V_FILE
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
tables
DATA_TAB = IT_TEXT.
if SY-SUBRC eq 0.
message I013 with V_FILE.
loop at IT_TEXT .
write :/ IT_TEXT-BUKRS color 4, IT_TEXT-BUTXT color 3,IT_TEXT-ORT01
color 5,
IT_TEXT-LAND1 color 2,IT_TEXT-WAERS color 1.
endloop.
endif.
elseif R_EXCEL = 'X'.
call function 'ALSM_EXCEL_TO_INTERNAL_TABLE'
exporting
FILENAME = P_FILE
I_BEGIN_COL = 1
I_BEGIN_ROW = 1
I_END_COL = 4
I_END_ROW = 2
tables
INTERN = IT_RETURN.
if SY-SUBRC eq 0.
message I014 with P_FILE.
sort IT_RETURN by ROW COL.
loop at IT_RETURN into WA_RETURNS.
WA_RETURN = WA_RETURNS.
case WA_RETURN-COL.
when 1.
WA_T001_EXCEL-BUKRS = WA_RETURN-VALUE.
when 2.
WA_T001_EXCEL-BUTXT = WA_RETURN-VALUE.
when 3.
WA_T001_EXCEL-ORT01 = WA_RETURN-VALUE.
when 4.
WA_T001_EXCEL-LAND1 = WA_RETURN-VALUE.
endcase.
at end of ROW.
append WA_T001_EXCEL to IT_T001_EXCEL.
clear : WA_RETURN, WA_T001_EXCEL.
endat.
endloop.
endif.
loop at IT_T001_EXCEL into WA_T001_EXCEL.
write :/ WA_T001_EXCEL-BUKRS color 1, WA_T001_EXCEL-BUTXT color 2,
WA_T001_EXCEL-ORT01 color 3,WA_T001_EXCEL-LAND1 color 4.
endloop.
endif. -
How to send the message from front end to XI in sender webservice
Hi All,
I am doing webservice to proxy scenario, we want to send the message from front end to XI, front end is java application. can any one please guide me the steps need to done for front end to XI.
1) we wrote a webservice
2) i have created data type message type and message interface in IR
3) i have created sender soap adapter with interface name and namespace.
4) i have generated webservice in ID
but how can we send the message from front end to XI sender soap adapter.
Kind Regards,
KiranHi,
Before going with the SOAP Adapter i suggest you to go through this Disscussion
Re: about http and soap
If you are going with the SOAP Adapter means
>>but how can we send the message from front end to XI sender soap adapter.
you have to use the XI Server URL( http://host name:j2ee port/
Use this as Refference
http://help.sap.com/saphelp_nw70/helpdata/EN/ae/d03341771b4c0de10000000a1550b0/frameset.htm
Regards
Seshagiri -
Multiple PDF outputs from front-end
I am working on a report that always shows one page per customer. When user generates report from front-end interface, this will call BI Publisher report and report shows entire customers information in one PDF (with X pages for X customers). Users want to see X number of PDF documents with each PDF having 1 page for customer when this report is invoked on demand from a front-end application. Is this possible in BI Publisher?
I know there is bursting functionality, but it is applicable to scheduled jobs.
Please could some one help me to figure out if this is possbile in BI Publisher or not.
Many thanks in advance.so look at library to work with bip by java api
as example of merging Merging pdf documents using the BI-Publisher API</title> //<title>AMIS Technology Blog &raquo; Mergin…
may be some split method exists
so you can seek for some java api for working with pdf and as your report contain X customers on X pages thus customer per page then you can try to split by page -
HT5824 Can I use only one (selected) folder from my documents in iCloud?
Can I use only one (selected) folder from my documents in iCloud for MAC and PC?
If the folders were created in the Photos app on the iPad, they don't really contain copies of the photos. They contain pointers to those photos that allow them to appear in the albums that you create. Consequently, they cannot be imported to the computer. Those albums are for local organization on the iPad only And cannot be imported.
You should be able to select the indicidual phots that you want to import, as far as I know. I can do it on a Mac using iPhoto or Image Capture, so I assume that Windows will allow you to pick and choose which photos you want to import.
Import photos and videos from your iPhone, iPad, or iPod touch to your Mac or Windows PC - Apple Support -
Download to excel from front end - percent coming as date
download to excel from front end - percent coming as date
Hi,
i'm using below method to dowload to excel from frontend (Backened is R/3).
1) l_string will have the entire xls date ( with sepeartor cl_abap_char_utilities=>horizontal_tab and cl_abap_char_utilities=>newline)
2) Converitng string to xstring using FM SCMS_STRING_TO_XSTRING
3) pumping excel date to browser using IF_HTTP_ENTITY~SET_DATA
4) creating URL using GUID_CREATE fm.
it's downloding the excel file but funny date.
example
percentage 1.5 coming as Jan 50 and Percent 3.5 coming March 50.
How to avoid this funny conversion.
...NandhaHi Nanda,
have you tried to change the number format of the corresponding cells in excel to percentage?
BR Steffen -
How to get name of table from front end
Hi,
How to get name of table from front end in EBS 11i?
thanx
AshishHi
Sandeep is correct. The "Help"/"Record History" will give you the table/view name, but sometimes this particular menu function give me a "Record History is not available here." error message.
I then use the following menu functions (this will also give you additional information, like column details).
1) Open Forms
2) Click on Help/Diagnostics/Examine (*you might have to enter the APPS password at this point)
3) Change "Block" to "System"
4) Change "Field" to "Last_query"
The system will populate the "Value" field with the query that was executed in order to populate the form.
Regards
Frank -
Unable to acces Oracle Apps 11i from front end
Hi All
unable to access my production server from front end.after a cold backup, database and apps started normally but It is not accesible from front end.
details
bash-3.00$ adapcctl.sh status apps/apps
adapcctl.sh version 115.47
Apache Web Server Listener is stopped.
Apache Web Server Listener :httpd ( pid 571 ) is running
adapcctl.sh: exiting with status 0
bash-3.00$ ps -ef | grep Apache
applprod 614 571 0 01:22:26 ? 0:00 /applprod/prodora/iAS/Apache/
Apache/bin/httpd -d /applprod/prodora/iAS/Apache/A
applprod 609 571 0 01:22:26 ? 0:00 /applprod/prodora/iAS/Apache/
Apache/bin/httpd -d /applprod/prodora/iAS/Apache/A
applprod 591 571 0 01:22:25 ? 0:00 /applprod/prodora/iAS/Apache/
Apache/bin/httpd -d /applprod/prodora/iAS/Apache/A
applprod 607 606 0 01:22:26 ? 0:00 /applprod/prodora/iAS/Apache/
Apache/bin/rotatelogs /applprod/prodora/iAS/Apache
applprod 592 571 0 01:22:25 ? 0:00 /applprod/prodora/iAS/Apache/
Apache/bin/httpd -d /applprod/prodora/iAS/Apache/A
applprod 3455 2625 0 02:14:54 pts/3 0:00 grep Apache
applprod 610 571 0 01:22:26 ? 0:00 /applprod/prodora/iAS/Apache/
Apache/bin/httpd -d /applprod/prodora/iAS/Apache/A
applprod 571 1 0 01:22:25 ? 0:00 /applprod/prodora/iAS/Apache/
Apache/bin/httpd -d /applprod/prodora/iAS/Apache/A
applprod 606 571 0 01:22:26 ? 0:00 /bin/sh -c /applprod/prodora/
iAS/Apache/Apache/bin/rotatelogs /applprod/prodora
applprod 615 571 0 01:22:26 ? 0:00 /applprod/prodora/iAS/Apache/
Apache/bin/httpd -d /applprod/prodora/iAS/Apache/A
applprod 608 571 0 01:22:26 ? 0:00 /applprod/prodora/iAS/Apache/
Apache/bin/httpd -d /applprod/prodora/iAS/Apache/A
Thanks
Rahullog file is as follows
bash-3.00$ tail -40 /applprod/prodora/iAS/Apache/Apache/logs/error_log
[Wed Oct 13 18:54:18 2010] [error] [client 192.168.66.111] client denied by serv
er configuration: /applprod/prodcomn/java/oracle/ewt
[Wed Oct 13 18:54:18 2010] [error] [client 192.168.66.111] File does not exist:
/applprod/prodcomn/java/oracle/ewt/alert/resource/AlertBundle_en_US.properties
[Wed Oct 13 18:56:36 2010] [error] [client 192.168.66.243] client denied by serv
er configuration: /applprod/prodcomn/java/java
[Wed Oct 13 18:56:37 2010] [error] [client 192.168.66.243] client denied by serv
er configuration: /applprod/prodcomn/java/java
[Wed Oct 13 18:56:37 2010] [error] [client 192.168.66.243] File does not exist:
/applprod/prodcomn/java/oracle/forms/icons/oracle_logo_light.gif
[Wed Oct 13 18:56:37 2010] [error] [client 192.168.66.243] File does not exist:
/applprod/prodcomn/java/oracle/forms/icons/oracle_logo_light.gif
[Wed Oct 13 18:56:37 2010] [error] [client 192.168.66.243] File does not exist:
/applprod/prodcomn/java/oracle/forms/icons/oracle_logo_light.gif
[Wed Oct 13 18:56:37 2010] [error] [client 192.168.66.243] File does not exist:
/applprod/prodcomn/java/oracle/forms/icons/oracle_logo_light.gif
[Wed Oct 13 19:01:23 2010] [error] [client 192.168.66.243] File does not exist:
/applprod/prodcomn/java/oracle/apps/media/oracle/apps/media/splash.gif
[Wed Oct 13 19:01:23 2010] [error] [client 192.168.66.243] File does not exist:
/applprod/prodcomn/java/oracle/apps/media/oracle/apps/media/splash.gif
[Wed Oct 13 19:01:23 2010] [error] [client 192.168.66.243] File does not exist:
/applprod/prodcomn/java/oracle/apps/media/oracle/apps/media/splash.gif
[Wed Oct 13 19:01:23 2010] [error] [client 192.168.66.243] File does not exist:
/applprod/prodcomn/java/oracle/apps/media/oracle/apps/media/splash.gif
[Wed Oct 13 19:01:23 2010] [error] [client 192.168.66.243] File does not exist:
/applprod/prodcomn/java/oracle/forms/icons/oracle_logo_light.gif
[Wed Oct 13 19:01:23 2010] [error] [client 192.168.66.243] File does not exist:
/applprod/prodcomn/java/oracle/forms/icons/oracle_logo_light.gif
[Wed Oct 13 19:01:25 2010] [error] [client 192.168.66.243] client denied by serv
er configuration: /applprod/prodcomn/java/oracle/dms
[Wed Oct 13 19:01:25 2010] [error] [client 192.168.66.243] client denied by serv
er configuration: /applprod/prodcomn/java/oracle/dms
[Wed Oct 13 19:02:44 2010] [error] [client 192.168.57.8] File does not exist: /a
pplprod/prodcomn/java/oracle/apps/media/oracle/apps/media/splash.gif
[Wed Oct 13 19:02:44 2010] [error] [client 192.168.57.8] File does not exist: /a
pplprod/prodcomn/java/oracle/apps/media/oracle/apps/media/splash.gif
[Wed Oct 13 19:02:44 2010] [error] [client 192.168.57.8] File does not exist: /a
pplprod/prodcomn/java/oracle/apps/media/oracle/apps/media/splash.gif
[Wed Oct 13 19:02:44 2010] [error] [client 192.168.57.8] File does not exist: /a
pplprod/prodcomn/java/oracle/apps/media/oracle/apps/media/splash.gif
[Wed Oct 13 19:02:44 2010] [error] [client 192.168.57.8] File does not exist: /a
pplprod/prodcomn/java/oracle/forms/icons/oracle_logo_light.gif
[Wed Oct 13 19:02:44 2010] [error] [client 192.168.57.8] File does not exist: /a
pplprod/prodcomn/java/oracle/forms/icons/oracle_logo_light.gif
[Wed Oct 13 19:03:31 2010] [error] [client 192.168.57.8] client denied by server
configuration: /applprod/prodcomn/java/oracle/dms
[Wed Oct 13 19:03:31 2010] [error] [client 192.168.57.8] client denied by server
configuration: /applprod/prodcomn/java/oracle/dms
[Wed Oct 13 19:05:50 2010] [error] [client 192.168.66.188] client denied by serv
er configuration: /applprod/prodcomn/java/oracle/ewt
[Wed Oct 13 19:05:50 2010] [error] [client 192.168.66.188] client denied by serv
er configuration: /applprod/prodcomn/java/oracle/ewt
[Wed Oct 13 19:05:50 2010] [error] [client 192.168.66.188] File does not exist:
/applprod/prodcomn/java/oracle/ewt/alert/resource/AlertBundle_en_US.properties
[Wed Oct 13 19:20:00 2010] [error] [client 107.108.6.97] client denied by server
configuration: /applprod/prodcomn/java/java
[Wed Oct 13 19:20:00 2010] [error] [client 107.108.6.97] client denied by server
configuration: /applprod/prodcomn/java/java
[Wed Oct 13 19:20:01 2010] [error] [client 107.108.6.97] File does not exist: /a
pplprod/prodcomn/java/oracle/forms/icons/oracle_logo_light.gif
[Wed Oct 13 19:20:01 2010] [error] [client 107.108.6.97] File does not exist: /a
pplprod/prodcomn/java/oracle/forms/icons/oracle_logo_light.gif
[Wed Oct 13 19:20:01 2010] [error] [client 107.108.6.97] File does not exist: /a
pplprod/prodcomn/java/oracle/forms/icons/oracle_logo_light.gif
[Wed Oct 13 19:20:01 2010] [error] [client 107.108.6.97] File does not exist: /a
pplprod/prodcomn/java/oracle/forms/icons/oracle_logo_light.gif
[Wed Oct 13 20:22:44 2010] [error] [client 107.108.6.22] File does not exist: /a
pplprod/prodcomn/portal/PROD_flex-prod/favicon.ico
[Wed Oct 13 20:22:46 2010] [error] [client 107.108.6.22] File does not exist: /a
pplprod/prodcomn/portal/PROD_flex-prod/favicon.ico
[Wed Oct 13 20:22:49 2010] [error] [client 107.108.6.22] client denied by server
configuration: /applprod/prodcomn/java/java
[Wed Oct 13 20:22:50 2010] [error] [client 107.108.6.22] File does not exist: /a
pplprod/prodcomn/java/oracle/forms/icons/oracle_logo_light.gif
[Wed Oct 13 20:22:51 2010] [error] [client 107.108.6.22] File does not exist: /a
pplprod/prodcomn/java/oracle/forms/icons/oracle_logo_light.gif
Terminated
[Wed Oct 13 20:25:45 2010] [notice] caught SIGTERM, shutting down -
Which file on the DVD should I select to install front end gui
Hello Basis gurus
I am trying to install the Front End Gui on my laptop (SAP GUI for Windows 7.20).
The older versions had a file called SETUP.EXE which I used to select to install the Front End Gui.
However, on this CD I don't see that file.
I read the Installation Guide which gives 2 scenarios.
1. Creating an installation server and then use that to install on different systems on the network.
2. Taking the CD to each windows client and install it directly from the CD.
However, the installation guide explains the scenario 1, installing using installation server.
There is no explanation of how to do the installations directly from CD. Since I don't see the setup.exe file, I don't know what else to do. Has anyone done this? If so could you please let me know. I would appreciate it.
Thanks a lot
RIf you are talking about the NW 7.0 Presentation DVD/CD for the SAP GUI 7.20 installer, once extracted, I believe the setup you are looking for is located here:
Under NW_7.0_Presentation\PRES1\GUI\WINDOWS\WIN32
From that location you should see the setup executeables.
SapBiSetup.exe
SapGuiSetup.exe
SetupAll.exe
If you run the SapGuiSetup.exe, that should install 7.20 for you.
If you run the SetupAll.exe, that will present you with options you want to have installed along witht he SAP GUI. (Business Explorer, Engineering Client Viewer, etc.Planning Grid, KW Add-On, etc)
Regards,
Zecher -
SAP Integration kit for BO XIR2 with Crystal XI for BI 7.0 Front end
Hello Team,
We are in a little fix.
We have BOE XIR2, Crystal XI and working with old version of BI front-end 3.5.
We are upgrading to BI 7.0 frontend, but I am not able to trace out the SAP Integration kit for combination of BOE XIR2, Crystal XI and BI7.0.
Is such a thing available, If yes can someone send a link to that.
Regards
Lalan KanadeHi,
Thanks for the quick reply
I could trace this document. "BusinessObjects Enterprise XI Release 2 SP3 for Windows"
I checked in "Supported Data Sources for Crystal Rep" section, extract below
SAP BW Server 3.0b SAP GUI 620 or 640
SAP BW Server 3.1c SAP GUI 620 or 640
SAP BW Server 3.5 SAP GUI 640.
But we are using BW Server 7.0 with GUI 7.1 and that working fine even with BOXIR2 and Crystal XI with Old Front End for BI 3.X.
But when we are testing with BOXIR2 and Crystal XI with BI New Front End 7.0 its missing components from the query output.
So the SAP Integration kIt seems old & we need a new Kit which would work with BI New Front End 7.0.
Any suggestions on that
Regards
Lalan -
Data from Front end to Back end of ALV Grid
Hi Experts,
I developed interactive ALV for maintaining master data for some BW Objects. I also included custom F4 for all fields.
Problem:
When entered new record or modified a record by using F4 help of fields, it doesn't work properly. For collecting front end data i wrote below specified code.
for new record insert.
METHOD handle_data_changed.
DATA: mod_cell TYPE lvc_s_modi,
del_row TYPE lvc_s_moce,
del_index TYPE i,
new_index TYPE sy-tabix.
DATA: l_assum TYPE /bic/pzassum-/bic/zassum,
l_assum_modl TYPE /bic/pzassum-/bic/zass_mdl,
l_assum_typ TYPE /bic/pzassum-/bic/zass_typ,
l_drv_assum TYPE /bic/pzassum-/bic/zdriver,
l_infl_assum TYPE /bic/pzassum-/bic/zinflate,
l_sht_text TYPE /bic/tzassum-txtsh,
l_mdm_text TYPE /bic/tzassum-txtmd.
CLEAR error_record.
IF e_onf4 IS INITIAL.
******Get Inserted Data from Frontend
CALL FUNCTION 'MESSAGES_INITIALIZE'.
IF er_data_changed->mt_inserted_rows IS NOT INITIAL.
IF er_data_changed->mt_mod_cells IS NOT INITIAL.
REFRESH : gt_inserted_data,gt_inserted_text.
LOOP AT er_data_changed->mt_mod_cells INTO mod_cell.
CALL METHOD er_data_changed->get_cell_value
EXPORTING
i_row_id = mod_cell-row_id
i_fieldname = '/BIC/ZASSUM'
IMPORTING
e_value = l_assum.
wa_changed_data-/bic/zassum = l_assum.
CALL METHOD er_data_changed->get_cell_value
EXPORTING
i_row_id = mod_cell-row_id
i_fieldname = '/BIC/ZASS_MDL'
IMPORTING
e_value = l_assum_modl.
wa_changed_data-/bic/zass_mdl = l_assum_modl.
CALL METHOD er_data_changed->get_cell_value
EXPORTING
i_row_id = mod_cell-row_id
i_fieldname = '/BIC/ZASS_TYP'
IMPORTING
e_value = l_assum_typ.
wa_changed_data-/bic/zass_typ = l_assum_typ.
CALL METHOD er_data_changed->get_cell_value
EXPORTING
i_row_id = mod_cell-row_id
i_fieldname = '/BIC/ZDRIVER'
IMPORTING
e_value = l_drv_assum.
IF sy-subrc = 0.
wa_changed_data-/bic/zdriver = l_drv_assum.
ENDIF.
CALL METHOD er_data_changed->get_cell_value
EXPORTING
i_row_id = mod_cell-row_id
i_fieldname = '/BIC/ZINFLATE'
IMPORTING
e_value = l_infl_assum.
IF sy-subrc = 0.
wa_changed_data-/bic/zinflate = l_infl_assum.
ENDIF.
CALL METHOD er_data_changed->get_cell_value
EXPORTING
i_row_id = mod_cell-row_id
i_fieldname = 'TXTSH'
IMPORTING
e_value = l_sht_text.
IF sy-subrc = 0.
wa_changed_text-txtsh = l_sht_text.
ENDIF.
CALL METHOD er_data_changed->get_cell_value
EXPORTING
i_row_id = mod_cell-row_id
i_fieldname = 'TXTMD'
IMPORTING
e_value = l_mdm_text.
wa_changed_text-txtmd = l_mdm_text.
APPEND wa_changed_data TO gt_inserted_data.
wa_changed_text-/bic/zassum = wa_changed_data-/bic/zassum.
APPEND wa_changed_text TO gt_inserted_text.
ENDLOOP.
DELETE ADJACENT DUPLICATES FROM gt_inserted_data.
DELETE ADJACENT DUPLICATES FROM gt_inserted_text.
ENDIF.
For Modified Record
IF er_data_changed->mt_mod_cells IS NOT INITIAL AND
er_data_changed->mt_inserted_rows IS INITIAL.
REFRESH : gt_modified_text,gt_modified_data.
REFRESH : gt_valid_text,gt_modified_text.
LOOP AT er_data_changed->mt_mod_cells INTO mod_cell.
row_index = mod_cell-row_id.
CALL METHOD er_data_changed->get_cell_value
EXPORTING
i_row_id = mod_cell-row_id
i_fieldname = '/BIC/ZASSUM'
IMPORTING
e_value = l_assum.
wa_changed_data-/bic/zassum = l_assum.
CALL METHOD er_data_changed->get_cell_value
EXPORTING
i_row_id = mod_cell-row_id
i_fieldname = '/BIC/ZASS_MDL'
IMPORTING
e_value = l_assum_modl.
wa_changed_data-/bic/zass_mdl = l_assum_modl.
CALL METHOD er_data_changed->get_cell_value
EXPORTING
i_row_id = mod_cell-row_id
i_fieldname = '/BIC/ZASS_TYP'
IMPORTING
e_value = l_assum_typ.
wa_changed_data-/bic/zass_typ = l_assum_typ.
CALL METHOD er_data_changed->get_cell_value
EXPORTING
i_row_id = mod_cell-row_id
i_fieldname = '/BIC/ZDRIVER'
IMPORTING
e_value = l_drv_assum.
IF sy-subrc = 0.
wa_changed_data-/bic/zdriver = l_drv_assum.
ENDIF.
CALL METHOD er_data_changed->get_cell_value
EXPORTING
i_row_id = mod_cell-row_id
i_fieldname = '/BIC/ZINFLATE'
IMPORTING
e_value = l_infl_assum.
IF sy-subrc = 0.
wa_changed_data-/bic/zinflate = l_infl_assum.
ENDIF.
CALL METHOD er_data_changed->get_cell_value
EXPORTING
i_row_id = mod_cell-row_id
i_fieldname = 'TXTSH'
IMPORTING
e_value = l_sht_text.
IF sy-subrc = 0.
wa_changed_text-txtsh = l_sht_text.
ENDIF.
CALL METHOD er_data_changed->get_cell_value
EXPORTING
i_row_id = mod_cell-row_id
i_fieldname = 'TXTMD'
IMPORTING
e_value = l_mdm_text.
wa_changed_text-txtmd = l_mdm_text..
APPEND wa_changed_data TO gt_modified_data.
wa_changed_text-/bic/zassum = wa_changed_data-/bic/zassum.
APPEND wa_changed_text TO gt_modified_text.
ENDLOOP.
DELETE ADJACENT DUPLICATES FROM gt_modified_data.
DELETE ADJACENT DUPLICATES FROM gt_modified_text.
ENDIF.
Custom F4 is working properly.
Below i am specifing one test case which is my program failed.
i entered 2 new records by choosing F4 help. The 2nd record only inserted in data base.
Please help me....
Thanks in AdvanceHello Siva
Some people like to do extensive coding in the event handler method for DATA_CHANGED.
I do NOT belong to these people.
My recommendation is (almost) always the same:
- If required store values in (static) attributes of your event handler class / instance
- Trigger PAI (using method CL_GUI_CFW=>SET_NEW_OK_CODE)
At PAI of your screen you can now easily work with your OUTTAB itab used for the ALV list.
Regards
Uwe -
How to edit data in mtl_system_items_interface table from front end.
Hi All,
As i dont have create/update transaction permissions on mtl_system_items_interface from back end.
I need to update the failed records in mtl_system_items_interface and reprocess them again.
Kindly suggest mr how to proceed from apps front end to query and update.
Thanks in advance
Regards
SantoshHi Santosh,
I think there is no front-end access to reprocess the failed records.
For help, some useful Metalink Notes are:
FAQ for Item Import [ID 109628.1 ]
A Guideline to IOI Error Messages and Solutions [ID 52746.1]
INCOIN: Basic Steps for Researching Failed Item Imports [ID 552683.1]
Understanding Item Import and Debugging Problems with Item Import [ID 268968.1]
Item API Or Concurrent Manager, Which One Is Best For Item Creation? [ID 760498.1]
reagrds
Sanjay
Maybe you are looking for
-
Hi. I have PowerMac G5, 1.8GHZ with CRT display and NVDA, Display-A. The PCI card has two output, DVI-I and ADC. DVI-I is connected to SONY display and functioning fine. I want to add another display using ADC. I bought ADC-DVI connector from the app
-
Sending Emails w/Attachments
Hi, Does anyone know how I can send an email from Solaris with an attachment file? I tried looking at the mailx manual but did find anything like that? Any help is greatly appreciated. Edwin
-
Hi :) Problem opening a smart object in PS CS4.
Hi I'm struggling to open a smart object in Photoshop CS4 from Lightroom 5. It gives me the option in LR, opens PS, but the image doesn't open. Just wondering if I need to alter any settings to get it to work? Thanks, Lou x
-
Post-capitalization vs subsequent acquisitions
Hello everybody What´s exactly the difference between Post capitalizations and subsequent acquisitions? According to what I´ve read Post capitalizations are for closed fiscal years. When I´m choosing the Original Value date (ABNAN) the system sends a
-
6.82.22 Not connecting to my phone...
I am running XP, SP2. Have a new N91. Tried connecting both through the usb lead that was supplied with the phone, and by bluetooth via the XP driver. I downloaded 6.82.22 from the site, but it will not accept that my phone is connected, despite the