How to deselect Multi Company when creating Profit center
Hi Experts,
We are working on MDG 7 FP2 with MDGF.
When we create a new profit center all 182 Company codes are automatically selected with the postable indicator. Initially the company codes are not available but when we select the check buton all company codes are pulled in and already selected.
Thus now we have to deselect each company code individually to ensure only the correct Company codes where it should post to are selected.
How do we deselect all and only select the applicable ones?
Thanks
Riaan
Hi Riaan,
this feature has been implemented due to feedback from various customers. The requirement was that all company codes that are assigned to the chosen controlling area are selected automatically. This is indeed a change of the UI behavior compared to older MDG-F releases, but as mentioned, this has been a strong requirement.
In addition, it is not valid to deselect all company codes since it is required to select at least a single entry. Therefore we do not offer a "deselect all" function.
The logic is implemented in class CL_MDGF_GUIBB_PCTR in method HANDLE_COMP_CODE_ASSIGNMTS. Of course you could change the behavior by implementing a new feeder class and redefining the method, but I would not recommend the same.
Best regards
Michael
Similar Messages
-
Profit Center Mandatory when creating Cost Center
Hi,
How do we make Profit Center Mandatory when creating Cost Center, I remember doing this and cannot recollect as to how i did this in a previous version 4.0b.
Pls advise how to do the same in ECC 5.0 and higher..
Thanks,
PraveenDear Praveen ,
First u will creat PCA then u will acitvit .
while creating cost center u have to give profit cnenter accounting .
ur not enter pca aacoutno then it will give the error message account is activted but profit cneter account not given
Regards
Suresh -
How to register the recipient when create job by function
I am now use JOB_OPEN , JOB_SUBMIT and JOB_CLOSE to create a job in the program. And need to post the result of the report to the person by email.
Can you tell me how to register the recipient when create the job.
( in sm36, it is easily to do but how to do in coding? )
regards,
slamHi
I think in Back ground using the above fun modules you can't send a mail to the receipient.
see the use of the above fun modules;
IF p_bjob = 'X'.
CONCATENATE sy-cprog sy-datum sy-uzeit
INTO jobname SEPARATED BY '_'.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = jobname
IMPORTING
jobcount = jobcount
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
IMPORTING
out_archive_parameters = arc_params
out_parameters = print_params
valid = valid
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
IF valid = chk.
SUBMIT ybrep
WITH < sel Screen>
AND RETURN
USER sy-uname
VIA JOB jobname
NUMBER jobcount
TO SAP-SPOOL
SPOOL PARAMETERS print_params
ARCHIVE PARAMETERS arc_params
WITHOUT SPOOL DYNPRO.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = jobcount
jobname = jobname
strtimmed = 'X'
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
invalid_target = 8
OTHERS = 9.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
MESSAGE i029 WITH jobname.
ENDIF.
ELSE.
MESSAGE s000 WITH text-003.
STOP.
ENDIF.
ENDIF.
Reward points if useful
Regards
Anji -
How to add multiple table when creating add on using b1de
Hi all,
Plz help me
How to add multiple table when creating add on using b1de.
ThanksHi dns_sap,
Can you explain a little better what you are trying to accomplish? Is it to create UserTables and UserFields in the database, when the addon runs the first time?
If so, you can use the following code
Add User Table
Try
Dim lRetCode As Long
Dim oUDT As SAPbobsCOM.UserTablesMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserTables)
oUDT.TableName = TableName
oUDT.TableDescription = TableDescription
oUDT.TableType = TableType
lRetCode = oUDT.Add
'// Check for error when adding the Table: if lRetCode = 0 the table was created; if lRetCode = -2035 the table already exisits
If lRetCode <> 0 Then
oApplication.MessageBox("Error: " & lRetCode.ToString & ", " & oCompany.GetLastErrorDescription)
End If
Catch ex As Exception
oApplication.MessageBox(oCompany.GetLastErrorDescription)
Finally
System.Runtime.InteropServices.Marshal.ReleaseComObject(oUDT)
oUDT = Nothing
lRetCode = Nothing
GC.Collect()
End Try
Add User Field
Try
Dim lRetCode As Long
Dim oUDF As SAPbobsCOM.UserFieldsMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
oUDF.TableName = TableName
oUDF.Name = FieldName
oUDF.Description = FieldDescription
oUDF.Type = FieldType
lRetCode = oUDF.Add
'// Check for error when adding the field: if lRetCode = 0 the field was created; if lRetCode = -2035, the field already exists
If lRetCode <> 0 Then
oApplication.MessageBox("Error: " & oCompany.GetLastErrorCode & ", " & oCompany.GetLastErrorDescription)
End If
Catch ex As Exception
oApplication.MessageBox(oCompany.GetLastErrorDescription)
Finally
System.Runtime.InteropServices.Marshal.ReleaseComObject(oUDF)
oUDF = Nothing
lRetCode = Nothing
GC.Collect()
End Try
Regards,
Vítor Vieira -
How to deselect the text when I start the program?
how to deselect the text when I start the program?
photo:wants the blue background could not be seen:
Code Form:
Public Class Form2
Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If ComboBox1.SelectedItem = "The Sims 4" Then
Form3.Show()
Else
End If
If ComboBox1.SelectedItem = "The Sims 3" Then
Form4.Show()
Else
End If
End Sub
End Class
There's a lot wrong with all of that.
I'm sorry that I won't be able to help...
Still lost in code, just at a little higher level. -
Problems in creating Profit Center : Message KM019
Hi All,
Please suggest the tcode for viewing the sap messages.
I am creating profit center but system shows an error while assigning it profit center group. System shows an error that this profit center group cannot be assigned. I tried to assign another profit center group to the same profit center, but then also i receive the same reply.
Then i tried to make a new profit center & assign another group then also systems the same error with the message no. KMO19 or KM019
Please let me know where i am doing mistake due to which system shows me this error, so that i can rectify the same.
There is a sap tcode where we can see message details which we receive when shows an error. That tcode shows the detail of that messages, which will help to solve the problem there & that. Or please let me know how should I correct it.
Thanks & Best Regards,Thank you very much Pradeep and Ley for your replies. By typing KCH3 I can see the Profit center group. But by typing KCH6N, it says you have not created the profit center hierarchy for my company code. While creating Profit Center it says that it can't take the Profit Center Group. And the error message is KM019. The message has no details attached to it. I am stuck over here and because of this error, I am not able to movie forward.
I would really appreciate If you could please guide me.
Thank you so much.
Edited by: mohitg7 on Feb 10, 2010 3:24 PM -
Company code and Profit center is not mandatory
Hi,
My requirement is that i wish to make the company code and profit center is not mandatory., ie greyed out. This i want while creating the project. I have assigned the controlling area in the project profile. but when i save the project i am getting the error as " Enter the company code". I made changes in field selction for project definition screen group - both company code and profit center are in display mode. This i did it with regard to Project profile. In project builder screen it is greyed out. but asking for company code.
Is it possible to make it for both? When i tried with Profit center alone, i am not getting any error. Whether company code is mandatory while creating project or anyway can we avoid company code?
Please throw your views
Thanks
SankarHi,
You can try in the following way:
SPRO->Project System->Structures->Operative Structures->WorkBreakdown Structures->UserInterface Settings->
Define Field Selection for WBS:
Step1: Double CLick on "Field Selection: Project Definition"
Step2:Click on "Influencing" button on the Application Tool bar.
Step3:Double click on "Project Profile" line Item
Step4:Against to Contents field- choose the relevent Project Profile (F4 search option) and then enter.
Step5:Now here try to choose Company Code Fieled and make it as "Hide"
Profit Ceneter Field and make it as "Hide".
Step6: Save the changes.
Step7:Check with your Project.
And Pl. let me know the result.
Vemula -
Segment field missing while creating profit center master data in SAP ECC6.
Hi,
I am working on ECC6.0 IDES. When I create profit center master I dont see the field for Segment on the profit center master.
Is there any setting which needs to be activated to see the the field for Segment on profit center master.
Regards,
RaghavHI Raghavendra,
Check if the segmentation scenario is available for general ledger at the following path
Financial Accounting (New)>Ledgers> Fields > Customer Fields > Display Scenarios for General Ledger Accounting
Regards
Sach!n
Edited by: Sachin Bhutani on Mar 26, 2009 11:23 AM -
How can we settle price diff. in profit center valuation to COGS acc?
Dear All,
We have activated multiple valuations/transfer prices.
We do perform cross company code material sale. We have assigned each profit center at company code level.
We have set transfer price variant in t.code 8kez and have customized accounts in Controlling-Profit Center Accounting-Transfer Prices-Settings for Internal Goods Movements -Define Account Determination for Internal Goods Movements.
We had got posting logic described in http://help.sap.com/erp2005_ehp_05/helpdata/en/eb/13811243c411d1896f0000e8322d00/frameset.htm
Now after actual costing run price differences in profit center valuation were not transferred to next level as we expected.
They have stayed as not distributed at sender (company code) profit center level.
How can we distribute price differences in profit center valuation to COGS account of sender profit center defined due to
http://help.sap.com/erp2005_ehp_05/helpdata/en/eb/13811243c411d1896f0000e8322d00/frameset.htm?
With best regards,
Kamila.
Edited by: Kamilana Zhakenova on Dec 25, 2011 10:56 AMDear Gurus,
There is an addition to post above.
Transfer price was defined in SD module in Sales and Distribution-Basic Functions-Pricing-Pricing Control-Define Condition Types.
Now it is taken during cross company code sale from scheduling agreement and invoice.
(Please, do not take into account that we have customized transfer prices in 8kez)
But the issue is price differences in profit center valuation settlement.
They do settle to the next level for receiver company code like in group valuation.
We need to settle them to COGS account at company code sender side.
How we can do that?
With best regards,
Kamila.
Edited by: Kamilana Zhakenova on Dec 26, 2011 11:37 AM -
How can i create profit center. Is there any tcode to create profit center.
Hi,
Enter the transaction code : KE51,
we can give the u r profit center ( As s per Business requirement)
and enter
enter the profit center name: long text, Analysis period:
Person resposible:
we can enter the Profit center group
after that we can activate the profit center ( left hand side Status button)
madhu -
Authorization object for company code and profit center together
Hi all,
Please help me with the following requirement..
Company Code = ABCD
Profit Center = *
The user is authorized to run the report for company code ABCD only but any profit center within this company code.
2 Company Code = *
Profit Center = WXYZ
The user is authorized to run the report for Profit Center WXYZ only but any company code.
3 Company Code = *
Profit Center = *
The user is authorized to run the report for any company code and profit center.
The same user could have 1 and 2. So, in this case he should be able to run a report for the total inventory of company code ABCD, and a report for total inventory of profit center WXYZ only regardless company code.
He should not have visibility to other company codes inventory other then profit center WXYZ.
Regards,
RajHi ,
Anyone please help me..
Regards,
Raj -
BAPI to create Profit Center Budget
Hi friends,
Can anyone help me out with a BAPI /FM to create Profit Center Budget in FI& CO module.
Thanks in advance.Hi,
I think there are no suitable BAPIs for this. You may try the BDC method for this. -
Should I create profit center for non-profit department?
Dear Experts,
Should I create profit center for non-profit department since I have cost-center for them (since I need to assgn the profit center in each cost center)?
regards,
AbrahamDear Abraham,
You are saying that there is no Profit Generation in department. Then which Profit Center will handle the costs for this department. There should be a responsible Profit Center for this. Pl Check with your client.
I'll give you one example:
Basically Warehouse doesn't have revenue. But they have cost centers. All cost are beared by Head Office. In this situation.
Cost Center belongs to Warehouse will maintained by Head Office Profit Center..
Regards,
Balaji Bhonsle -
How To Add Additional Fields When Creating New Contact From w/in Mac Mail?
Hi there. When in Mac Mail and clicking on contact information provided within an email, we are able to either (1) CREATE NEW CONTACT or (2) ADD TO EXISTING CONTACT (by clicking on the arrow next to a phone number, address, etc.). If I choose "Create New Contact," how can I add additional fields BEFORE clicking on "Add to Address Book" button in lower right corner? Let's say, for example, I know this new contacts URL or company. (Currently, I am creating the new contact from within Mac Mail and then going to Address Book and finding the contact, then editing, the adding the additional fields, then saving, and then going back to Mac Mail. This all takes time.)
Note: When creating a new iCal event from within Mac Mail, we can click on Option/Alt key when selecting drop-down arrow...and this will allow us to add additional information. The same feature isn't available for address book???I have the exact same question and problem. If there was a way to automatically open the AB entry after "creating new contact" this would solve it.
Thanks for any suggestion -
How to create profit center in SAP Retail-IS
How to create new profit center in SAP retial?
please give me complete steps for create new profit center.
thnax in advanceTry this for A/R Invoice:
if @object_type = N'13' and @transaction_type in (N'A', N'U')
BEGIN
If exists (Select T0.DocEntry From INV1 T0
Where T0.DocEntry=@list_of_cols_val_tab_del and T0.Project
in ('P1', 'P2'))
Begin
Set @error = 13
Set @error_message = 'Project Code inactive!'
End
END
Maybe you are looking for
-
Concurrent access to portal web service
We have developed a Portal Web Service, which has Web methods that return array of Objects. The Web methods uses ArrayList as DataStructure. When we try to access the Web Service concurrently, we get incorrect data (unpredictable) for the same Web me
-
Importing To Formatted Computor
Hi I had To Do An Emergency Reformat On My computer, how can i get the files from my ipod back into my Itunes, when i go into my ipod there is no music folder to copy even tho the music is still on my ipod, please help
-
Purchase Order and Checkout Error
I cannot seem to purchase the Adobe Acrobat Pro XI (South Africa) Each time I click on checkout it gives me an error saying that the website is experiencing an error and I should dial an international number or visit adobe.com Please help?
-
Issue in displaying box in multiple pages of scripts
Hi all, In my requirement i am getting the output in multiple pages . I am using ' BOX FRAME 30 TW' for getting the box .This box is getting only in first page but is not displaying in multiple pages. how can i achieve this? waiting for u r replies.
-
Take out initial screen of Factsheet
Hi experts, Is there a way we can take out the initial screen of the factsheet which asks you for the user and password. We don't need it, and it is annoying for the user, each time he enter the Factsheet in the IC Win Client. Best Regards, TPT