Purchasing Group Relation with data or setting
Dear All,
Can anyone please advice me if there is anything we should check after new purchasing group have been created?
I have just created 15 new purchasing group, some of the group code is being replaced by this new group code.
Thank you very much,
Regards,
Chee Wee
Hi
If you are creating a new purchaing group then it is not at all a problem because it is a free floating entity. You don't have to assign to any other entity. But if you are deleting any then you need to consider previous transaction in which that purchasing group is used. If there is any open transaction then in that you need to give new purchasing group. Then reports for old transaction may also give inconsistancy.
Regards
Antony
Similar Messages
-
Purchase group restrict with doc type
scenario is this like i want to restrict purchase grp with doc type wise, suppose i want purchase group <b>"abc"</b> should not be used in doc type "<b>FO"</b>
then what setting should i do?this you can only do with the basis person who has authorisation to make changes in user t.codes.
in t.code PFCG, give the user role for which you want to restrict this and then choose display, goto authorisation tab and click n the display authorisation data button, here at the top you can find the organiztional levels button, you can restrict the purchasing group here itself by not specifying it in the list, thus for all t.codes he will not have authorisation for this purchasing group.
then choose the MAterials Management : Purchasing node, here choose the Document Type in Purchase Order to give the doc. types allowed to user and Purchasing Group in Purchase Order to limit the pur. groups.
reward if helpul -
Group by with date range.
Hi,
I am looking for effective usage of Group by against date range.
I have a transaction table as below.
Date customer_no amount_paid
01-Dec-13 001 500
02-Dec-13 001 360
09-Dec-13 001 200
02-Nov-13 001 360
09-Nov-13 001 200
02-Nov-13 001 360
09-Oct-13 001 200
02-Oct-13 001 360
09-Oct-13 001 200
02-Sep-13 001 360
09-Sep-13 001 200
............... etc.
I would like to see sum(amount_paid) by past date ranges 1-30 days, 31-60 days, 61-90 days.
Below are expected results.
Customer Duration amount_paid
001 1-30 980
001 31-60 450
001 61-90 1200
002 1-30 300
002 31-60 490
002 61-90 320
003 1-30 450
......................etc.
I have to group by customer no and date range (1-30, 31-60, 61-90..etc).
Can someone help me getting query for this.
Thanks...
Sreeram.SQL> with t
2 as
3 (
4 select to_date('01-Dec-13', 'dd-Mon-rr') dt, '001' customer_no, 500 amount_paid from dual
5 union all
6 select to_date('02-Dec-13', 'dd-Mon-rr') dt, '001' customer_no, 360 amount_paid from dual
7 union all
8 select to_date('09-Dec-13', 'dd-Mon-rr') dt, '001' customer_no, 200 amount_paid from dual
9 union all
10 select to_date('02-Nov-13', 'dd-Mon-rr') dt, '001' customer_no, 360 amount_paid from dual
11 union all
12 select to_date('09-Nov-13', 'dd-Mon-rr') dt, '001' customer_no, 200 amount_paid from dual
13 union all
14 select to_date('02-Nov-13', 'dd-Mon-rr') dt, '001' customer_no, 360 amount_paid from dual
15 union all
16 select to_date('09-Oct-13', 'dd-Mon-rr') dt, '001' customer_no, 200 amount_paid from dual
17 union all
18 select to_date('02-Oct-13', 'dd-Mon-rr') dt, '001' customer_no, 360 amount_paid from dual
19 union all
20 select to_date('09-Oct-13', 'dd-Mon-rr') dt, '001' customer_no, 200 amount_paid from dual
21 union all
22 select to_date('02-Sep-13', 'dd-Mon-rr') dt, '001' customer_no, 360 amount_paid from dual
23 union all
24 select to_date('09-Sep-13', 'dd-Mon-rr') dt, '001' customer_no, 200 amount_paid from dual
25 )
26 select customer_no
27 , ((grp_val - 1) * 30) + 1 start_val
28 , grp_val * 30 end_val
29 , sum(amount_paid) amount_paid
30 from (
31 select dt
32 , customer_no
33 , amount_paid
34 , ceil(sum(dt_interval) over(partition by customer_no order by dt)/30) grp_val
35 from (
36 select dt
37 , customer_no
38 , amount_paid
39 , nvl(dt - lag(dt) over(partition by customer_no order by dt), 1) dt_interval
40 from t
41 )
42 )
43 group
44 by customer_no
45 , grp_val
46 order
47 by grp_val;
CUS START_VAL END_VAL AMOUNT_PAID
001 1 30 560
001 31 60 760
001 61 90 920
001 91 120 1060
SQL> -
Keep Group headings with data - control your page breaks
Trying to keep the group heading with the appropriate transaction information. Currently, get a group heading at the bottom of a page and then the transactions print on the next page. Difficult to determine what the transaction information is without the appropriate group headings displayed. The amount of transaction data is not static, it varies from page to page. Some of the reports can be close to 100 pages. Please advise.
Hi Kim,
You can use the option u201CNew Page Afteru201D in Section Expert for Group Footer section so that the new group Header will display on the next page.
Regards,
Alpana -
Drag&Relate with data ownership
At this time, the Drag&Relate don't take the data ownership into consideration, however you can choose the Drag&Relate form in the Data Ownership Exceptions - Excluded Forms. The users can see all the objects and they can open all objects. So this time we must disable the Drag&Relate for this user, but it makes difficulties in searching and reporting
Hello,
Currently you can perform Drag&Relate with CRM 4.0 and EP 6.20.
In the future the same capability will be enabled over CRM 5.0 and EP version > 6.20
The folowing link described how to do it:
http://kwhelp.sap.com/SAPIKS/S682060d5cdc846bab359671938f6d5ca/KW/IWB_STRUCTFDA74520211EBF4B8265A03750D12E3C/IWB_EXTHLP9CFFA3014CE645E493E9983B3631519A/?LANGUAGE=EN&RELEASE=406&IWB_INDUSTRY=BBPCRM&IWB_COUNTRY=&TMP_IWB_TASK=DISPLAY
Best Regards,
Ran -
Query to group values with date
Dear all,
I have a table tdate with 13 columns with one column named trandate
with value like "11/07/2008 18:00:19"
NOw I want to retrieve values from the table like
select count(*) from trandate where where ttype = '081' and T_FILE like 'monT%';
I want to count the records for every month like
jan-2009 - 120 (120 is the number of records satifying the above condition and belong to the period jan 2009 (derived from trandate column)
feb-2009 - 150 (150 is the number of records satifying the above condition and belong to the period feb 2009 (derived from trandate column)
How can i rewrite the query
Thanks
Kai
Edited by: KaiS on Feb 1, 2011 4:23 AMSomething like this?
SELECT TO_CHAR(trandate,'mon-YYYY') AS trandate
, cnt
FROM
SELECT trandate
, COUNT(*) AS cnt
FROM trandate
WHERE ttype = '081'
AND t_file LIKE 'monT%'
GROUP BY trandate
ORDER BY 1
)If that doesn't work out then please post:
1. Oracle version (SELECT * FROM V$VERSION)
2. Sample data in the form of CREATE / INSERT statements.
3. Expected output
4. Explanation of expected output (A.K.A. "business logic")
5. Use \ tags for #2 and #3. See FAQ (Link on top right side) for details. -
Lookup from table, which has 1:N relation with Data package
Hi,
I have to look up for Sales Office, Sales district from 0Cust_Sales Masterdata, while loading data to 0FIAR_C03 (from 0FI_AR_4).
0FI_AR_4 has fields -
0Customer
10000
While 0CUST_SALES has
Customer Division DistrCh. SalesOff SalesDistr
10000 10 20 1000 120
10000 20 20 1500 121
Whenever I am looking up for Sales Office, Sales Distr, Division,Distr chn. It is loading ONLY FIRST RECORD.
I want to load both the records. I have written following code-
SELECT DIVISION
DISTR_CHAN
SALESORG
CUST_SALES
OBJVERS
SALES_DIST
SALES_OFF
INTO TABLE GT_REC_SET
FROM /BI0/MCUST_SALES
FOR ALL ENTRIES IN DATA_PACKAGE
WHERE CUST_SALES = DATA_PACKAGE-DEBITOR AND
OBJVERS = 'A'.
IF SY-SUBRC = 0.
SORT GT_REC_SET BY CUST_SALES.
ENDIF.
READ TABLE GT_REC_SET
WITH KEY CUST_SALES = COMM_STRUCTURE-DEBITOR
INTO GW_REC_SET
BINARY SEARCH.
IF SY-SUBRC = 0.
result value of the routine
RESULT = GW_REC_SET-DISTR_CHAN.
ENDIF.
Any solution will be a great help...." Read table with key" will return only first record.
You may have to "loop at ... where" .
And, even if you find two values, how are you going to set it? You have only one field RESULT, so the second will overwrite the first one.
To make one row into two in this case, this logic will have to be applied in the start routine. -
Lock screen and world clock show 24hr time, with date & time set to 12hr..
I gave my old iPhone 3GS to my wife after turning the 24hr time to off in in date & time settings but the lock screen and the world clock still display the 24hr time format (everything else is 12hr). I've tried rebooting, rebooting and leaving off for an extended time, switching 12/24 toggle back and forth in date & time settings, and deleting all locations in the world clock but the 24hr format stubbornly remains. The 24hr time confuses my wife so want times to display in the 12hr format.
I am having a similar problem with my iphone. i am in New Zeland, i have the date and time set correctly but in the world clock it is about 18 hours out. the wolrd clock for San Franciso agrees to my local time. i have tried different time zones and having the the automatic time setting on and off. i have also rebooted the iphone. any suggestions?
-
Creating "Control Combo Box " Relation with data block
Hi all dears
i am switching from C# to oracle developer for joining gulf net software house, i have a problem regarding master detail data
the senerio is
"List items" control Filled programatically as under shortly:-
rg_id := create_group_from_query('myrg', 'select dname a, dname b from dept');
populate_group(rg_id);
populate_list('mylist', rg_id);
using this i fill my combo box during new form instance trigger
i have created a datablock emp through wizard which can show 10 record.
now
Problem 1
i want to show records on form when user select any dept from combo box.
Problem 2
if i create group from query and in select statement is like this "select dname, dpetno from dept" the record group is created successfully but i am unable to populate_list due to different data type colums in record group how i will populate list so that List items Labels are department name and value is department no
Thanks in advance for persualHi dears all
I have solved this problem my self
1. select dept name form combo box and the data block shows the emp's of concern depat
solution
create a data block of emp table through wizard
create its table view and show 10 records
go to datablock i consider its name "emp" datablock properties
in Where clause condition specify deptno = : my_combo_box;
now go to combo box when item changed event
go_bolck("emp);
execute_query; -
Hi !
I need help (sorry for my english) :
my sql :
SELECT ligne,TO_CHAR(TO_DATE(DATE_VAL),'DD/MM/YYYY') DATE_VAL,COUNT(*)
FROM VALID, MIS, SERV
WHERE id_mis=id_mis_val AND id_serv=id_serv_vmis
AND DATE_VAL >= '04/06/2007' AND DATE_VAL < '06/06/2007'
AND LIGNE_VSERV = 923
GROUP BY date_val
the result :
900 04/06/2007 1
900 04/06/2007 2
900 04/06/2007 1
900 04/06/2007 1
900 04/06/2007 1
900 05/06/2007 1
WHY ?
I want the result like that :
900 04/06/2007 6
900 05/06/2007 1
How to make that ? please help!
Thanks a lotWhy not...?
SQL> create table t(c1 date,cnt number);
Table created.
SQL> insert into t
2 values(sysdate,10);
1 row created.
SQL> insert into t
2 values(sysdate,15);
1 row created.
SQL> insert into t
2 values(sysdate-12,15);
1 row created.
SQL> insert into t
2 values(sysdate-12,15);
1 row created.
SQL> select to_char(c1,'ddmmyyyy') c1,sum(cnt) sm
2 from t
3 group by to_char(c1,'ddmmyyyy');
C1 SM
02062007 30
14062007 25
Message was edited by:
jeneesh
Forgot to refresh... -
Problems with assigning user to Purchase Group
Hi all!
I'm trying to set-up standard workflow WS 20000397 - Handling invoices blocked due to price.
Somehow I left something out as nothing is sent to my inbox when a invoice is blocked.
It starts fine but it can't find and agent when I check the log.
I've created an org. structure with a company, that has one organizational unit under it.
To this I've assigned a position and thereafter a user to this with my user ID.
Then I've created an assignment in PFOM whera I assigned SO T024 001 (Purch. Group 1) to my newly created Position.
I have found Purch group 001 using F4 so no mispellings could be the case.
In the container I can see that it has found the correct purchasing group (001) with my created position (the S-code for the position is even shown as an agent in the container)
Any suggestions would be appreciated.
Regards,
//Roland
Edited by: Roland Persson-Aglert on Dec 4, 2008 5:03 PMHi!
I'll paste the message below, I although found out that I had checked wrong TS, so I checked TS20000661 in PFTC and is set to "General forwarding allowed".
No agents found for this task -> long text
Message no. WO590
Diagnosis
The system could not establish any agents for the task underlying this work item.
The key of the task is: TS20000661
The key of the work item is: 000000404120
System Response
The system cannot assign work item 000000404120 to any agents - the work item does not appear in anyone's Business Workplace.
Procedure
Assign possible agents to task TS20000661 or declare the task as a general task.
Refer to your workflow system administrator.
//Roland -
OUR IPOD SHUFFLE KEEPS TRYING TO SYNC WITH ITUNES. WE HAVE SEVERAL DEVICES ---2 IPOD SHUFFLES AND AN IPAD. THE PROBLEM STARTED WHEN WE WERE SETTING UP OUR NEW IPAD BEING ABLE TO SHARE MUSIC PURCHASED IN ITUNES WITH THE IPAD.
FOR THE POD'S WE WANT TO MANUALLY COPY PURCHASED SONGS FROM ITUNES TO OUR IPADS. WE HAVE TRIED EVERY MENU TRYING TO TURN OFF THE SYNCING FUNCTION BUT CAN'T. IT ONLY HAPPENS ON 1 OF OUR IPODS.
ITUNES ON MY DESK TOP SEES THE PROBLEM IPOD AND IMMEDIATELY TRIES TO SYNC AND AGAIN DOES THIS EVERY TIME YOU TRY TO COPY A SONG FROM THE DESK TOP TO THE IPOD.
WE VERIFIED THAT THE IPOD HAS THE LATEST S/W VERSION.
ANY HELP WOLD BE APPRECIATEDIt is - came over from a Droid (was a former 3G user)... forgot how smooth and seamless the iPhone experience was. The Droid was nice, and Android is interesting, but the iPhone is so much simpler and easy. I hacked the heck out of the Droid, and it's so nice to be back on a smooth, "just works" phone.
Anyway, thanks again. -
I cannot find purchasing group in Shopping cart item basic data in SRM 7.0
Hi experts,
We are using SRM 7.0 and stand alone scenario. When we are creating shopping cart, we cannot we cannot find the purchasing group field in item basic data. We have not changed any standard SC layout and I've already specified the responsibility of the purchachsing group. Now I have no idea why the purchasing group is not visible.
Can anybody help me on my issue? Many thanks.
HarryHi,
The values are getting populated in the include "LBBP_SC_UI_ITSF49"...
set orgdata
READ TABLE gs_sc-org WITH KEY p_guid = gs_scr_basic_i-guid
INTO wa_orgdata.
IF sy-subrc = 0.
gs_scr_basic_i-proc_group = wa_orgdata-proc_group_ot.
gs_scr_basic_i-proc_group+2(12) = wa_orgdata-proc_group_id.
gs_scr_basic_i-proc_org = wa_orgdata-proc_org_ot.
gs_scr_basic_i-proc_org+2(12) = wa_orgdata-proc_org_id .
read purch. group description
CLEAR wa_orgdata_i.
READ TABLE <item>-orgdata
WITH KEY proc_group-otype = wa_orgdata-proc_group_ot
proc_group-objid = wa_orgdata-proc_group_id
INTO wa_orgdata_i.
gs_scr_basic_i-proc_group_text = wa_orgdata_i-description.
ENDIF.
Here you can make the changes in the Order of the values.
BR,
Disha.
PLs reward points for helpful answers. -
Purchasing Groups deleted: Errors when processing related documents
Hi Gurus,
We are on SRM 7 and we are currently facing an issue when processing documents which Purchasing Groups have been deleted after thee procurement documents were created
In our case, when a PGroups is deleted and unassigned, an interfase from HR is raised and i the SRM PPOMA the Pgroup is not valid anymore and unassigned from the Purchasing Organization.
Once this happens, we face a blocking issue for all the documents created with Purchasing Groups that has been deleted.
These documents cannot be processed anymore and and error saying that Purchasing group is not assigned to purchasing organization... is raised.
Currently we are manually mantaining the validity of the Purchasing Group via PPOMA and transaction PP01. We put the validity to unlimited and the documents can be processed again.
Anyway we would like to avoid this manual update and to have a false information in te system where the PGroup will be shown as valid while it has been deleted in the past.
Could you please advise on the best solution on it?
Many Thanks in advance.
Best Regards,
ValentinoThank you both for your responses and my apologies on my delayed response.
I have this POA set to run the indexing continuously, so it's generating large logs.
From the log entries, it looks as if the indexing process repeats itself anywhere from 30 minutes to an hour.
I base this on when I see the log repeating the userxxx.db file names.
When I look at the information for my single post office, it shows 559 users, 126 resources and a total mailbox count of 565.
I'm not sure how that all works out.
To answer your questions, Laura:
The logs show the error in relation to 527 out of 559 userxxx.db files.
There are 181 userxxx.db and 24 files with names like pu3a0101.db that do not return an 8210 error. All of those files consistently show a zero count after the index process, e.g., Updating QuickFinder index: userxxx.db (0).
The error or lack of error is consistent. It occurs on the same 527 files and does not occur on the same 181 files every time.
The one clue I've found to the puxx0101.db files was a forum post from back in 2006, where Dave Parkes identifies them as being associated with shared folders.
To answer your question, Howard:
I have a fair number of users with large attachments and high item counts, but nowhere near what I'm am seeing the 8210 errors on. -
hi all,
how we create a purchasing group and what we have to define in purchasing group and also please tell me what is the relation between purchasing group and purchasing organization............Hello Vinil,
To create a purchase group pls follow the path:
In Display IMG -> MM -> Purchasing ->
Create purchase groups
click on it, and to create you have to go for New Entries
And give the details like (3 char sap code) name, contact information such as phone, extension no, fax, email, etc
Purchase group is a person or group of persons responsible for procurement activities such as dealing with vendors /suppliers for purchasing of different materials or services and also they do the followup with the vendor (once PO is released to the concerned vendor) to get the goods as per the delivery date to the plant.
And Purchase Organization is bunch of Purchase groups and Purchase manger will be heading to it. And the main responsiblity is to do Price Negotiations and finalization of the vendor and issue of PO to vendor all those things are handled by the Purchase organization.
Purchase groups are the part of Purchase organization. In a purchase organization you can have any number of purchase groups, like you can keep them product wise or material or service procurement wise, inorder to simplyfy the procurement process.
In SAP, if you speak, there is no direct relation between P.Groups and P.Org. Because P.Group is an Independent Entity which is No where assigned it in SAP. Whereas the plant is assigned to P.Org.
And also you can see the relation between these two is only at the time of creation of PO, where you can assign the P.Group and P.Org. in the Org.Data (i.e, Header Details of PO creation Screen: ME21N)
Hope it is clear,
Rewards, if it helps,
Regards,
Srin.K
Maybe you are looking for
-
Changing OSX Versions During HD Replacement
I currently have a late '06 Mini Mac (166 Ghz w/80 GIG HD) that has Tiger version 10.4.11 installed. I will be replacing the existing HD with a 750 GIG HD w/7200 RPM. I also wanted to upgrade to Snow Leopard somewhere in the process. Should I reinsta
-
I receive the following error when opening a Web Intelligence Document, no matter the user. Cannot initialize Report Engine server. (Error: RWI 00226) (Error: INF ) I also cannot
-
Picking List (EK00) need to print
Picking List (EK00) need to be print in advance 2 days from the loading date of the delivery. Please provide any suggestions to fix this issue. Thanks, Sunil S. Hirtot
-
My phone does not ring. I see someone is calling, but I get no sound and I can't talk to the person calling either. As well, my text msg does not sound either.
-
Hi Everyone! if anybody have the soft copy of TAW 10 & TAW 12 material for ABAP Certification. Plz send it to <b>[email protected]</b>. I am in great need of it. thanks in advance kishore.