Operation on Number
Hi All,
This is regarding the operation on Varchar2 field.
Project id:
12345-6789
542034-0987
34567-20
678901
my requirement is : before '-' i have to consider as project Group and after '-' as Project Sub Group ID. where as (Project id: 678901, in this there is no sub project id at this point of time we have to keep it as Blank)
Could some one help me out of this.
Regards,
Maruthi
if your database version is Oracle 11g
use below query
WITH Sample_Data AS (SELECT '12345-6789' str FROM DUAL UNION ALL
SELECT '542034-0987' str FROM DUAL UNION ALL
SELECT '34567-20' str FROM DUAL UNION ALL
SELECT '678901' str FROM DUAL
SELECT regexp_substr (str, '[^-]+', 1) Project_Group,
regexp_substr(str,'(-)([0-9]+)$',1,1,'i',2) project_sub_group
FROM Sample_Dataif not
WITH Sample_Data AS (SELECT '12345-6789' str FROM DUAL UNION ALL
SELECT '542034-0987' str FROM DUAL UNION ALL
SELECT '34567-20' str FROM DUAL UNION ALL
SELECT '678901' str FROM DUAL
SELECT regexp_substr (str, '[^-]+', 1) Project_Group,
ltrim(regexp_substr(str,'-[0-9]+$',1),'-') project_sub_group
FROM Sample_DataEdited by: NSK2KSN on Sep 16, 2010 12:44 PM
Similar Messages
-
Query to find attachement information for wip operation seq number
Hi Experts,
I am working on EBS 11.5.10 and database 9i. I want table link to find attachments for particular operation sequence number.
Navigation:
WORK IN PROCESS --> DISCRETE JOBS --> OPERATIONS --> ATTACHMENTS(IN MENU YOU CAN FIND).
In operations screen, for each operation sequence number, you can have attachement.In attachement, i want to pick the remarks column.
Table: OPERATIONS -- WIP_OPERATIONS
ATTACHEMENTS - FND_ATTACHED_DOCS_FORM_VL
REMARKS - fnd_documents_short_text
Link between FND_ATTACHED_DOCS_FORM_VL and fnd_documents_short_text is media_id. But i am not able to find the link between wip_operations and fnd_attached_docs_form_vl.
Could anybody help me how to get attachement data for a particular operation sequence number.
Thanks in advance.The link is
entity_type = 'WIP_DISCRETE_OPERATIONS' and
pk1_value =wip_entity_id and
pk2_value = operation_seq_num and
pk3_value = organization_idHope this answers your question,
Sandeep Gandhi -
Technical link between a PM order and its operations (routing number)
Hi all,
I would like to know how to make link between a PM order and its routing number for operations in the order (field AUFPL) ?
Thank you.
Regards.
Laurent.Hi again,
I just found function module CO_DB_HEADER_READ.
With Order Number as import parameter you got in export parameter CAUFWA value AUFPL.
Then with +AFV+* tables, you have operations data.
Regards.
Laurent. -
How to get operation/activity number in correct sequence
hi all,
in Tcode CA03, we can see the first column "operation number" come in sequence.
0010 INSTRUCT
0020 STAGE
0030 SMT1
0040 SMT2
0050 ROUTING
0060 TEST1
0070 QC
0080 LBLPACK1
0090 FQA-TEST
0100 FINALQA
0110 QCE
However when query in the z report on table PLPO,
it would appear something like the following:
10 10000185 INSTRUCT
20 10000212 STAGE
30 10000178 SMT1
40 10000199 SMT2
110 10000407 QCE
10 10000197 ROUTING
20 10000205 TEST1
30 10000195 QC
40 10000188 LBLPACK1
50 10000315 FQA-TEST
60 10000180 FINALQA
those number comes after 110 is maintained in "reference operation set". it has inserted in between
SMT2 and QCE in CA02.
Please advise how to get the correct sequence in the z program through table PLPO. Or any other table with the entries maintained properly.
thanks .The document is confusing indeed. Here's what to do:
Since you already have Adobe Reader 9.4 installed (distributed via GPO), all you need to do is create an administrative installation point (AIP) for version 9.4.1 so you can deploy it to upgrade version 9.4.
Here's an example:
- Copy AdbeRdr940_en_US.msi (the 42MB MSI installation file) and AdbeRdrUpd941_all_incr.msp (the 3.24MB patch) to C:\Temp folder
- Create a new subfolder under C:\Temp folder (let's call it AdbeRdr941)
- Run this command:
msiexec /a C:\Temp\AdbeRdr940_en_US.msi
- When prompted, specify target drive C:\Temp\AdbeRdr941
- When the above process completes, run the following command to slipstream version 9.4.1 into 9.4.0:
msiexec /a C:\Temp\AdbeRdr941\AdbeRdr940_en_US.msi /p C:\Temp\AdbeRdrUpd941_all_incr.msp
Note: the above AdbeRdr940_en_US.msi in folder C:\Temp\AdbeRdr941 file size is about 3.8MB
- When prompted, once again the target is C:\Temp\AdbeRdr941
When the process completes, copy C:\Temp\AdbeRdr941 folder to a shared network folder and create a new GPO to distribute the new version. Hope that helps. -
Work Order Operation Duplicated on Operation/Activity Number
I had a coworker duplicated his activity number on a operation. He hit save after he had changed the operation number. Now it is giving an error "Inconsistent data: Order 20066826 02/11/2008, duplicate entry U 0125. This had only happened once before and I tecoed/business completed the work order. Then told them to create a new order. But this one, has important information in it, so I was asked to save this order.
Any way to renumber the operation or delete it, or just get in the work order itself? I get this error in change or display.
ThanksWhat you describe should not have happened, and in 11 years of consulting on SAP Plant Maintenance I can only recall having seen this kind of problem once previously. It's not a very easy problem to resolve. There are a couple of suggestions I can make, neither of which are particularly easy or straighforward:
1. Raise an OSS message with help.sap.com to see if they are aware of the problem and have an ABAP that you can download that will correct or delete the database entries. I have done this successfully previously but whether they have an off the shelf solution for this will depend on which version you are on and which tables have corrupted entries in them.
2. Get an ABAPer to look at the problem and produce an ABAP program to correct the entries internally. It wouldn't need to be a particularly complex program, only a few lines, but some analysis would be needed to ensure that all of the affected table entries are corrected as the work order operations are split across several tables.
Sorry but there is not really an easy answer to this one. -
Where can i buy this redeem code? You know i live in tahiland and i don't know where it is please reply A.S.A.P
And also how can i know my number of the operating system??
thanks alot...apperciate itA redeem code will be on a prepaid iTunes card or on a gift certificate that someone buys and gives you. I don't believe that Apple offers prepaid cards in Thailand, but I'm not certain. They don't list them in the Thai online Apple Store, though, so it's probable that they do not.
I don't know what you mean by "number of the operating system". Please explain further what information you are looking for.
Regards. -
Alternative sequence - operations number
Hi all,
I've got an issue on the alternative sequence.
The standard sequence is made by operation 10, 20 and 30.
I try to add a new alternative sequence to substitute the operation 20 with 2 different operations: 20 and 25.
The system give me an error on the routing: CP331 - Operation: date 28.04.2010: operation number incorrect.
I tried the option to change the standard sequence to 10, 20 and 40, but the error is the same. The system checks the return operation (20) and is not possible to add operations into the alternative sequence with operations number greater than return operation.
It seems that is not possible to substitute 1 operation with 2 operations.
Anyone has solved?
Thanks, regards.Hi ,
Okay, you want to create an alternaive sequence only.
Standard sequence is 10 20 30
Alternate Sequence:
1.Branch operation : 10
Number of the operation from which an alternative sequence is to replace the reference sequence.
2. Return operation: 30
(number of the operation up to which an alternative sequence is to replace the reference sequence)
Operations: 20, 25
This should work.
Please check and confirm.
Regards
Datta -
Operation Number in Result Recording
Dear QM Masters,
We are preparing BDC for result recording through QE11 as inspection lot will be with inspection points. Task list for specification will have same MIC assigned to two operation/phase i.e. phase 40 and phase 60. But as we have to record result for same characteristics twice at seperate work-center with seperate operation/phase number, which field we can take as primary key for operation identification as in QAMV table we dont have operation/phase fied. Can we use VORGLFNR field named as NODE of QAMV and if yes then what can be the logic?
Please help to find the solution as our developement is stopped because of this issue.
Any guidence will be great help and will be rewarded.
Thanks and regards,
DevangHi,
Step by step how to find the operation nos and characteristics nos.
1) From QALS table get the order number (AUFNR) for the field inspection lot no.(PRUEFLOS)
2) Go to table AFKO and give the input AUFNR (order no) which is got from QALS table. Find the field AUFPL from that AUFNR value from AFKO table.
3) Go to table AFVC and give the input AUFPL. You will get the AFVC-APLZL which is unique for each operation nos that is AFVC-VORNR. Now you have the APLZL from AFVC table.
4) Go to table QAMV and give the input inspection lot no (PRUEFLOS) and APLZL value in the field QAMV-VORGLFNR. Meaning AFVC-APLZL=QAMV-VORGLFNR. Fetch the characteristics nos that is QAMV-MERKNR.
I hope this will solve your problem.
Regards,
Manoj -
Maintenance order - operation number duplicated
in our productin system one order has got a duplicated operation number
we , consultant are not aware how did that happen, when the user logged a ticket, their issue was,
when they try to either change/display that particular order the error displays like INCONSISTENT DATA - OPEARATION 30 GOT DUPLICATED, so thereafter we are not able to access that order - can anyone suggest how to proceed for this issue as from an abaper endhi
kindly refer the following link to get some idea
Re: Work Order Operation Duplicated on Operation/Activity Number
regards
thyagarajan -
Routing number of operations and reference operation in the order
Hi experts,
If anyone knows about Routing number of operations and reference operation in Maintenance order , please explain.
is it used for maintenance order? if yes, please mention the path from which I can see or note the number generated by the system as Routing number of operations or operation task list no. or reference operation
Regards,Hello,
Routing number of operations in the order"(field-->AUFPL) of the order at table AFKO, using order number. Find the Operation counter number of the operation at table AFVC using "Routing number of operations in the order".
From above we can fetch the Operation Level data of Order by using the Routing number of operations in the order"(field>AUFPL) .Routing number of operations in the order>which solely identity of the Operation for your order after creation of order it is created this number.
Regards,
Rakesh
Edited by: RAKESH ASHOK MANE on Sep 23, 2010 2:47 PM -
LSMW IBIP Unable to upload the PM operation task list
Dear Experts,
I'm trying to use LSMW to upload Equipment (PM) task list.
I succeed in creating the Header of the task list, but not the operations.
I have created 2 new structures :ZIBIPTLST and ZIBIPTLOP
Source structure is : ZIBIPTLST
u2026u2026u2026u2026u2026 ZIBIPTLOP
Structure relation is :
IBIPTLST <<<<= ZIBIPTLST
u2026u2026u2026u2026..IBIPTLOP <<<<= ZIBIPTLOP
Field Mapping :
IBIPTLST
TCODE
RECORDNAME
EQUNR (Equipment number)
PLNNR (Key for task list group)
PLNAL (Group Counter)
u2026.
u2026u2026u2026u2026u2026u2026u2026u2026u2026..
IBIPTLOP
TCODE
RECORDNAME
VORNR (Operation)
ARBPL (work center)
u2026
Unfortunately, they sre no common fields between IBIPTLST and IBIPTLOP, as you could have between PLKO and PLPO.
I have found an answer about the same issue, explaining that you can add in the structure ZIBIPTLOP , additional fields manually in the Souce field maintenance (adding EQUNR, PLNNR, PLNALu2026).
But then , i have no idea where to make the link between these new fields and the same fields of IBIPTLST.
Can you help, and tell me how to structure my files and my LSMW in order to achieve the creation of the Task list Header and Operation in the same Batch input.
PS :in LSMW, i have created two flat files , one for the header and one for the operation.
Thanks a lot, your detailed answer will be very appreciated !!
Jean-LouisHi,
As you said, u will have to add the equipment and group counter id field in IBIPTLOP structure. U also need to identify the two structures with different ID, say header structure ID is 1 and Operation structure ID is 2. Go to step Maintain Source Field, double click on field SID which is created to enter the header and operation data identifier. In identifying field content, enter identifier as 1 for header SID and 2 for operation SID.
You will have to maintain the SID identifier in you data template as well, so that LSMW can easily identify header and operation data.
Below given is how you can create field data.
ZIA01HEADER - Equipment Task List -Header Structure
SID SID Header
EQUNR Equipment Number
PLNAL Group Counter
KTEXT Description
ARBPL Work center
WERKS Maintenance Planning Plant
VERWE Usage
VAGRP Planner Group
STATU Status
STRAT Maintenance strategy
ANLZU Syst.Condition
STTAG Key Date
ZIA01OPERATION - Equipment Task List -Operation Structure
SID SID Operation
EQUNR Equipment Number
PLNAL Group Counter
VORNR Operation/Activity Number
UVORN Suboperation
ARBPL Work center
STEUS Control key
WERKS Plant
LTXA1 Operation short text
DAUNO Duration
DAUNE Normal duration/unit
ARBEI Work
ARBEH Unit for work
ANZZL Capacity required
Hope this will work. -
Ip SLA RTP based VOIP Operation - To find out MOS value
Hi All,
I am new to VOIP. We are trying to find out the MOS value in our VOIP network. For that we thought of using IP SLA RTP Based VOIP operation to get the MOS values. http://www.cisco.com/en/US/docs/ios/12_4t/12_4t4/htrtpvip.html
I ve used 3825 with NM HDV module with 3 DSP as SLA originator and AS 5400 XM as SLA responder.
But i'm not getting the MOS values,
show ip sla statistics shows that the operation failed due to Format Failure.
I ve attached the config of my 3825. Kindly go through it and advise if any changes to be done.
In AS 5400 XM there is no special config related to this. I ve enabled only " IP SLA RESPONDER"
Error message:
LAB-3825-R6# sh ip sla stat
Round Trip Time (RTT) for Index 1
Type of operation: rtp
Latest operation start time: *05:04:58.707 UTC Wed May 14 2008
Latest operation return code: Format failure
Latest RTT (milliseconds): 0
Source to Destination Path Measurements:
Interarrival Jitter: 0
Packets Sent: 0
Packets Lost: 0
Estimated R-factor: 0 MOS-CQ: 0.00
Destination to Source Path Measurements:
Interarrival Jitter: 0
Packets Sent: 0
Packets Lost: 0
Estimated R-factor: 0 MOS-CQ: 0.00
Operation time to live: Forever
Operational state of entry: Active
Last time this entry was reset: Never
LAB-3825-R6# sh ip sla stat aggre
Round Trip Time (RTT) for Index 1
Type of operation: rtp
Start Time Index: *05:06:21.019 UTC Wed May 14 2008
Number of successful operations: 0
Number of operations over threshold: 0
Number of failed operations due to a Timeout: 0
Number of failed operations due to a No Connection: 1
Number of failed operations due to an Internal Error: 5
Number of failed operations due to a Sequence Error: 0
RTT (avg/min/max): 0/0/0 ms
Source to Destination Path Measurements:
Interarrival Jitter (avg/min/max): 0/0/0
Packets Sent (avg/min/max): 0/0/0
Packets Lost (avg/min/max): 0/0/0
Estimated R-factor (avg/min/max): 0/0/0
MOS-CQ (avg/min/max): 0.00/0.00/0.00
Destination to Source Path Measurements:
Interarrival Jitter (avg/min/max): 0/0/0
Packets Sent (avg/min/max): 0/0/0
Packets Lost (avg/min/max): 0/0/0
Estimated R-factor (avg/min/max): 0/0/0
MOS-CQ (avg/min/max): 0.00/0.00/0.00
Any help is greatly appreciated.
thanks in advance.Hi,
AS 5400 cannot be used even as SLA responder for RTP probe. Thats the reason i got the Format Failure error. We can view the type of SLA Probes the router supports by issuing the following command:
sh ip sla application.
for eg below is what i ve taken from AS 5400
sh ip sla application
IP Service Level Agreements
Version: Round Trip Time MIB 2.2.0, Infrastructure Engine-II
Time of last change in whole IP SLAs: 10:48:00.737 IST Tue May 20 2008
Estimated system max number of entries: 49625
Estimated number of configurable operations: 49608
Number of Entries configured : 17
Number of active Entries : 17
Number of pending Entries : 0
Number of inactive Entries : 0
Supported Operation Types
Type of Operation to Perform: dhcp
Type of Operation to Perform: dlsw
Type of Operation to Perform: dns
Type of Operation to Perform: echo
Type of Operation to Perform: frameRelay
Type of Operation to Perform: ftp
Type of Operation to Perform: http
Type of Operation to Perform: icmpJitter
Type of Operation to Perform: jitter
Type of Operation to Perform: pathEcho
Type of Operation to Perform: pathJitter
Type of Operation to Perform: tcpConnect
Type of Operation to Perform: udpEcho
Type of Operation to Perform: voip
IP SLAs low memory water mark: 68416281
chnmgw1#
Hope this will help others looking for RTP based VOIP operation.. -
Hi friends,
while defining Bill of material, operation sequence number is populating by default as 1, does it really matter to exactly use operation sequence number (10) from routing?
Will it be any issue from planning or mfg perspective If I setup bill of materials with operation sequence as 1 (as default) and operating sequence numbers in routing are set up as 10, 20, 30 etc... ???
Please let me know.
Regards,
kumarHi,
Benefits of keeping Operation sequence as 10, 20, 30 etc.
1. End user will know at which operation particular material from BOM is required
2. In case of Operation Pull, material will be consumed at appropriate operation sequence (This will not matter if you are using Assembly Pull, Push or any other Supply Type). This will impact costing.
3. You will be able to add same components against different operations
4. In case of planning, planning engine will give appropriate suggestions (if Mfg lead time is short then this will not matter)
5. You will be able to print pick slips based on operation seq. i.e. If you want to issue components required at operation 10 only then you can achieve that using this method
6. You will be able to scrap components effectively
etc.
Regards,
swapnil Mehar -
Why this function returns 3 and not assign a number?
Hi all,
call function 'NUMBER_GET_NEXT'
exporting
nr_range_nr = '01'
object = 'ZSBMDNUM'
importing
number = ZMM_TR_STR-dosyano
exceptions
interval_not_found = 1
number_range_not_intern = 2
object_not_found = 3
quantity_is_0 = 4
quantity_is_not_1 = 5
interval_overflow = 6
others = 7.
Thanks.Hi,
follow the below procedure for auto number generation.
From SNRO create a custom no. range object. When creating it specify
Short, long text,Number length domain (Ex: NUM5) and Warning % (Ex:
10.0.).
After creating it maintain the intervals by clicking the button
Number Ranges from the 1st screen and in the next screen press
change intervals and then maintain the intervals (From number, To
number, Current no etc.).
Now u can use this no. range object with the FMs, those I mentioned
in my earlier reply.
You can maitain a number range object from tran. SNRO and can
fetch
the next available no. using the FM 'NUMBER_GET_NEXT'.
Also check the FMs below for further operations on number range.
'NUMBER_RANGE_OBJECT_READ',
'NUMBER_RANGE_INTERVAL_LIST'
'NUMBER_RANGE_OBJECT_LIST'
'NUMBER_RANGE_OBJECT_GET_INFO'
Reward if useful,
Thanks,
Sreeram. -
Datasource for QM Inspection Lot - Operation/Activity
Dear experts,
We need to develop a report for QM Result recorded for Inspection Lot having Operation/Activity number in BW
The field in R/3 is VORNR and Table PLPO (Inspection Plan Table) but this field is not available in any other QM tables.
We are not able to find any data source where the said field is coming.
Please help me out
Thanks & regards,
DK MarooCheck t-code: SE11
In data type field enter "VORNR".
Click on where used list (CtrlShiftF3) button, 3rd from left on top.
You will get one pop-up name - where used list data element. Here select check-box table fields. Click on execute.
You will get list of table name, where this field is available.
Hope this helps.
Thanks!!!
Maybe you are looking for
-
How to coonect developer with database
hi all please help me with connect developer suite 10g with oracle database 10g it gives me this error when i want to connect to a user cannot connect TNS listener Thanks
-
Need to shut off ibook screen?
Hi all, I need to know how to set my 12" G4 ibook screen to turn off while it is connected to an external monitor? I also have a 15" G4 powerbook that is connected to a different external display and I can turn it on and it uses the external monitor
-
Finder Not Showing DVD Content
Hey there folks. i have had a macbook for about 6 months now with very minimal problems, but i have just come across one that is bugging me quite a lot. i have all my h/d backed up on dvd (philips dvd+rw) i inserted the dvd into the superdrive, but f
-
Hi all, I want to modify an existing button to set the forward url to my custom page. How can I use the setForwardURL function from OAPageContext to link to my custom page. I've been trying to trace the methods but no luck. Please Help. If there is a
-
My RMI Server application Not work under Linux: Exception: Connection reset
Under Red Hat Linux 8.0 my RMI server application, when I try to bind the Impl class, sends me the exception: "java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset". And it wor