Webdynpro abap-method for saving updated values in new database table
Hi Experts,
I am creating an ALV application in weddynpro abap where i have given update button to update fields & save button to save values in mastertable,but whenever i am updating & saving ,it will overwrit previous values. For this,I need to create a separate method to save the updated values of the fields in a new database table.
Looking forward for solutions.
Thank You!
becuase of the below statement u r getting the error
insert into ZTAB_CS_ISSSAL values Item_Dates.
u declared the field Item_Dates as Stru_Issuesal-DATES
and u were trying to inesrting the record in the table ZTAB_CS_ISSSAL with the field Item_Dates
the error is related to the compatible.
so declare work area for updating the table should be of type ZTAB_CS_ISSSAL.
Similar Messages
-
Is there any native method for converting String value to Hungarian notat..
Hello. there.
This might be very simple question. but I'm just curious about this.
I am wondering if Java API offer the any native method for converting uppercased string value to lowercase which obey the Hungarian notation.
What I'm going to do is using Reflection for excuting RFC function on SAP. I was found it is very similar to JDBC Programming.
Please refer to blow codes.
//mTable
JCoTable mTable = function.getTableParameterList().getTable(rtnTblNm);
for (int i = 0; i < mTable.getNumRows(); i++) {
mTable.setRow(i);
HashMap tmpData = new HashMap ();
for (int j=0; j < mTable.getNumColumns(); j++) {
// I want to set key String [userNo] instead of [USER_NO] here.
tmpData.put(mTable.getMetaData().getName(j).toLowerCase(), mTable.getString(j));
result.add(tmpData);
} Basically, The idea was from ibatis framework [com.ibatis.common.beans.classInfo] dropcase();
Any idea would be very helpful for me. Thank you.
Edited by: hosung.seo on Aug 30, 2009 10:42 PM
Edited by: hosung.seo on Aug 30, 2009 10:50 PMejp wrote:
Hungarian notation is a representation of logical/arithmetic expressions in postfix form. Not what you're talking about.
So your title is very confusing to the people here who know what it means, which is probably all of them, because people read threads based on their title.From now on, I will pay more attention when I post an question.
If the titile as " +Is there any native method for converting String value to camelcase?"+ would be easier to what i'm pointing at.
As I mentioned in above sorce code, converting [USER_NO] to [userNo] isn't relevant Hungarian notation. yes, it was ambiguous. Agree! :)
But some answer wasn't fit to converting case or recognizing "underscore" delimiter. I was expecting toCamelCase() such as blew. Thanks.
public static String toCamelCase(String name) {
String lowerName = name.toLowerCase();
String[] pieces = lowerName.split("_");
if (pieces.length == 1) {
return lowerName;
StringBuffer result = new StringBuffer(pieces[0]);
for (int i = 1; i < pieces.length; i++) {
result.append(Character.toUpperCase(pieces.charAt(0)));
result.append(pieces[i].substring(1));
return result.toString(); -
How to look for a certain value in a database using sql
Hello everyone. How do you do this in SQL? Or, is there a way to look for a certain value in a database? What I'm trying to do is this:
I want to look for the exact value "abcdefg" in the database so that oracle will return me details on the following that contains the said value:
1. the name of the table(s)
2. the column/field name(s)
Note: "abcdefg" could exist in different tables with different column names with different data types.
Any help is much appreciated. Thanks.
UPDATE: What about if I just want to check those fields/columns with string data types?
Message was edited by:
dongzky
Message was edited by:
dongzkyJust a teeny tweek
DECLARE
l_dummy VARCHAR2 (4000);
BEGIN
FOR rec IN (SELECT table_name
FROM all_tables)
LOOP
FOR rec2 IN (SELECT column_name
FROM user_tab_cols
WHERE table_name = rec.table_name)
LOOP
BEGIN
EXECUTE IMMEDIATE 'select 1 from '
|| rec.table_name
|| ' where to_char('
|| rec2.column_name
|| ') = ''CAS'' and rownum = 1'
INTO l_dummy;
DBMS_OUTPUT.PUT_LINE (rec.table_name || ' ' || rec2.column_name);
EXCEPTION
WHEN NO_DATA_FOUND
THEN
NULL;
END;
END LOOP;
END LOOP;
END; -
How to update field values in a database table using module pool prg?
hi
how to update field values in a database table using module pool prg?
we created a customized table, and we put 2 push buttons in screen painter update and display.
but update is not working?
data is enter into screen fields and to internal table, but it is not updated in database table.
thanks in adv
vidyaHI,
we already used the update statement. but its not working.
plz check this.
*& Module Pool ZCUST_CALL_REC
PROGRAM ZCUST_CALL_REC.
TABLES: ZCUST_CALL_REC,ZREMARKS.
data: v_kun_low like ZCUST_CALL_REC-kunnr ,
v_kun_high like ZCUST_CALL_REC-kunnr,
v_bud_low like ZCUST_CALL_REC-budat,
v_bud_high like ZCUST_CALL_REC-budat.
ranges r_kunnr for ZCUST_CALL_REC-kunnr .
ranges r_budat for zcust_call_rec-budat.
DATA: ITAB TYPE STANDARD TABLE OF ZCUST_CALL_REC WITH HEADER LINE,
JTAB TYPE STANDARD TABLE OF ZREMARKS WITH HEADER LINE.
*data:begin of itab occurs 0,
MANDT LIKE ZCUST_CALL_REC-MANDT,
kunnr like ZCUST_CALL_REC-kunnr,
budat like ZCUST_CALL_REC-budat,
code like ZCUST_CALL_REC-code,
remarks like ZCUST_CALL_REC-remarks,
end of itab.
*data:begin of Jtab occurs 0,
MANDT LIKE ZCUST_CALL_REC-MANDT,
kunnr like ZCUST_CALL_REC-kunnr,
budat like ZCUST_CALL_REC-budat,
code like ZCUST_CALL_REC-code,
remarks like ZCUST_CALL_REC-remarks,
end of Jtab.
CONTROLS:vcontrol TYPE TABLEVIEW USING SCREEN '9001'.
CONTROLS:vcontrol1 TYPE TABLEVIEW USING SCREEN '9002'.
*start-of-selection.
*& Module USER_COMMAND_9000 INPUT
text
MODULE USER_COMMAND_9000 INPUT.
CASE sy-ucomm.
WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
SET SCREEN 0.
LEAVE SCREEN.
CLEAR sy-ucomm.
WHEN 'ENQUIRY'.
perform multiple_selection.
perform append_CUSTOMER_code.
PERFORM SELECT_DATA.
call screen '9001'.
WHEN 'UPDATE'.
perform append_CUSTOMER_code.
PERFORM SELECT_DATA.
call screen '9002'.
perform update on commit.
WHEN 'DELETE'.
perform append_CUSTOMER_code.
PERFORM SELECT_DATA.
call screen '9002'.
ENDCASE.
ENDMODULE. " USER_COMMAND_9000 INPUT
*& Module STATUS_9000 OUTPUT
text
MODULE STATUS_9000 OUTPUT.
SET PF-STATUS 'ZCUSTOMER'.
SET TITLEBAR 'xxx'.
ENDMODULE. " STATUS_9000 OUTPUT
*& Module USER_COMMAND_9001 INPUT
text
MODULE USER_COMMAND_9001 INPUT.
CASE sy-ucomm.
WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
SET SCREEN 0.
LEAVE SCREEN.
CLEAR sy-ucomm.
endcase.
ENDMODULE. " USER_COMMAND_9001 INPUT
*& Module STATUS_9001 OUTPUT
text
MODULE STATUS_9001 OUTPUT.
SET PF-STATUS 'ZCUSTOMER'.
SET TITLEBAR 'xxx'.
move itab-MANDT to zcust_call_rec-MANDT.
move itab-kunnr to zcust_call_rec-kunnr.
move itab-budat to zcust_call_rec-budat.
move itab-code to zcust_call_rec-code.
move itab-remarks to zcust_call_rec-remarks.
vcontrol-lines = sy-dbcnt.
ENDMODULE. " STATUS_9001 OUTPUT
*& Module USER_COMMAND_9002 INPUT
text
module USER_COMMAND_9002 input.
CASE sy-ucomm.
WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
SET SCREEN 0.
LEAVE SCREEN.
CLEAR sy-ucomm.
WHEN 'UPDATE'.
perform move_data.
UPDATE ZCUST_CALL_REC FROM TABLE ITAB.
IF SY-SUBRC = 0.
MESSAGE I000(0) WITH 'RECORDS ARE UPDATED'.
ELSE.
MESSAGE E001(0) WITH 'RECORDS ARE NOT UPDATED'.
ENDIF.
WHEN 'DELETE'.
perform move_data.
DELETE ZCUST_CALL_REC FROM TABLE ITAB.
IF SY-SUBRC = 0.
MESSAGE I000(0) WITH 'RECORDS ARE DELETED'.
ELSE.
MESSAGE E001(0) WITH 'RECORDS ARE NOT DELETED'.
ENDIF.
endcase.
endmodule. " USER_COMMAND_9002 INPUT
*& Module STATUS_9002 OUTPUT
text
module STATUS_9002 output.
SET PF-STATUS 'ZCUSTOMER1'.
SET TITLEBAR 'xxx'.
endmodule. " STATUS_9002 OUTPUT
*& Module update_table OUTPUT
text
module update_table output.
move itab-MANDT to zcust_call_rec-MANDT.
move itab-kunnr to zcust_call_rec-kunnr.
move itab-budat to zcust_call_rec-budat.
move itab-code to zcust_call_rec-code.
move itab-remarks to zcust_call_rec-remarks.
vcontrol-lines = sy-dbcnt.
endmodule. " update_table OUTPUT
***Selection Data
FORM SELECT_DATA.
SELECT mandt kunnr budat code remarks FROM zcust_call_rec INTO
table itab
WHERE kunnr IN r_kunnr AND BUDAT IN R_BUDAT.
ENDFORM.
****append vendor code
FORM APPEND_CUSTOMER_CODE.
clear r_kunnr.
clear itab.
clear r_budat.
refresh r_kunnr.
refresh itab.
refresh r_kunnr.
IF r_kunnr IS INITIAL
AND NOT v_kun_low IS INITIAL
AND NOT v_kun_high IS INITIAL.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = v_kun_low
IMPORTING
OUTPUT = r_kunnr-low.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = v_kun_high
IMPORTING
OUTPUT = r_kunnr-high.
r_kunnr-option = 'BT'.
r_kunnr-sign = 'I'.
append r_kunnr.
PERFORM V_BUDAT.
ELSEIF r_kunnr IS INITIAL
AND NOT v_kun_low IS INITIAL
AND v_kun_high IS INITIAL.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = v_kun_low
IMPORTING
OUTPUT = r_kunnr-low.
r_kunnr-SIGN = 'I'.
r_kunnr-OPTION = 'EQ'.
APPEND r_kunnr.
PERFORM V_BUDAT.
ELSEIF r_kunnr IS INITIAL
AND v_kun_low IS INITIAL
AND NOT v_kun_high IS INITIAL.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = v_kun_low
IMPORTING
OUTPUT = r_kunnr-low.
r_kunnr-SIGN = 'I'.
r_kunnr-OPTION = 'EQ'.
APPEND r_kunnr.
PERFORM V_BUDAT.
ELSEIF r_kunnr IS INITIAL
AND v_kun_low IS INITIAL
AND v_kun_high IS INITIAL.
IF SY-SUBRC = 0.
MESSAGE I003(0) WITH 'ENTER CUSTOMER NUMBER'.
CALL SCREEN '9000'.
ENDIF.
PERFORM V_BUDAT.
ENDIF.
ENDFORM.
FORM V_BUDAT.
IF R_BUDAT IS INITIAL
AND NOT v_BUD_low IS INITIAL
AND NOT v_BUD_high IS INITIAL.
r_budat-low = v_bud_low.
r_budat-high = v_bud_high.
r_budat-option = 'BT'.
r_budat-sign = 'I'.
append r_budat.
ELSEIF R_BUDAT IS INITIAL
AND NOT v_BUD_low IS INITIAL
AND v_BUD_high IS INITIAL.
r_budat-low = v_bud_low.
r_budat-high = v_bud_high.
r_budat-option = 'EQ'.
r_budat-sign = 'I'.
append r_budat.
ELSEIF R_BUDAT IS INITIAL
AND v_BUD_low IS INITIAL
AND NOT v_BUD_high IS INITIAL.
r_budat-HIGH = v_bud_HIGH.
r_budat-option = 'EQ'.
r_budat-sign = 'I'.
append r_budat.
ELSEIF R_BUDAT IS INITIAL
AND v_BUD_low IS INITIAL
AND v_BUD_high IS INITIAL.
IF SY-SUBRC = 0.
MESSAGE I002(0) WITH 'ENTER POSTING DATE'.
CALL SCREEN '9000'.
r_budat-low = ''.
r_budat-option = ''.
r_budat-sign = ''.
ENDIF.
ENDIF.
ENDFORM.
*& Form update
text
--> p1 text
<-- p2 text
form update .
commit work.
endform. " update
*& Form move_data
text
--> p1 text
<-- p2 text
form move_data .
clear itab.
refresh itab.
move-corresponding zcust_call_rec to itab.
MOVE ZCUST_CALL_REC-MANDT TO ITAB-MANDT.
MOVE ZCUST_CALL_REC-KUNNR TO ITAB-KUNNR.
MOVE ZCUST_CALL_REC-BUDAT TO ITAB-BUDAT.
MOVE ZCUST_CALL_REC-CODE TO ITAB-CODE.
MOVE ZCUST_CALL_REC-REMARKS TO ITAB-REMARKS.
APPEND ITAB.
delete itab where kunnr is initial.
endform. " move_data
thanks in adv
vidya -
Help, I am trying to update My Microsoft Office 2011 14.4.2 for mac update cannot close Microsoft Database Daemon or SyncServices Agent how do I do this please?
Launch Acitvity Monitor in your Utilities foilder and search for both proccess and quit.
-
Updating data in the database table
Can any help me in the code for updating data in the database table.
Regards,
RahulHi Rahul,
A slightly longer procedure that i'm adding here...
1.) Create the component (i'm sure you have this covered)
2.) Next on the button click that updates the database - add an action.
3.) double click the action so that you are taken to the methods section of the view.
4.) next you need to add the code that is required the update the database - this will be in the form of the above two posts.
5.) compile and test the application
Let me know in case you need further information on how to do this with a function module or something.
Thanks. -
Webdynpro ABAP ALV tutorial - simple update or use changelog ?
I was working through the alv tutorials for webdynpro abap, and while trying to complete the
"Editing ALV in Web Dynpro for ABAP", I got to page 8 of the pdf document where it explains how to do the ONDATACHECK event handler, and it comments out the portion for updating/saving the data (as noted below), and does not explain anything further about the save.
* save data to database
{* update... => only simlate, to not change the flight data model
* content!
Now, I am new to webdynpro abap, and don't know if I am supposed to utlize the changelog for this, or if a simple update will work.
Any Ideas ?Thank you for your answer - I am guessing from your response that a method would need to be built - similar to one which I found in the SWDP_DEMO_TUTORIALS for a webdynpro called WDT_TABLE (see below) - where a check of the table changes would need to be made before an update to the table - rather than a simple one line update statement placed at that point in the code.
METHOD save_changes.
DATA: table_node TYPE REF TO if_wd_context_node,
read_sbook TYPE
if_componentcontroller=>elements_sbook_node,
aux_read_sbook TYPE
if_componentcontroller=>elements_sbook_node,
wa_read_sbook TYPE LINE OF
if_componentcontroller=>elements_sbook_node,
context TYPE REF TO if_wd_context,
change_line TYPE LINE OF wdr_context_change_list,
changes TYPE wdr_context_change_list,
aux_changes TYPE wdr_context_change,
lv_change_tab_size TYPE sy-tfill,
aux_string TYPE string,
lv_node_size TYPE sy-tfill,
aux_div TYPE int4,
aux_index TYPE i,
l_current_controller TYPE REF TO if_wd_controller,
l_message_manager TYPE REF TO if_wd_message_manager,
text TYPE string,
it_int TYPE STANDARD TABLE OF i WITH KEY table_line.
* check whether context has changed
context = wd_context->get_context( ).
changes = context->get_context_change_log( ).
LOOP AT changes INTO aux_changes.
IF aux_changes-change_kind = 'A' AND aux_changes-node_name = 'SBOOK_NODE'.
INSERT aux_changes INTO TABLE wd_this->sbook_delta.
ENDIF.
ENDLOOP.
* get the complete context in 'read_sbook' table
table_node = wd_context->get_child_node( name = 'MY_BOOKING_NODE' ).
table_node = table_node->get_child_node( name = 'SBOOK_NODE' ).
table_node->get_static_attributes_table( IMPORTING table = read_sbook
* get the size of table and changes
DESCRIBE TABLE read_sbook LINES lv_node_size.
LOOP AT wd_this->sbook_delta INTO change_line.
APPEND change_line-element_index TO it_int.
ENDLOOP.
SORT it_int.
DELETE ADJACENT DUPLICATES FROM it_int.
DESCRIBE TABLE it_int LINES lv_change_tab_size.
* get message manager
l_current_controller ?= wd_this->wd_get_api( ).
CALL METHOD l_current_controller->get_message_manager
RECEIVING
message_manager = l_message_manager.
* decide which way to update databse
IF lv_change_tab_size <> 0.
aux_div = lv_node_size / lv_change_tab_size.
IF aux_div <= 3.
* write complete table to database
lv_change_tab_size = lv_node_size.
CL_WDT_FLIGHT_MODEL=>write_sbook_complete( read_sbook ).
ELSE.
* write only the changed records to database
LOOP AT it_int INTO aux_index.
READ TABLE read_sbook INDEX aux_index INTO wa_read_sbook.
APPEND wa_read_sbook TO aux_read_sbook.
ENDLOOP.
CL_WDT_FLIGHT_MODEL=>write_sbook_records_changed( aux_read_sbook )
ENDIF.
REFRESH wd_this->sbook_delta.
REFRESH it_int.
wd_this->sbook_changed = abap_false.
* report message
aux_string = lv_change_tab_size .
IF lv_change_tab_size = 1.
CONCATENATE aux_string 'record written to database' INTO text.
ELSE.
CONCATENATE aux_string 'records written to database' INTO text.
ENDIF.
CALL METHOD l_message_manager->report_success
EXPORTING
message_text = text.
ELSE.
* report message
CALL METHOD l_message_manager->report_success
EXPORTING
message_text = 'there are no changes to be written to database'.
ENDIF.
ENDMETHOD. -
Webdynpro abap application for HCM
Dear all,
In enterprise portal->Content Administration->PortalContent->Content provided by SAP->line_manager->Manager Self-Service->iviews->HCM-> there is a PCR application by name "personnel change request". this is a webdynpro java application.
I have installed latest business package of ESS/MSS. so there should be both dynpro java and dynpro abap application. kindly tell me that for the personnel change request PCR application in which package can i find the wendynpro abap application.
Regards,
BharathDear Bharath,
I am no expert on the topic but i can definitely answer your last question.
Yes, Webdynpro ABAP applications are available in the latest versions.I have seen this in ECC Enhancement Package 3 (ECC 603).
I can't really tell you much abt PCRs but the Requisition forms(SRQ3) in 603 are based on WDA application.If interested you can check the Recruitment work center in MSS.
Also, please ensure that the relevant Business Function/Services are activated when using the enhancement packages to see the relevant functionalities.
I think you need to activate the HCM administrative services BF available as of 602 . This definitely uses webdynpro ABAP applications in the portal.
Regards,
Sowmya
Edited by: Sowmya Kadambi on Dec 23, 2008 3:23 PM -
Webdynpro ABAP application for specific Country
Hello Consultants
We have developed a custom Webdynpro ABAP application and the service is working alright.
The probelm is that this service is to be enabled only for one Country i.e. India and this should not be visible for other country users.
I have created resource, service and country-specific service for this application and linked the country-specific service to India. Even after doing this am not able to stop the availability of this service other countries.
Shall be thankful for an immediate response.
S. ChandrasekaranDear Bharath,
I am no expert on the topic but i can definitely answer your last question.
Yes, Webdynpro ABAP applications are available in the latest versions.I have seen this in ECC Enhancement Package 3 (ECC 603).
I can't really tell you much abt PCRs but the Requisition forms(SRQ3) in 603 are based on WDA application.If interested you can check the Recruitment work center in MSS.
Also, please ensure that the relevant Business Function/Services are activated when using the enhancement packages to see the relevant functionalities.
I think you need to activate the HCM administrative services BF available as of 602 . This definitely uses webdynpro ABAP applications in the portal.
Regards,
Sowmya
Edited by: Sowmya Kadambi on Dec 23, 2008 3:23 PM -
Method for Saving the attendence data
Dear All,
We are implementing the HR,MM,FI,SD module and also implementing the Kronos Time Machine for Time details.
I got the text file in which employee attendence data is mentioned from the kronos system.Now which way i have to used for upload this information in sap tables or infotype .Because some buddy told we can not used the CATS ,I don't know why.
So now how i can save attendence data and also in which table in sap we have to save that data.Kindly Help me .I am using IT2001,2002 and 2006 infotype for time management
Kindly tell me the procedure for saving the Attendence data it' urg.
Thanks
sandeep
Edited by: SANDEEEP DABRAL on Jun 19, 2009 2:45 PMHi
Does your client is using punch in and punch out data. If then then we can store the P10 and P20 data in SAP directly with the help of the integration with 3rd party systems.
If not then just prepare a customized prghramme with the help of ABAP guys to uplad the data in IT 2002 against the absence types.
For this you need to do the Absences customization in SAP R/3
Thanks
Sheetal -
Standard method for storing gps values
what is the standard method to store gps values in database tables.
user10447332 wrote:
for storing gps values oracle spatial is copmulsary? is there any alternative solutionYou hijacking the OP's thread?
I assume you mean "compulsary". ;)
No, nothing is compulsary, you could store GPS values in your own data structure if you choose. However Oracle spatial is usually the place where spatial data such as GPS values are processed.
Depends what you want to do with it. -
What is the best method for saving files off of the hard drive?
I would like to save music files and photos somewhere other than my hard drive (eg. CDs, DVDs, zip disks). What is the best method for doing this?
It rather depends on how paranoid you are
External hard drives protect you from hard disk trouble on your machine.
Optical media (CD's, DVD's) protect you from trouble with magnetic disks - such as external hard drives and the HD in your machine. Optical disks are thought to be more reliable that magnetic disks for long term storage.
Off site back-ups will protect you from fire or theft at your home or office.
How paranoid are you? Personally everything is backed up across three diferent external HD's. And maybe twice a year I burn a copy of my photos onto DVDs and they go to a relative's house across town.
Regards
TD -
Saving field values to the Database
Hello ,
I have created a GP Application where the user enters some details in the webdynpro screen which goes for Approval to the approver...now I want to save these values in some database like SAP R/3 and retrieve them later on based on some Id number....please help me on how this can be achieved...
Any help would be highly appreciated.
AnilHi Anil, you can achieve that an vary ways. The most common ways are 2:
- Calling RFCs from WebDynpro (remote function written in ABAP) that will store the data you want in tables in R/3(WebAS Abap database). The you can write another RFC that can recover this data using an ID as input parameter.
- Creating an Entity in CAF with its entity services, and the exposing the corresponding application services as Web Services and accesing this webservices from Web Dynpro. In this case you will be able to store the data in tables in the WebAS Java Database.
Here there are two links with info:
[Importing an Adaptative RFC Model in Java WebDynpro|http://help.sap.com/saphelp_nw04s/helpdata/en/6a/11f1f29526944e8580c5e59333d96d/frameset.htm]
[Creating Application Services in CAF|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/340fc0ea-0c01-0010-74bf-965b11031e77]
Hope been helpful,
best regards,
Marco. -
BRFplus: Problem updating values in an internal table in a loop expression
Hi
I'm looking into the loop expression type of BRFplus and I have come across a problem updating an internal table, I'm trying to create and populate the table using a loop, here is the functionality I'm trying to achieve:
In a rule set create an internal MONTH_TBL table containing 12 rows of two columns: MONTH_NUM containing values 1 through 12 and MONTH_VAL containing an amount (initially 0,00 EUR in all 12 rows).
After initializing the table traverse through SFLIGHT table and for each row add PRICE from the table to MONTH_VAL in the row of MONTH_TBL corresponding to the month of FLDATE field in SFLIGHT.
The initialization of MONTH_TBL works as intended, as does the traversal of and retrieval of values from SFLIGHT. The problem however is the update of the internal table MONTH_TBL (defined as result data object for the function). I don't get an error, but the tables does not get updated, and I cannot seem to find out what the problem is. I would have attached an XML extract of the function + ruleset for information, but it dosen't seem like that is possible, I could e-mail it on request (for SAP employees with access to system QU5 the function is LOOP_TEST in application Z_KLAUS_TEST).
I hope that this is sufficient information to understand the issue that I'm dealing with.
best regards
Klaus Stenbæk, KMDHi Klaus,
The Loop expression is part of NW 7.02 which is not yet released. When you experience the problem as part of a test you should have a contact at SAP for dealing with problems/errors. Usually SAP-internal messages are used for this purpose. Please clarify with your SAP contact how the model is.
BR,
Carsten -
Updating values in material master table
Hi,
I have a requirement where in which if the user wants to change the value of some fields of a particular record in the o/p,then he checks the checkbox of that record and click on the change button.Then the control goes to the update screen.There are many fields present in the update screen and also checkboxes were present beside each field.The user can change the values of the fields here and click on th execute button.Then only the checked field values should get updated in the material master table.
Can anyone tell me how only the checked field values can be updated in the material master tableare you attempting to program the standard transaction MM17 all over again?
Maybe you are looking for
-
IPod Classic crashes with 32.768 or more songs
After I lost the second iPod Classic with about 35.000 songs (128 kbit/s ACC; iTunes shows 15GB as free), I did some research, and with 32766 the iPod works fine, two more songs and the iPod reboots and hangs in the Apple screen, so it should be rest
-
Multiple Monitor support using RDP in Windows 10
Does anyone know if you can use multiple monitors when connecting through RDP in Windows 10? In Windows 7, you need to be using Windows 7 Ultimate in order for RDP to support more than one monitor. For example, my home setup has (2) 22" monitors and
-
I picked up a new 500 gig Hitachi hard drive to put into a vantex hd enclosure. Now every time I try and use it, i get a device removal error and the hard drive icon on the desktop disappears. I can't use Time machine or verify my hard drive in disk
-
Blotchy image in Lightroom and Photoshop/difficulty waking from sleep
I am suddenly having problems with my 15" 2.4ghz MacBook Pro. There are two problems actually, the first is that I am not looking at gradient colours when I open an image in Photoshop or view it in Lightroom. The image looks blotchy, almost as if I h
-
FileVault 2 Disk Format?
I have a 1.8 GHz Intel Core I7 MacBook Air with 256GB SSD running OS X 10.9.1 (recently re-imaged). My hard drive has a single partition formatted in Mac OS (Extended Journaled). When I tried to encrypt the SSD using FileVault, I received the follow