Guys! help me iin finding the logic
can any one help me in finding
1. inactive customer
1.1 - who did not have transaction for past 15day fianancial dept
1.2 - who did not have transaction for past 15 days with sales dept
2. inactive vendors
2.1 - who did not have any transaction for past 15 days with finance dept
2.2 - who did not have transactions for past 15 days with material dept.
help me please asap.
Hi,
Inactive customers:
Use tables kna1, knb1, knkk, vbrk(past activity).
next activity - fplt, fpla, vbpa.
1. 1st get the payers from KNB1 based on selection screen on payer and company code.
2. KNKK logic
select single kkber from t001 into v_kkber
where bukrs eq p_bukrs.
select kunnr kkber knkli nxtrv from knkk into table knkk_it
for all entries in knb1_it where kunnr = knb1_it-kunnr and
kkber = v_kkber and
sbgrp in s_sbgrp.
3.Last activity
select vkorg erdat kunrg from vbrk into table vbrk_it
where vkorg = v_vkorg and
erdat in before_dt.
sort vbrk_it by kunrg.
4. Next activity
select single vkorg from tvko into v_vkorg where bukrs = p_bukrs.
if not v_vkorg is initial.
select fplnr fpltr fkdat from fplt into table fplt_it
where fksaf = space and
fkdat in after_dt.
sort fplt_it by fplnr fpltr.
if not fplt_it[] is initial.
select fplnr vbeln from fpla into table fpla_it
for all entries in fplt_it where fplnr = fplt_it-fplnr.
endif.
sort fpla_it by fplnr vbeln.
if not fpla_it[] is initial.
select vbeln kunnr from vbpa into table vbpa_it for all entries in
fpla_it where vbeln = fpla_it-vbeln and
posnr = '000000' and
parvw = 'RG'.
endif.
sort vbpa_it by kunnr.
endif.
Later process all into final internal table.
If this helps you award points.
Thanks,
Deepak.
Message was edited by:
KDeepak
Similar Messages
-
PLEASE HELP ME TO FIND THE SOLUTION REGARDING "LOGICAL SYSTEM CHANGED"
HAI EVERYBODY,
PLEASE HELP ME TO FIND THE SOLUTION REGARDING "LOGICAL SYSTEM CHANGED" during the material master replication by using middleware parameters.
step1 : i have taken SRM client 810 and named it as CHINNISRM
step2 : i have taken r3 client 810 and named it as CHINNIR3
step3: During material master replication i maintained tables like crmconsum,crmrfcpar,crmparoltp in r3 and smofparsfa in srm client and filtered the objects and loaded the objects through r3ac3,r3ac1,r3as.
step4 : And later i have checked in r3 queues to activate the objects,but i have seen a message like "LOGICAL SYSTEM CHANGED:SEE 588701".according to the oss instructions i have checked in CRMPRLS table in se16 in R3 .there i found out there is one logical client named with T90CLNT810.
oss :588701
Solution
There are different cases in which different forms of processing are
required or where several options exist:
- The logical system name of an R/3 Backend client was changed in
current operation. In this case, the data hangs in the outbound
queues of the R/3 Backend system as specified under point 1 of
the symptom. In this case, the logical system name must be
changed back to the original value. Then the outbound queues
can be reactivated. If no data was transferred to the EBP/CRM
server before the change, also a correctioin of the check table
is possible.
- The same logical system name was used again in a new client of
an R/3 Backend system that was linked to the EBP/CRM server. In
this case, the data is in the inbound queue of the EBP/CRM
server with the exception GUID_FOR_LOGSYS_CHANGED. In this
case, the queue entries which have status SYSFAIL must be rejected, however, not the entire queues. If the new client of the R/3 Backend system you have linked has exactly the same
data as the old client and if it is meant to replace the old
client (that is, this was deactivated), also a correction of
the check tables is possible. In this case, the inbound queues
can be reactivated after the correction.
oss:765018
1. If the situation in your system corresponds to the situation described
under "Reason and Prerequisites" and if symptom 1 occurs, you can
delete the table entry from table CRMPRLS table (there is just one
entry). Since there is no maintenance dialog for this table and you
cannot maintain it using transaction SE16, you must use a report to
delete it. This report is attached to this note as correction
instructions.
Create the report ZZ_DELETE_CRMPRLS in your system and copy the source
code from the correction instructions. You cannot implement this
source code using transaction SNOTE.
You can use the report in every plug-in or plug-in basis system, even
if it is not specified in the validity section.
After you have run the report, you can trigger existing queues again
in transaction SMQ1.
2. If the situation in your system corresponds to the situation described
under "Reason and prerequisite" and if symptom 2 occurs, you can
delete the entry from table CRMMLSGUID (there is just one entry).
Since there is no maintenance entry for this table and you cannot
maintain it using transaction SE16, you must use a report to delete
it. This report is attached to this note as correction instructions.
If they do not yet exist, add the following messages to message class SMOF in your logon language:
Message Message short text
303 User &1 is not allowed to change table &2.
304 User &1 IS not allowed to display table &2.
305 Logical system &1 was not found in table &2.
306 System error! The current client was not
found in table T000.
Create the report ZZ_DELETE_CRMMLSGUID in your system and copy the
source code from the correction instructions. You cannot implement
this source code using transaction SNOTE.
You can use the report for every release of the CRM system, even if it
is not specified in the validity section. The only exceptions are CRM
releases with Support Package versions that are too low such as CRM
Release 3.0 with Support Package 12.
After you have run the report, you can trigger existing queues again
in transaction SMQ1 of the R/3 back-end system or transaction SMQ2 of
the CRM system.
so what should i do to do the replication.please suggest me .untill and unless i solve my problem i cant move to the further activity.i hope you people can solve my problem.thanks in advance.
thanks and best regards,
n.chakradharHi chakradhar,
Did you find a solution to your issue? We are facing a similar issue and looking to figure out how this can be resolved.
BR// 420 -
i am not able to find the "logical shift" function anywhere on the functions palette (after searching EVERY where). however, i discovered the function elsewhere in another VI (by pure luck!). i could keep bringing up these VI and copying and pasting, but that's a pain...i'd like to just have it on my functions palette to begin with.
i am running labview 6.1 thanks for your help.hi,
LabVIEW's functions pallete has come with a very useful tool --> "Search" tool
Make use of the "Search" tool should you encounter difficulty in locating the desired function. For instants, search for keyword "Logical" or "Shift" and you will be able to locate the function
happy coding
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010
依恩与LabVIEW
LVVILIB.blogspot.com -
Hi all,
I'm new to OA Framework. I can work with forms, but now i have to find the logic under a specific JSP. I want to see what's happening when a button in that JSP is pressed. Does anybody can help me with this? I'm using Oracle E-Business Suite R12.1.3. Do i have to open one of the specific components of the MVC structure? I can find the query of the JSP via "About This Page" but i want the program logic - not only the SQL.
Thanks in advance,
Bahchevanov.Hi Bahchevanov,
As you rightly noted, you can only view the components/queries involved but not the actual logic which is coded in the pages from the 'About This Page' link. If you want behind-the-scenes logic, you have to copy the components over to your local machine and access them using JDeveloper. This is the recommended approach. Please check the documents on how to extend OA Framework pages for more details.
Regards,
Sujoy -
How to find the logical filename for the given ARCHIVE object.
I want to know the logical file name of FI_FICA object.
Can any one guide me.
Thanks,
ShreeHi Sree,
I don't have SAP system right now to check it.
I think if you know the physical path, logical path can be found.
Please check this thread for further reference.
https://forums.sdn.sap.com/post!reply.jspa?messageID=5726662
Thanks and Regards,
Guru -
I actually need help but cannot find the answer.
Please.......Lately when open a new tab it does not open with a blank page. I don't want to set my homepage as blank as when I first open Firefox, it automatically loads my hotmail page. But then if I open other pages I don't get a blank page. Help, please?
Thank you.
''[Personal information removed by moderator. Please read [[Forum and chat rules and guidelines]], thanks.]''hello, please refer to [[New Tab Page – show, hide and customize top sites]] in order to switch the feature off.
-
I have 2 computers (1 Pc and 1 MAC) and 1 Iphone.The I phone is synchronised with the PC. I want to synchronised it also with my MAC, without erasing all my music and files. Someone can help me to find the answer ?
i have already try the copy/paste thing with the ID of the file "iTunes Music Library.xml" it didn't change a thing. each time I relaunched Itunes, the ID is the first I have in the MAC.
I have more than 5 000 files of music. I don't want to recreate one by one all my playlits.
Many thnaks for your answers.
ConstanceYou can sync iphone with one and only one computer at a time. If you sync to another, it will erase the current content and replace with content form the new computer. There is no way around this.
Put everything on one computer and sync from there.
BTW, you posted in the Home Share forum. Your question seems to have nothing to do with home share. -
Hi
Can anyone help me in finding the reason why the date on e=mail reced is different from the one on my MacBook eventhough it is correct
ThanksTry this...
Triple click anywhere in the line below to select it and press Ctrl+C to copy it.
cmd /k netsh winsock reset
Press the WinLogoKey+R to open the run dialog, then Ctrl+V to paste, then press enter/return.
You should get something similar to this:
Reboot the computer and the problem should be resolved.
If it doesn't work then perhaps a full tear down and rebuild of iTunes will fix things. See Troubleshooting issues with iTunes for Windows updates for details.
tt2 -
need driver for canon mg 5250 as scanner is not working with version 10.7. Lion. Can you please help me to find the driver so scanner works with WIFI?
Try with the latest Apple driver package for Canon (released 15th Feb):
http://support.apple.com/kb/DL899
This solved my problem with the printing. -
I get the following message when trying to open an .avi downloaded from my video cam, need help, can not find the codec, thank you. This is for Quicktime Player.
"The document “IMAG0026.AVI” could not be opened. A required codec isn't available."Try Perian.
http://perian.org/ -
[SOLVED] Help Needed to find the name of the openbox theme
Can anyone help me to find the name of the openbox theme ?.
Thank you.
It's Numix
Last edited by bhante (2015-01-07 11:13:12)That looks a lot like the Numix GTK theme...
-
An anyone help me to find the difference and relation between the following
Hi,
can anyone help me to find the difference and relation between the following methods of Swing :
a) validate()
b) invalidate()
c) revalidate()
d) repaint()You'd be far ahead by opening up the API and Java turorial and your course book and learning for yourself, rather than, asking other to do your homework for you.
But if you have andwers already to go, then post them and ask if you have drawn appropriate conclusions. -
Please help me to build the logic
Hi All,
Please help me to implement the following logic.
The conditional statements should not only be executed in sequence, but also if any of them are true they should not be overridden by any subsequent conditional statements being true.
When actual effort Accepted or Rejected for AST proposals and calculate a flag for “enhance to AST guideline” = Y/N as follows for each employee and display at the employee level
1)If AST eligibility = N AND proposed AST % >0, then “N”
2)Else If AST eligibility = N AND proposed AST % = 0 then “n/a”
3)Else If AST eligibility = Y AND Act Rank = 3 AND proposed AST = 0 then “Y”
4)Else If AST eligibility = Y AND Act Rank = 3 AND proposed AST >0 then “N”
5)Else If AST eligibility = Y AND Act Rank = 2 AND proposed AST = 0 then “Y”
6)Else If AST eligibility = Y AND AST % is greater than or equal to the AST guideline minimum AND less than or equal to the AST guideline maximum, then “Y”
7)Else If AST eligibility = Y AND AST % is less than the minimum guideline OR greater than the maximum guideline, then “N”
I tried the following code but I am not getting the expected result .
Could you Please help me to build the logic.
Your earliest response is very helpful to me.
if (upper(P_stat)='ACCEPTED' or upper(P_stat) like 'REJECTED%') then
else if NVL(P_elgi,'N') <> 'Y' AND P_prop > '0' then
P_flag := 'N';
else if(NVL(P_elgi,'N') <> 'Y' AND P_prop = '0') then
P_flag := 'N/A';
else if ((NVL(P_elgi,'N')='Y') AND P_rank = '3' AND P_prop = '0') then
P_flag := 'Y';
else if((NVL(P_elgi,'N')='Y') AND P_rank = '3' AND P_prop > '0') then
P_flag := 'N';
else if((NVL(P_elgi,'N')='Y') AND P_rank = '2' AND P_prop = '0') then
P_flag := 'Y';
Else if (P_prop >=ast_min_guide AND P_prop <= ast_max_guide ) then
P_flag := 'Y';
else
((P_prop < ast_min_guide) OR (P_prop > ast_max_guide)) then
P_flag := 'N';
end if;
end if;Thanks for ur quick responce .
When actual effort Accepted or Rejected for AST proposals and calculate a flag for “enhance to AST guideline” = Y/N
Once the above condition is satisfied we have to check for remaing conditions
if (upper(P_stat)='ACCEPTED' or upper(P_stat) like 'REJECTED%') then
once it is satisfies then we have to go for remaing conditions.
how can we do it in CASE statement.
1)If AST eligibility = N AND proposed AST % >0, then “N”
2)Else If AST eligibility = N AND proposed AST % = 0 then “n/a”
3)Else If AST eligibility = Y AND Act Rank = 3 AND proposed AST = 0 then “Y”
4)Else If AST eligibility = Y AND Act Rank = 3 AND proposed AST >0 then “N”
5)Else If AST eligibility = Y AND Act Rank = 2 AND proposed AST = 0 then “Y”
6)Else If AST eligibility = Y AND AST % is greater than or equal to the AST guideline minimum AND less than or equal to the AST guideline maximum, then “Y”
7)Else If AST eligibility = Y AND AST % is less than the minimum guideline OR greater than the maximum guideline, then “N”
I tried the following code but I am not getting the expected result . -
My mobile phone is lost, please help me to find the serial number is: DNQKDBS8F8H4, my name is Yu Fan, thank you very much for this is my number: 15052995201
We're not Apple here. We're users. We cannot locate your phone any more than you could locate ours.
If you did not have find my phone activated on your device, there's no way to track it. -
Please help me to find the table for fields where the descriptions are give
please help me to find the table for fields where the descriptions are given below
Customer Support Administrator
first line Support indicatorYou could also try table DD01T. In se 16,put in the description thats needed,you will get to know the respective data elements.
Then you can use DD03L to find the respective table. This would work if the data element is not generic.
Regards,
Anubhav.
Maybe you are looking for
-
HT1689 how do i remove my credit card details
Please can you tell me if I am unable to completely remove my credit card details from my account? If so, how do I do it? Thank you.
-
Passing optional parameter to subreport
Hi, I am having a CR 2008 report based on BW query. The query has optional parameter (the value can be set to NULL). When I try to use this report as subreport in my main report, I am unable to pass Null(equivalent to set to NULL) to my subreport u
-
I want to set up a network attached storage for FTP file acces. I'm a bit of a newb on FTP setup, but I can muddle around in my drives firmware well enough to figure out it's configuration. What I'm not too clear on, are there any tweaks and port set
-
Given an image I have to write a method that will "Sharpen" it. By sharpen, follow the formula newColorValue = (oldColorValue - min) * maxPossiblePixelValue / (max - min) where max and min are the maximum and minimum color values in the surrounding n
-
Calendar alerts not syncing?
Hi all, I share calendar with my wife and kids, but when I create a new event and set an alert, the event is created on my wifes and kids calendars too - but the alert is not set on their devices. Is that "by default" or is it a bug? Thanks! Mojo