To find all the child records are processed before parent records
Hi,
When i am trying to process consignment pulls and my client is using third party tool to insert the data into interface tables. My logic is written in such a way that it should pick parent record associated with child but there is some delay in child records and not all the child records are being pulled with parent.
In a brief, i need to write a condition in such a way that my parent cursor should pick all the child records with max(last_updated_date) and then it should be processed.
eg: I have a family and need to catch bus with all my family members. I need to check now for the last family member who get into and should wait for atleast 2mins so as to ensure all my family members are in. I am unable to achieve this with count. Please do revert back soon.
Details are below:
CURSOR c_pull (p_pull_id NUMBER) IS----------------------------------parent cursor
SELECT ecp.ROWID ROW_ID
,ecp.*
FROM consignment_pulls ecp
WHERE ecp.process_flag IN ( 2, 3 )
AND ecp.pull_id > NVL(p_pull_id,0)
ORDER BY ecp.pull_id
FOR UPDATE OF ECP.PROCESS_FLAG NOWAIT;
CURSOR c_line (p_pull_id NUMBER) IS----------------------------------child cursor
SELECT ecpi.ROWID ROW_ID
,ecpi.*
FROM consignment_pull_items ecpi
WHERE ecpi.process_flag IN ( 2, 3 )
AND ecpi.pull_id = p_pull_id
FOR UPDATE OF ecpi.process_flag;
Edited by: Prathyusha on Apr 5, 2012 12:07 AM
Edited by: jerry on Apr 5, 2012 12:10 AM
Hi Helios,
Thanks for the info. But its not a concurrent request something like we can filter with start date and completion date. Its all about selection of records from headers and lines table and not able to make those selection of header records with a delay of say some 2minutes until all the child records are inserted.
Thanks,
Prathyusha.
Similar Messages
-
How do I find all the tables that are used by an application component?
.
Hi ,
Goto SE93, then pull down the Transactioncode field then select SAPApplications. Then you will get all the T-codes application wise. Then try to analyze the tables used by the T-codes.
Regards,
Hari.
Edited by: Hariprasad K on Mar 31, 2008 6:40 PM -
How to find all the user exits includes ,
Hi All ,
I need to find all the includes which are created for purpose of implementing user exits , I know they all start with ZX* but where to get the list .
THank you all
Vinay KollaHi Vinay....
Just excute following program in your ABAP Edter....
( Input parameters: T'CODE and User exit type.)
>TABLES: MODSAP, MODACT, TSTC.
>
>PARAMETERS: INPUT1 LIKE TSTC-TCODE DEFAULT ' ',
> INPUT2 LIKE MODSAP-TYP DEFAULT ' '.
>
>DATA: SEARCH1(6),
> SEARCH2(3),
> SEARCH3 LIKE MODSAP-MEMBER.
>DATA : FIRST_ROW VALUE 'Y'.
>
>CONCATENATE: '%' INPUT1 '%' INTO SEARCH1,
> '%' INPUT2 INTO SEARCH2.
>
>SELECT * FROM TSTC WHERE TCODE LIKE SEARCH1.
> FIRST_ROW = 'Y'.
> CHECK TSTC-PGMNA NE SPACE.
> CONCATENATE '%' TSTC-PGMNA '%' INTO SEARCH3.
> SELECT * FROM MODSAP WHERE TYP LIKE SEARCH2
> AND MEMBER LIKE SEARCH3.
> SELECT SINGLE * FROM MODACT WHERE MEMBER = MODSAP-NAME.
> IF FIRST_ROW EQ 'Y'.
> WRITE: /0 TSTC-TCODE, 6 TSTC-PGMNA, 16 MODSAP-NAME, 32 MODSAP-TYP,
> 45 MODSAP-MEMBER, 70 MODACT-NAME.
> FIRST_ROW = 'N'.
> ELSE.
>WRITE: /16 MODSAP-NAME, 32 MODSAP-TYP, 45 MODSAP-MEMBER, 70 MODACT-NAME.
> ENDIF.
> CLEAR : MODSAP, MODACT.
> ENDSELECT.
> IF SY-SUBRC NE 0.
> WRITE : /0 TSTC-TCODE, 6 TSTC-PGMNA, 30 'No exits found'.
> ENDIF.
> CLEAR TSTC.
>ENDSELECT.
>
>END-OF-SELECTION.
> CLEAR: SEARCH1, SEARCH2, SEARCH3.
Thanks,
Naveen Inuganti. -
How do I find all the purchased items on my iPhone? When I try to update the iPhone iOS while connected to my MacBook it says there are purchased items on the phone that have not been transferred to my iTunes library and that I should transfer them before updating.
Thanks. This seems to have worked easily.
-
How can i find all included pictures which are not in a album? (only in the Library)
How can i find all included pictures which are not in a album? (only in the Library)
Hi there,
I'm afraid I don't quite understand your question. All images are in your Library and only those you specifically select from that Library would be in an Album. What platform are you using? Revel Mac, Elements, web browser, etc?
Here is a link with some helpful information:
FAQ: File Basics: How do I Upload, Download, Share, and Delete files in Revel?
Thank you,
Glenyse -
My iMac holds my main iTunes account and it shows 4 devices are authorized to play iTunes. I can only name 3. How do I find out a list of all the devices that are authorized from this computer?
I don't believe this is possible, but you can deauthorize all your computers and start over if you are concerned.
See here
Best of luck -
I am finding all the Apple TV apps are gone
I am finding all the Apple TV apps are disappeared except settings and computer. I have setup automatic software upgrade and I an am not sure if one of the auto upgrades went wrong. I have tried to restart and reset, but no luck. Any help is appreciated.
That means it is having trouble connecting to the network. Make sure location is set correctly. DNS should be set to automatic. Ensure router is up to date and reboot. If on wifi try ethernet.
-
Can anyone recommend a duplicate file finder application for OS10.6 systems? All the apps I find on the App Store are only for 10.7 and later. I don't know how to filter a search on the App Store by operating system (if this is even possible). I currently have a MacBook running OS10.6.8. If you can recommend an app, please post the URL. Would appreciate any helpful suggestions....
<Email Edited By Host>Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
View ▹ Show Log List
from the menu bar.
Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
Please do not indiscriminately dump thousands of lines from the log into this discussion.
Important: Some private information, such as your name, may appear in the log. Anonymize before posting. -
Since the latest ITunes update I cannot find all the CD songs I had converted into playlists. All I can find are the songs I bought on ITunes.
Hello jerryfromil,
I've found an article that may help get your content back into iTunes.
No content shows up in iTunes after updating
http://support.apple.com/kb/TS1967
All the best,
Allen -
To get the logical system names of all the child systems in a CUA envirnmnt
Hi Gurus ,
Is there any table where we can find the logical system names of all the child sytems in a CUA environment .
This is for a requirement that i need to develop an automated process where we can reset the password of all the child system in a CUA environemt when requested by the user at once .
I found some tables such as V_TBDLS , but they do not contain the exact information what i need .
Thanks in advance ,
Harshit RungtaHi,
You are in the right track. BD54 will show you the logical system name for all the existed systems in CUA.
Else you can also go to your CUA system and execute t-code SALE --> Basic Setting --->Logical Systems ---> Assign logical system to client -
> Display details
here you can see logical system names for all the clients assigned to CUA.
Thanks,
Deb -
All the DTP jobs are routing to one application server
HI all,
DTP process job is triggering 3 child jobs all those child jobs are going to one application server, we have many DTP jobs all the jobs are routing to one paticular server that is causing application server to be hang(high cpu, memory utilization) .could you please suggest me in the process chain, is BI team can assign the application, i am not getting why dtp child jobs are executing only one application server, i have obesereved since 10 days it is happening. could you please suggest me how we can over come this.
Thanks & Regards.
VenugopalCheck tcode RSBATCH, If I'm not wrong DTP_LOAD process type is assigned to application server on which these DTP jobs are running. Remove that application server name and save.
Again use RSBATCH, under 'Background and Parallel Processes' tab, click 'Switch Off F4 Popup for Server/Host/Group', enter *** (star) under Users for 'Users for Whom NO Server/Host/Group Popup Should be Processed'. Now activate the PC and execute and check the DTP jobs.
Since u have 4 Appln Servers, best bet would be creating a server group. See the below link.
How to run Process Chain jobs WITHOUT a target server -
How to select all the people that are not in any equipe ?
Hi,
I have a nice SQL expression that gives me as a result all the "AGENTS" (people) that are working in an EQUIPE (a team)
select a."AGENT_ID",
a."NOM" || ' ' || a."PRENOM" "Nom",
c.libelle "Equipe",
a."DATE_EMBAUCHE" "Date embauche",
a."DATE_DEBAUCHE" "Date débauche"
from OBSERVATOIRE."AGENT" a,
observatoire.equipe_agents b,
observatoire.equipe c
where a.agent_id = b.agent_id
and b.equipe_id = c.equipe_id
order by nom
Now, how to select all the agents that are NOT working in any "EQUIPE" (team) ?
I have tried but could not succeed !
Thank you for your kind help.
ChristianChristian from France wrote:
It is not working because the table EQUIPE_AGENTS does not contains a row if the agent is not into any equipe.
CREATE TABLE "OBSERVATOIRE"."EQUIPE_AGENTS"
( "EQUIPE_AGENTS_ID" NUMBER NOT NULL ENABLE,
"EQUIPE_ID" NUMBER NOT NULL ENABLE,
"AGENT_ID" NUMBER NOT NULL ENABLE)
CREATE TABLE "OBSERVATOIRE"."AGENT"
( "AGENT_ID" NUMBER NOT NULL ENABLE,
"GRADES_ID" NUMBER NOT NULL ENABLE,
"NOM" VARCHAR2(50 BYTE) NOT NULL ENABLE,
"PRENOM" VARCHAR2(50 BYTE),
"DATE_EMBAUCHE" DATE NOT NULL ENABLE,
"DATE_DEBAUCHE" DATE)
The only way to "know" if an agent is not into any equipe (team) is to search into the EQUIPE_AGENTS table, and if we do not find the ID of the agent into this table, then we know that this agent is not into any EQUIPE (team).
I don't know ho to translate this into SQL.And that's what my query does. It uses an OUTER JOIN so that a result record is returned whether or not there is a record in EQUIPE_AGENTS. And the check for EQUIPE_ID is NULL restricts the result set to those where there IS NOT a record in EQUIPE_AGENTS.
A more traditional way would be to use NOT IN or NOT EXISTS clauses, but they can prove inefficient. -
Dear friends,
for invoices which table i will find the basic price value (Amount) with condition type and Invoice number
e.g. Pr00 value and the invoice numbers
Or
Question
1) I want to find all the invoices where condition type ABCD is used ?????????
2) I want to find all the invoices where condition type ABCD is Missing???????
Regards
HanumantHi,
It is a reverse process.
Goto the T.Code "SE16".
Enter the table name as "KONV".Pass the Condition type as "ABCD".
Get the Values from the field "Doc. Condition".
Pass those values into VBRK table to get the Invoice Numbers which will give you all the invoices which are using the condition type "ABCD".
Regards,
Krishna. -
How to find all the objects by Module.
Hey all,
Can any one please help me in finding all the objects by Module.
I need to have all the objects(like app engines, records, fields, file layouts, etc,.) in AP, AM, GL, BI, AR.
thank you,
Bye.You can use the OwnerID field as a starting point. The reason why i say that is because there are some objects that cross-over between more than one module.
http://www.CompShack.com -
How to find out the values which are assigned in authority group
Hi to all
Please tell me where can I find out the values which are assigned in authority object according to roles.
for ex :
Changed Customer: Account Authorization F_KNA1_BED
Changed Customer: Account Authorization T-DR50175601
Activity 01, 02, 03, 08 ACTVT
Authorization Group 5100 BRGRU
F_KNA1_BED is the authority object , assigned to one user.
He can access the authorization group 5100. I want to check that value in my program.
How ?
Where it is stored.
Please help me....
Regards
Anubhav GuptaHi Anubhav,
Please use this FM "SUSR_USER_AUTH_FOR_OBJ_GET" and pass the object name in it . You would get the values for that particular object.
Thanks
Nitin Sachdeva
Maybe you are looking for
-
I used to be able to, and have only been able to one time since. It started this in about vers. 6 I believe, and has been going on for a few weeks. I've deleted and redownloaded Firefox twice, with the error still occurring. Thanks, Mark
-
Hi, For my application I need to use a textarea as a code editor but my problem is that tabulation key is used to give the focus to the next control but I want the tab key to simply insert a tabulation. Here is my current state: I have this in my tex
-
Question about the wireless keyboard/trackpad/magic wand combo
Hello, I am currently using the wired keyboard along with a third-party wired mouse and was thinking of upgrading to the wireless keyboard, magic trackpad, and attaching the two with Twelvesouth's magic wand. Now after watching some reviews I notice
-
Cannot access external drive - remembers what was previously in that usb port
Lightroom 5.5 will not recognize my current external drive - it shows in the navigation panel the missing folders from a different external drive, and will not recognize the drive that my computer system recognizes. I have tried moving the drive to
-
Using abbreviations in Adobe Pro 8 forms
Is there a way to add hotwords to acrobat forms. Ex. If I type POC, the form displays proof of claim Thanks Paul Washburn US Bankruptcy Court