OCM process for material revision update
Hi
Does anyone knows OCM process for material revision update?
from what i saw OCM is not working for ECM which has only revision update.
Is there any work around to update the production order?
Thanks.
Hi
Read PP master data indeed update the revision, but i need to do the update in a mass process, and not for each order separably
in addition there are some other advantages to OCM, like the ability to change even if suborder (of collective order) is already confirmed, which can't be done with read master data.
Similar Messages
-
Implement workflow process for material reservation using tcode IW32
Hi
How can I implement workflow process for material reservation using tcode IW32
- PM order.
Thanks,
AmosHi;
Have been able to find the solution to create the IDoc MRESCR after entering a reservation?
I am in the same situation and I do not see the IDoc output in the BD87.
It would be nice if you share the solution.
Thanks in advance -
Exit for Material Master UPdate
Hi Friends,
could anyone let me know any user exit for Material Master UPdate.
Thanks in Advance
Regardshi
good
MGA00001 Material Master (Industry): Checks and Enhancements
MGA00002 Material Master (Industry): Number Assignment
MGA00003 Material Master (Industry and Retail): Number Display
thanks
mrutyun^ -
BAPI for Material master update
Hello,
I need to upload and change data to the classification screen of Material master (MM01/02). I am thinking of using BAPI_CHARACT_CREATE and BAPI_CHARACT_CHANGE. Can we use BAPI_MATERIAL_SAVEDATA to upload and change characteristic data for material master(MM01/02)?
Can anybody provide me some sample code for mass upload and mass change of characteristic data to material master?
Thanks in advance
Rajesh.Hi Rajesh,
You can use standard SAP program <b>RCCLBI03</b> to do mass upload.
Please check the program documentation for more information.
Also you can take a look this BAPI/FM.
<b>BAPI_OBJCL_CREATE
BAPI_OBJCL_CHANGE
CLVF_INSERT_AUSP
CLVF_UPDATE_AUSP
CLVF_VB_INSERT_CLASSIFICATION</b>
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful. -
Process for material returns from Customer, mapped in CIN
Hi Gurus,
I have some queries (below) pertaining to CIN.
1. How is the Customer Materials returns is handled in CIN? What is the process flow (transactions)? Since, the goods are returned we can avail the excise duty paid earlier? So, is the RG23A Part 2 and RG1 register updated? How?
2. Due to incorrect excise values, if cancel the excise invoice, then is the RG23A Part 2 updated? What about RG1 updation? After cancellation of the existing excise invoice, if we create a new excise invoice is the RG1 updated with new Excise duty values?
Please share your inputs.
Appreciate a process flow document for above, if anybody has. Please mail at [email protected]
Thanks,
AmitHi amith,
for return process you have to follow RE document type and LR for pgr
while coming to excise you should have to do J1IEX without purchase order the the values of excise will be reversed .
it should resolve your issue
bvdv -
Inbound process for material master
hi abapers,
i have on req my req is iam sending material master from one server to other server..
in inbound side i want to do mapping for materials,
like matetial type 'FERT' in sending system ,in receving side this material type should be 'HAWA'.
like this kind of mapping i need to do., for this i found one badi 'badi_matmas_alv_in'.
In this badi there are 'idoc_control' and 'idoc_data' exporting parameters and in changing parametes 'material tables' are there, now i did mapping passed values to different tables .
upto now is fine but probelms what i face is
1. The changed records are not updating in database.
so how the cding should should be done in inbound side ,,
any other exits or any sol's plaese let me know..thanks prabhu,
here i found one exit 'MGV00001'
in that there two fm's 'EXIT_SAPLMV02_002' Enhancements in Material Master: IDoc - Post
here i want testing this by putting break point init .and going to we19 giving the idoc no executing in begguing mode in foreground,
but here this exit is not triggering, see below code of idoc_input_matmas01.
PERFORM CHECK_USER_EXIT TABLES T_EDIDD " zu 3.1H
USER_SEGMENTS
USING CURRENT_TABIX.
LOOP AT USER_SEGMENTS.
REFRESH T_RES_FIELDS.
SY-SUBRC = 0.
CALL CUSTOMER-FUNCTION '002'
EXPORTING
MESSAGE_TYPE = IDOC_CONTRL-MESTYP
F_CUST_SEGMENT = USER_SEGMENTS
TABLES
RES_FIELDS = T_RES_FIELDS
CHANGING
F_MARA_UEB = I_MARA_UEB
EXCEPTIONS
APPLICATION_ERROR = 1
OTHERS = 2.
IF SY-SUBRC NE 0.
APPLICATION_SUBRC = SY-SUBRC.
PERFORM HANDLE_ERROR
TABLES
IDOC_CONTRL
IDOC_STATUS
RETURN_VARIABLES
T_MERRDAT
T_IDOC_MATNR "JH/4.0C/KPr100004993
USING
APPLICATION_SUBRC
CHANGING
WORKFLOW_RESULT.
EXIT.
ENDIF.
APPEND_RESFIELDS COUNTER-TRANC.
ENDLOOP.
here it is checking user segments table ,and when i exexuted this code it show empty,for this reason it is not going to the exit.
just see it and help me.. -
Release process for Material Master, Vendor master creation
Hi Sap Gurus,
We currently have a business process where in a particular User / Dep't collects the field values for Master data creation. the requirement is untill an verifier (releasing authority) releases it, the material must not be put to use.
is there an release process which could be built for Master data creation in SAP, please suggest how to go about to meet this requirement.
some Options iam thinking are.
Locking or Blocking for use Initiallly by the creator, and the verifier Unlocks or Releases it.
1) Say the creater creates and locks the material master after creation. but i did not find any authorization object for Locking / blocking the material separately,so the is problem what if the initial user creates the material and did not Lock the same, this is the issue with this solution
can this be configured / automated that, with the Creator User ID, the material getting created always gets to the Locked status / Blocked status.
and the same material is Unlocked by the Verifier User ID.
Please suggest how this can be done with Fool proof solution, May be with Standard or slight development if required
Thanks and regards
Priya SThanks for your quick reply rahul,
But the Issue is there should be 2 People for the complete creation of Material master. one should place the values and the other should verify the value and release.
The material should not be created or put to use untill the it is released by the Verifier.
and i could not find any authorization object resticting the creator for blocking or locking the material master, with out actually creating the same.
( the creator should only have the authorization for blocking or Locking the material, or when ever the material is getting created by the Creator it should go to the Locked status or Blocked status)
The releaser can then go and release the same. wold expect the nearest possibility with out big development.
and if it is a development please explain the same.
Thanks and regards,
Priya S -
IQ09 - Different process for material with bacth Split and no Batch
Hello,
i want to know if IQ09 treats material with batch number and no batch in the same way for fetching the serial number.
view V_EQUI_EQBS_SML is used to fetch the serial numbers.
i just need to confirm if the process is same in case a material has batch & no Batch together.
Thanks
RenuHi,
We faced the same problem and went back to option:
Cont.Ins Lot creation (QMAT-CHG) = "For each Material Document item
This solves the problem and was in our case the solution for receipts from production. But at goods receipt for purchase orders we still use the option for each material document, batch and SL.
There we pick up the materials in WM by hand by scanning the bar codes on the pallets (printed at GR). The transfer order creates a negative quant in unrestricted use that is later filled by the automatic usage decision that moves the stock from quality to unrestricted in the same bin.
Hope this helps.....
Arno -
Valuation Price for Material not updating in ME5J
Dear All,
I am getting one problem.
If PR is created from Project while assigning material to activity it is not getting updated in ME5J.
For service activities, value of service PR is getting updated in ME5J.
Table EBKN having Field-NETWR-Netprice which is updating in Service PR but not in the case of Material.
Table EBAN having Field-PREIS-Valuation price which is updating in for the case of material as well as pervice.
Our Report for PR ME5J having filed NETWR which is updating in case of service only.
How to see value of Material also in ME5J?
It is critical issue and any input will be helpful for me to resolve the issue.
Thanks & Regards,
Sukhveer.Hi Krishnendu,
Thanks for the reply , FI document is not getting generated.
What could be the reason for it, as before it was working fine.
Thanks
Vivek Varun -
Update process for September NIC update?
The install help file says to create a boot disc from the included iso file and boot the server(s) to be updated. Is it really this easy to update the NIC drivers? We're running Zenworks 10.3.3.
Originally Posted by spond
Elphantasmo,
huh? I write those instructions, and I don't remember saying that...
Shaun Pond
Never mind... the pdf was corrupted; it only showed the first two or three pages. I re-downloaded it after your confused post and because I'm on a different computer. So, thanks for looking at me like you know something I don't. -
REPORT zbdc_me38
NO STANDARD PAGE HEADING LINE-SIZE 255.
*include bdcrecx1.
*parameters: dataset(132) lower case.
*** DO NOT CHANGE - the generated data section - DO NOT CHANGE ***
* If it is nessesary to change the data section use the rules:
* 1.) Each definition of a field exists of two lines
* 2.) The first line shows exactly the comment
* '* data element: ' followed with the data element
* which describes the field.
* If you don't have a data element use the
* comment without a data element name
* 3.) The second line shows the fieldname of the
* structure, the fieldname must consist of
* a fieldname and optional the character '_' and
* three numbers and the field length in brackets
* 4.) Each field must be type C.
*** Generated data section with specific formatting - DO NOT CHANGE ***
DATA: file_path TYPE string.
DATA:
l_log_handle TYPE balloghndl,
l_s_log TYPE bal_s_log,
l_s_msg TYPE bal_s_msg,
l_msgno TYPE symsgno.
DATA: i_bdcdata LIKE bdcdata OCCURS 0 WITH HEADER LINE.
* messages of call transaction
DATA: MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
* error session opened (' ' or 'X')
DATA: E_GROUP_OPENED.
* message texts
TABLES: T100.
DATA: BEGIN OF record OCCURS 0,
* data element: EVRTN
EVRTN_001(010),
* data element: AUFEP
EBELP_002(005),
* data element: TCSELFLAG
TCSELFLAG_01_003(001),
* data element: ETNR1
ETNR1_004(004),
* data element: LPEIN
LPEIN_02_005(001),
* data element: EEIND
EEIND_02_006(010),
* data element: ETMEN
MENGE_02_007(017),
* data element: ETNR1
ETNR1_008(004),
END OF record.
START-OF-SELECTION.
SELECTION-SCREEN BEGIN OF BLOCK mode WITH FRAME TITLE text-003.
PARAMETERS: file_url TYPE rlgrap-filename MODIF ID xyz .
SELECTION-SCREEN END OF BLOCK mode .
INITIALIZATION.
PERFORM log_create.
*PARAMETERS: dataset(132) lower case.
*perform open_dataset using dataset.
*Uploading data from the local file C:\MSchedule.txt
*CALL FUNCTION 'WS_UPLOAD'
* EXPORTING
* FILENAME = 'C:\MSCHEDULE.TXT'
* FILETYPE = 'DAT'
* TABLES
* data_tab = I_BDCDATA .
*IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
*ENDIF.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR file_url.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
field_name = ''
IMPORTING
file_name = file_url.
start-of-selection.
IF NOT file_url IS INITIAL.
MOVE file_url TO file_path.
PERFORM read_file.
ENDIF.
LOOP AT record. "Filling the BDC table with data
*read dataset dataset into record.
perform bdc_dynpro using 'SAPMM06E' '0205'.
perform bdc_field using 'BDC_CURSOR'
'RM06E-EVRTN'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RM06E-EVRTN'
record-EVRTN_001.
perform bdc_dynpro using 'SAPMM06E' '0222'.
perform bdc_field using 'BDC_CURSOR'
'RM06E-EVRTP(01)'.
perform bdc_field using 'BDC_OKCODE'
'=ET'.
perform bdc_field using 'RM06E-EBELP'
record-EBELP_002.
perform bdc_field using 'RM06E-TCSELFLAG(01)'
record-TCSELFLAG_01_003.
perform bdc_dynpro using 'SAPMM06E' '1117'.
perform bdc_field using 'BDC_CURSOR'
'EKET-MENGE(02)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RM06E-ETNR1'
record-ETNR1_004.
perform bdc_field using 'RM06E-LPEIN(02)'
record-LPEIN_02_005.
perform bdc_field using 'RM06E-EEIND(02)'
record-EEIND_02_006.
perform bdc_field using 'EKET-MENGE(02)'
record-MENGE_02_007.
perform bdc_dynpro using 'SAPMM06E' '1117'.
perform bdc_field using 'BDC_CURSOR'
'RM06E-LPEIN(02)'.
perform bdc_field using 'BDC_OKCODE'
'=BU'.
perform bdc_field using 'RM06E-ETNR1'
record-ETNR1_008.
perform bdc_dynpro using 'SAPLSPO1' '0300'.
perform bdc_field using 'BDC_OKCODE'
'=YES'.
perform bdc_transaction using 'ME38'.
*perform bdc_dynpro using 'SAPMM06E' '0205'.
*perform bdc_field using 'BDC_CURSOR'
* 'RM06E-EVRTN'.
*perform bdc_field using 'BDC_OKCODE'
* '/00'.
*perform bdc_field using 'RM06E-EVRTN'
* record-EVRTN_001.
*perform bdc_dynpro using 'SAPMM06E' '0222'.
*perform bdc_field using 'BDC_CURSOR'
* 'RM06E-EVRTP(01)'.
*perform bdc_field using 'BDC_OKCODE'
* '=ET'.
*perform bdc_field using 'RM06E-EBELP'
* record-EBELP_002.
*perform bdc_field using 'RM06E-TCSELFLAG(01)'
* record-TCSELFLAG_01_003.
*perform bdc_dynpro using 'SAPMM06E' '1117'.
*perform bdc_field using 'BDC_CURSOR'
* 'EKET-MENGE(02)'.
*perform bdc_field using 'BDC_OKCODE'
* '/00'.
*perform bdc_field using 'RM06E-ETNR1'
* record-ETNR1_004.
*perform bdc_field using 'RM06E-LPEIN(02)'
* record-LPEIN_02_005.
*perform bdc_field using 'RM06E-EEIND(02)'
* record-EEIND_02_006.
*perform bdc_field using 'EKET-MENGE(02)'
* record-MENGE_02_007.
*perform bdc_dynpro using 'SAPMM06E' '1117'.
*perform bdc_field using 'BDC_CURSOR'
* 'RM06E-LPEIN(02)'.
*perform bdc_field using 'BDC_OKCODE'
* '=BU'.
*perform bdc_field using 'RM06E-ETNR1'
* record-ETNR1_008.
*perform bdc_dynpro using 'SAPLSPO1' '0300'.
*perform bdc_field using 'BDC_OKCODE'
* '=YES'.
*perform bdc_transaction using 'ME38'.
WAIT UP TO 2 SECONDS.
clear i_bdcdata[].
CLEAR record.
ENDLOOP.
perform log_show.
*& Form BDC_DYNPRO
* text
* -->PROGRAM text
* -->DYNPRO text
FORM bdc_dynpro USING program dynpro.
CLEAR i_bdcdata.
i_bdcdata-program = program.
i_bdcdata-dynpro = dynpro.
i_bdcdata-dynbegin = 'X'.
APPEND i_bdcdata.
ENDFORM. "BDC_DYNPRO
**& Form BDC_FIELD
** text
** -->FNAM text
** -->FVAL text
FORM bdc_field USING fnam fval.
CLEAR i_bdcdata.
i_bdcdata-fnam = fnam.
i_bdcdata-fval = fval.
APPEND i_bdcdata.
ENDFORM. "BDC_FIELD
*& Form BDC_TRANSACTION
* text
* -->TCODE text
FORM bdc_transaction USING tc TYPE sy-tcode.
DATA tcode LIKE tstc-tcode.
* tcode = 'ME38'.
CALL TRANSACTION tc USING i_bdcdata
MODE 'E' " modes can A = step by step foreground.
" mode N = background direct.
" mode E = using error display.
MESSAGES INTO messtab.
PERFORM msg_generation.
ENDFORM. "BDC_TRANSACTION
FORM read_file .
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = file_path
filetype = 'ASC'
has_field_separator = 'X'
* HEADER_LENGTH = 0
read_by_line = 'X'
* DAT_MODE = ' '
* CODEPAGE = ' '
* IGNORE_CERR = ABAP_TRUE
* REPLACEMENT = '#'
* CHECK_BOM = ' '
* IMPORTING
* FILELENGTH =
* HEADER =
TABLES
data_tab = record
* 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.
ENDFORM. " read_file
*& Form msg_generation
* text
* --> p1 text
* <-- p2 text
FORM msg_generation .
DATA: l_mstring(480).
DATA: l_subrc LIKE sy-subrc.
DATA: l_error TYPE c.
LOOP AT messtab.
* add message to log file
CLEAR l_s_msg.
l_s_msg-msgty = messtab-msgtyp.
l_s_msg-msgid = messtab-msgid.
l_s_msg-msgno = messtab-msgnr.
l_s_msg-msgv1 = messtab-msgv1.
l_s_msg-msgv2 = messtab-msgv2.
l_s_msg-msgv3 = messtab-msgv3.
l_s_msg-msgv4 = messtab-msgv4.
CALL FUNCTION 'BAL_LOG_MSG_ADD'
EXPORTING
i_log_handle = l_log_handle
i_s_msg = l_s_msg
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
IF messtab-msgtyp EQ 'E' OR l_subrc NE 0.
l_error = 'X'.
ENDIF.
ENDLOOP.
CLEAR messtab[].
ENDFORM. " msg_generation
*& Form log_create
* text
* --> p1 text
* <-- p2 text
FORM log_create .
CALL FUNCTION 'BAL_LOG_CREATE'
EXPORTING
i_s_log = l_s_log
IMPORTING
e_log_handle = l_log_handle
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " log_create
*& Form log_show
* text
* --> p1 text
* <-- p2 text
FORM log_show .
DATA:
l_s_display_profile TYPE bal_s_prof.
* get a prepared profile
CALL FUNCTION 'BAL_DSP_PROFILE_SINGLE_LOG_GET'
IMPORTING
e_s_display_profile = l_s_display_profile
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
* use grid for display if wanted
l_s_display_profile-use_grid = 'X'.
* set report to allow saving of variants
l_s_display_profile-disvariant-report = sy-repid.
* when you use also other ALV lists in your report,
* please specify a handle to distinguish between the display
* variants of these different lists, e.g:
l_s_display_profile-disvariant-handle = 'LOG'.
* call display function module
* We do not specify any filter (like I_S_LOG_FILTER, ...,
* I_T_MSG_HANDLE) since we want to display all logs available
CALL FUNCTION 'BAL_DSP_LOG_DISPLAY'
EXPORTING
i_s_display_profile = l_s_display_profile
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " log_showIt's not possible to delete an iCloud account.
You can turn off the services, but that doesn't delete the account. -
Approval for Material Master Creation !
Dear All ,
My requirement is to have approval process for Material master. is it possible.?
My Client is expecting approval process same like PO ( release strategy )
Is there any standard approval process for every masters which are created as part of MM transactions.
Can it be achieved by means of any workflow.?
Thanks
JinoyHi,
Yes it can be achieved by Work flow & also through the Enterprise Portal development.
If you have Workflow consultant you can take a help in setting up the approval for Material master creation.
If you want high fund & centralization of Material master you can go for EP development but Cost & effort will be on higher side.
Discuss with your Workflow consultant he will help you.
rgds
gsc -
Trigger workflow for material reservation via IW32 (PM order)
Hi,
How can I implement workflow process for material reservation using tcode IW32
- PM order.
Thanks,
AmosHello,
when there is no material in the store if the order is showing the availablity,then check the Availability Check for Material, PRTs, and Capacities node in IMG.
In order there are two material availability check,one is over all material availability check,which will shows shortage only before release or during release once the order is relased it always shows that the material is available.
other material availability check is individual line item check,when you check with this it will take to the ATP quantities of the material where it will shows the availability same as the MMBE,including the Reservation,PR & PO quantity.
So better check this.
Regards,
Raj. -
Line item for header material not updating in COEP table
Hi all,
from last few days, I found that when I do confirmation and GR for process order, system is updating all line ( i.e. components, activity types) but line for header material that is finished goods or semi finished goods is not updating in COEP table, I have done GR for order and transferred stock from quality too.
But still its not updating. What could be the reason for it .
Thanks
Vivek VarunHi Krishnendu,
Thanks for the reply , FI document is not getting generated.
What could be the reason for it, as before it was working fine.
Thanks
Vivek Varun -
Creating process for multiple Date fields for update or insert in APEX
hello there,
could someone please help me?
i have a form on Apex based on view that is based on three tables and updating and inserting ok using trigger instead of.
i have a problem now as in my form i have around 75 fileds (items) incuding 30 or more date fields which could be populated or left blank or update later.
so for each date field i have two boxs; one for date, input as dd/mm/yyyy (text field) and second for time, input as 23:45. All dates will be insert or update manually by user. so as i mentioned not all date fields could be poulated at one stage.
so i have created some process and validations and all of them work fine but i came accross if date left blank then (:) giving me problem so i have done following further process for each date field. In real table all the date fields have data type date.
declare
v_my_var date; -- for first date field
str_dy VARCHAR2(10);
dt_indx date;
str_tm VARCHAR2(20);
tm_indx date;
begin
str_dy := :p4_first_date
str_tm := str_dy||' '||substr(:p8_first_date_hh,1,2)||':'||substr(:p8_first_date_HH,4,2);
dt_indx := to_date(str_tm,'DD/MM/YYYY HH24:MI');
IF str_dy is not null then
v_my_var :=dt_indx;
ELSE
v_my_var := NULL;
END IF;
update table 1 set my_date = v_my_var where d_id= :p4_d_id;
end;
above code work fine but one date field of course therefore i have to do same code for each date field with changes and initialise variable again and again for each field.
so i like to ask is there any easy way that is more professional. i was thinking about the procedure and using collection or similar but honestly not much experience on that so could some one please help me?
I will be very thankful.
KRgdsHi,
You can do the needful by re-using the code if you can give the item names as P8_DATE1, P8_DATE_hh1, P8_DATE2, P8_DATEhh2 etc..So your item name just differs by a sequence.
Now you write function which will return desired date value taking above items as input. Pass item names to this function, get session state using APEX_UTIL.GET_SESSION_STATE('item_name') API.
Now modify you code as
FOR i IN 1..30
LOOP
v_date_array[i] = f_get_date('P8_DATE'||i, 'P8_DATEhh'||i);
END LOOP;
....Now you have all date valus in array. Just write one update as follows
UPDATE TABLE1
SET date1 = my_date_array[1], date2 = my_date_array[2]..
WHERE ....Hope it helps :)
Cheers,
Hari
Maybe you are looking for
-
Servlets/JDBC vs. servlets/EJB performance comparison/benchmark
I have a PHB who believes that EJB has no ___performance___ benefit against straightforward servlets/JSP/JDBC. Personally, I believe that using EJB is more scalable instead of using servlets/JDBC with connection pooling. However, I am at a lost on ho
-
How to replicate Generic data source from R/3 to BI
Hi, I have created generic datasource in r/3 using view. I replicated to BI. I selected for DataSource (RSDS) instead of selecting 3.x DataSouce. Now what r the steps to load data into cube. Please help me in this regard. Please give me detail st
-
NetProtect Plus - User Manual?
Does anyone know where I can find a user guide/manual for NetProtect Plus? Every time I click on "Learn More", it just opens up a window with the BT website in it. It's clearly not working as intended because if you click on any links, the pages don
-
How can I convert/read out from a string Hex (8-bit), the bit 0 length 1
How can I convert/read out from Hex (8-bit), the bit 0 length 1 (string subset!!??) and convert it to decimal. With respect to one complement and two complement ?
-
Pb de reinstallation elements 10
Bonjour, suite à pb, je veux reinstaller photoshop element 10 sous windows 7, j'ai retelechargé depuis la boutique ma commande de 2011.Je lance l'instal et message m'indiquant ( Specified path is empty ).Je ne sais pas quoi faire.De l'aide svp. Dans