BP Id of Pur Group
Hi all,
I have a Pur. Grp in org str. for which i didnot see the BP id.Other P. grp have that.What may be the reason and also what will be its implication.
What is the use of a BP id.
Do we assign more than one Pur. Group to a single user.
IS
Hi
Add all address data including mail , phone .fax. incomplete data will not create a BP in org structure.
br
muthu
Similar Messages
-
Mail to be send for every new pur group
Hi ,
I have to send mail to recipients of the purchase grp ekgrp..
right now im able to send mail to all purchase orders of the pur.group, individually.
but my requirement demands that
the mail has to triggered for every new pur.group, all the pur orders wthin that group has to come in the mail body of that purchase group.
now actually one loop is already running, plz avoid nested loops.. and help me out asap.
I give you the following code .
all respective data declared above.
FORM form_send_mail .
SELECT ekgrp smtp_addr FROM zmmtr_ekko INTO TABLE it_zmmtr_ekko.
SORT it_final by ekgrp.
LOOP AT it_final." into wa_final.
CLEAR: wa_objtxt,wa_reclist,wa_doc_chng,wa_objpack,g_tab_lines.
REFRESH:it_objtxt,it_reclist,it_objpack.
Mail Subject
wa_doc_chng-obj_descr = c_subject.
*Mail sensitivity
wa_doc_chng-sensitivty = c_p.
*Fetching employee name
READ TABLE it_zmmtr_ekko WITH KEY ekgrp = it_final-ekgrp.
IF sy-subrc = 0.
g_email = it_zmmtr_ekko-smtp_addr.
ELSE.
CONCATENATE c_message it_final-ekgrp INTO g_message SEPARATED BY space.
WRITE: g_message.
CONTINUE.
ENDIF.
MOVE c_hi TO wa_objtxt.
APPEND wa_objtxt TO it_objtxt.
CLEAR wa_objtxt.
APPEND wa_objtxt TO it_objtxt.
CONCATENATE c_po it_final-ebeln INTO wa_objtxt SEPARATED BY space.
APPEND wa_objtxt TO it_objtxt.
CLEAR wa_objtxt.
APPEND wa_objtxt TO it_objtxt.
DESCRIBE TABLE it_objtxt[] LINES g_tab_lines.
READ TABLE it_objtxt into wa_objtxt index g_tab_lines."INTO wa_objtxt INDEX 1."g_tab_lines.
wa_doc_chng-obj_langu = c_en.
*Size of message body
wa_doc_chng-doc_size = ( g_tab_lines - 1 ) * 255 + STRLEN( wa_objtxt ).
*Creation of the entry for the compressed document
CLEAR wa_objpack-transf_bin.
wa_objpack-head_start = 1.
wa_objpack-head_num = 0.
wa_objpack-body_start = 1.
wa_objpack-body_num = g_tab_lines.
wa_objpack-doc_type = c_raw.
APPEND wa_objpack TO it_objpack.
*Completing the recipient list
*target recipent
REFRESH: it_reclist.
CLEAR: wa_reclist.
wa_reclist-receiver = g_email.
wa_reclist-rec_type = c_u.
APPEND wa_reclist TO it_reclist.
AT NEW ekgrp.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = wa_doc_chng
put_in_outbox = c_x
commit_work = c_x
IMPORTING
sent_to_all = g_sent_to_all
TABLES
packing_list = it_objpack
contents_txt = it_objtxt
receivers = it_reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
ENDAT.
CASE sy-subrc.
WHEN 0.
WRITE: / c_mail ,g_email,c_mail0,it_final-ekgrp, it_final-ebeln, it_final-lifnr.
SKIP 1.
WHEN 1.
WRITE: / c_mail1."chk mail content and do it..
SKIP 1.
WHEN 2.
WRITE: / c_mail2.
SKIP 1.
WHEN 3.
WRITE: / c_mail3.
SKIP 1.
WHEN OTHERS.
WRITE: / c_mail4.
SKIP 1.
ENDCASE.
ENDLOOP.
WRITE: / c_mail5.
SKIP 1.
ENDFORM. " FORM
Rgds,The newly created database should automatically get picked up the maintenance plan.
http://sqlmag.com/sql-server/inside-database-maintenance-plans
No need to manually update the plan. I feel you need to have valid full backup for its successive Diff or Transaction log backup.
Are you getting any error in the job history?
-Prashanth -
Change the purchasing group of shopping cart created in SRM from PR in ECC
Dear All,
When a PR is created in ECC and transferred to SRM using program BBP_EXTREQ_TRANSFER, the purchasing group does not get assigned correctly in the SC created in SRM.
I tried implementing Badi BBP_BADI_EXTREQ_OUT to resolve the same.
But it is not working.
I've passed the value 'O' to the field PROC_GROUP_OT and the puchasing group value to the field PROC_GROUP_ID of the parameter ORG_IMP. But I'm not sure wat value has to be passed to the field PARENT_GUID of the same parameter and tried passing the PR number once and the item number once to it.
But none of it is found to be giving the expected results.
The purchasing group found in the SC in SRM is different from that given in the PR in ECC.
The code that i've written in the Badi implementation is as follows.
move transtab_imp to ls_transtab.
ls_org_imp-PROC_GROUP_OT = 'O'.
ls_org_imp-proc_group_id = ls_transtab-eban-ekgrp.
read table item_imp into ls_item_imp with key item_number = ls_transtab-eban-bnfpo.
if sy-subrc = 0.
ls_org_imp-parent_guid = ls_item_imp-item_guid.
endif.
APPEND ls_org_imp to org_imp.
Can anyone help me to resolve the issue??
Thanks,
KayalHi kayal,
See the foll threads for sample code/solution:
Re: BAdI to change pur group
Re: Changing P Grp in shopping cart item
BR,
Disha.
<b>Pls reward points for useful answers.</b> -
PO release strategy based on Material Group (CEKKO - MAKTL)
Hi Experts,
I have configure the Rel strategy based CEKKO-MATKL (material group) for purchase order, but when i raise the PO Rel strategy is not affecting, Can any body tell me why.
Regards,
KumarYou can set Release strategy based on Material group & other Line item specific fields..
You better follow a suitable and hinder less process..
For PR use Material group & Account Assignment based Release process..
then for PO use a Release Process based on Header level fields like Doc type, Amount, pur Group etc..
So that the approved PR line can be converted into PR and then the PO also subjected to Release before sending it to External Vendor..
Even if you want you can make that the PO can not be created without referencing PR for SOme users or All users..
based on your business requirement.. -
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 -
Output Devices for Purchasing Groups
Dear Friends/Gurus
Please help me out on this issue
We Configure Output Devices for Purchasing Groups in
SPRO the path is
SPRO-IMG-MM-Purchasing-Messages-Assign Output
Devices for Purchasing Groups. I would like to know what is
the Exact Usage of this Function.
If we Assign a Output Device (Printer) to a P Group and
create a PO using the same P Group, Do we get it any
where?Hi
Yes, u r right !.
Once u configure the Printer determination for Pur group. u can take the print at the required location
anand -
Automatic update of material master purchasing group
Dear.
Does exist a chance in order to update the purchasing group of material master from pur.group of info record or from pur. group of the last purchase order ?
I want to avoid a manual update of material master.
Thanks.Hi,
use proper BADI for your customised requirement -
for selecting proper BADI -
1.select T-code in command line SE18
2.go for F4 help, now on search screen PRESS the SAP Applications Button
3.Now u can go to related module node then related field there you will get related BADI's .
for example for purchasing go for -. MM-PUR inside MM
you can also use se18 for new technique of using enhancements framework.
please take help of code experts for the same.i will prefer BADI over exits becuse BADI will reflect in all the coming version of SAP also.
let me know if you need futher help for the same.
Regards,
Rajeev -
Product category + Purchasing group mapping
Hello all,
I am looking for a way of finding how each product category is mapped to different purchasing groups. I have the GL acct to Prod category mapping already, but nothing which would give me the purchasing group.
Any help on this would be greatly appreciated.
Note: I currently cannot run FMs in the PROD system, but if thats the way, then so be it.Hi,
In the Organization structure ( pposa_bbp) pruchasing group org.unit check the Responibility tab
Product category responsibility & Organizationl responsibility..
Here we can assign product categories to the pur.group.
Thanks
prasad.s -
Authorization Object for Purchase Group while GRN
HI all,
We wanted to restrict the specific users from doing GRN with ML81N & MIGO_GR against specific Purchase Group. Which authorization object can be used to restrict the user from processing others Pur. groups for which he is not authorised.
Is there any std. object available, if not then what I need to do while creation of customized authorization object (in SU21), how system will call this authorization object in MIGO & ML81N. more detailed answers will be more useful.
Thanks...closed...
-
Search help for purchase group in redistribute workload
HI:
I want to redistribute SC to other purchase group, when I logon on the SRM with language ZH, the search help for pur group does not work, but if I logon on with EN,everything is fine.
could anyone tell me why?
Message was edited by:
hong panHi Arun,
I didn't find Purchase order field in selection-screen of MB51. Please check from your end and let us know exact problem.
Regards,
Shravan Kumar N -
Purchasing group O 50000018 is not assigned to purchasing organization O 50
HI:
We use plan-driven prcurement to transfer pr from R/3 to SRM.For the first time we transferred this PR,everything is OK.but when I modified this PR and transferred it again. it was blocked in smq1.
there a errror message exists in slg1 in srm.
Purchasing group O 50000018 is not assigned to purchasing organization O 50000019
System of purchasing organization O 50000019 and purchasing group O 50000018 differ
O 50000018 is a local pur group while O 50000019 is a pur org from R/3.
hope someone can help me.TKS
Message was edited by:
hong panHi Hong,
The error shows that the P.Group (50000018) is not responsible for P.Org (50000019).
It shows the P.Group (5/18) is a local P.Group and is not linked to the back end (R/3) P.Group. You can check this in the Function tab of the P.Group. Also in the responsibility tab of the P.Group you should mention the responsible P.Org (Org. I.D).
After checking these settings and making the necessary changes try to create and transfer the P.R. Also ensure the queues should be clear before transferring the P.R to SRM.
Let me know the outcome for further help.
Any Claraifications are welcome.
Awad points for suitable answers.
Rgds,
Teja -
Change Default purchasing group in requisition
Hi,
I have a purhcasing group X populated from info record while creating the requisitions using ME51N.
When i try to overwrite the default purchasing group with new purchasing group, systme does not allow.
System doesnot allow to change the default purcasing group.
How can i get rid of this ??I do not get any error . If in place of original purchasing group (which is defaulted from Info record) , i write new purchasing group then while saving system again changes it back to the original purchasing group.
I should be able to change the pur. group as i want. But system doens't allow that.
What can be the reason ?? -
Local purchasing group in the creation of a shopping cart
Hello everybody,
I'm working on SRM about shopping carts. When I create a shopping cart, the purchasing group is a local group, and no purchasing organisation is available. In fact, I want to be able to modify these elements and specially I want the values corresponding to the elements of the enterprise structure (PPOMA).
Could you help me please?
PS: the organisational elements correspond to the elements of the enterprise structure when I create a purchase orderhi,
See the solution in the foll thread:
Re: Changing P Grp in shopping cart item
Re: BAdI to change pur group
BR,
Disha.
<b>Pls reward points for useful answers.</b> -
Purchasing Group in external requirement
Hi experts
I Have a business requirement that the purchasing group assigned in external requirement must be backend and not SRM purchasing group, when we use BBP_PGRP_ASSIGN_BADI or BBP_PGRP_FIND the purchasing group assigned the first the exists in SRM, how can I find the purchasing group that was assigned in Purchase requisition in backend ?
Thanks
NilsonHi,
When you transfer the PR from R/3 to SRM,by default,the Porg and Pgrp values in SC are those corresponsing to the Local Porg /Pgrp defined in the entry channel in SRM org structure.
If you need to set thecorrect values for the Porg /Pgrp for the user(as defined in SRM org structure),then implemnet the BADI "BBP_DOC_CHNAGE_BADI".Within the BADi,you can always get the PR no in the item table i.e.it_item-ext_demid will have the PR no.Then make an RFC call to R/3 to get the PR deatils like Pgrp etc.
See the foll threads for more details/sample code:
Re: BAdI to change pur group
Re: Re-assignment of Purchasing Group causing shopping cart error.
Re: How can we change the purchasing group which it is maintained in R/3?
BR,
Disha. -
SRM - Need to create purchasing group in SRM by a program.
Hello,
I have a requirement which is to retrieve all the backend purchasing groups and compare them with the existing SRM system.If Purchasing group is NOT PRESENT then with the data available from BACKEND i.e. Purchasing group id, Pur. group name, Upper Org unit the Pur group needs to be created in SRM.
I request you to please provide some ideas for this as no standard FM is present for Pur group creation.
Thanks to all.Dear Poster,
As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
Best Regards,
SDN SRM Moderation Team
Maybe you are looking for
-
Why is the organiser in Family Sharing forced to pay for Adults' purchases?
Family sharing is an awesome tool, but marred by the inability to elect if adults in the group use the organiser's or their own payment methods. Please fix this and allow us to select who we allow. They should also be able to choose!
-
How to add checkboxes to frame
So I have two classes in my package. I am having trouble adding the checkbox group to my frame. I got it to add to my applet but I can not figure out how to add it to my frame. Here is what I have so far. When I run this program it puts the checkboxe
-
Hello, I have just installed my license for Mac OS v 10.6.3 and installed updates including security updates. I have a licence for Lion that is sitting on Apples computer somewhere. How do I access my account and install Lion on my machine? Beyond th
-
Verizon screw up for over a year
In July 2012 Verizon switched my account to Verizon Fios with TV and internet. I never requested verizon internet/tv. I have only ever had a home phone thruogh Verizon. Verizon billed me July 2012 thru Nov 2012 for services I did not have. They ackno
-
How do I delete a block of text on my IPad. For example, when I want to forward an email & want to delete the previous sender's info.