Create bullling doc. based on sales office
Hi All,
I have one scenario like ,
we need to find out the T-Code which is creating the billing document based on sales office.
For example we dont want to create billing for sales office 4017.
This is running in background.
Thanks,
Amjad
Hi!
Have you tried VF06 transaction?
If it does not know it in standard, just copy the program RV60SBAT into a ZRV60SBAT, add your field to the selection screen, code it into the select and that's all.
Regards
Tamás
Message was edited by:
Tamás Nyisztor
Similar Messages
-
How to restrict the Report based on sales office
Hi Experts,
I am using BW 3.5. I have a requirement that my sales report should give output to particular user with his respective sales office only.
For Example :
User, Sales Office
A , Delhi
B, Mumbai
User A should not be able to see the data of Mumbai Sales office. As both the users using the same Report,
Please suggest How to achieve this.
Helpful answers will be awarded.
Thanks&Regards,
VenkatHi,
To do this, you need to make the infoObject Sales Office authorization relevant.
Create an authorization Object using the t-code RSSM for this InfoObject. Restrict it with Activity.
Create a role for each of the Sales Office and restrict your authorization variable with that office.
Now you have 2 roles for eg. One for Mumbai, other for Delhi. Assign them to respective users.
Create a authorization variable for Sales Office and restrict your report with that.
Use the below documentation for creation of Authorization Object.
http://help.sap.com/saphelp_nw04/helpdata/en/a0/48f438f3422f2ce10000000a114084/frameset.htm
Regards,
Gaurav
Edited by: Gaurav Kothari on Sep 18, 2009 11:04 AM -
Create Purchase Order based on Sales Order through DI
Hi All,
As per my requirment i need to create PO based on Sales Order by Using DI object.
By using the UI i am able to create a PO. i.e,. in the Sales Order Form , in logistic tab when the purchase check box is checked and when the SO is added there is a work around form poped up where we give the vendor information and create PO.
Code:
objPurchaseOrder = objSBOAPI.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseOrders)
objPurchaseOrder.CardCode = "V1010"
objPurchaseOrder.CardName = "Far East Imports"
objPurchaseOrder.DocDate = "02/24/05"
objPurchaseOrder.DocDueDate = "02/24/05"
objPurchaseOrder.Lines.BaseType = "17"
objPurchaseOrder.Lines.BaseLine = "0"
objPurchaseOrder.Lines.BaseEntry = "35"
objPurchaseOrder.Add()
Error Description : Base Doc Type donot match with target Doc type
PLease help me
Thanks and Regards
Sandeephi,
try removing the double quotes for basetype, baseline, baseentry.
if it doesn't solve the problem
make sure that you are assigning the docentry only but not the docnum of the sales order to the purchase order lines' baseentry.
rgds,laks. -
Create incoming payments, based on Sales Person code
Hi all,
is there any SAPB1 functionality to create incoming payments, for many Sales Invoices of different customers , based on a Sales Person code ?
Thank you,
Aris PantelatosHi Jitin and Gordon,
Thank you both for your replies.
Jitin, I need to create different incoming payments (one for every customer) based on a list of invoices with a specified Sales Person on them.
Do you know, if this is included on SAPB1 roadmap?
Aris
Edited by: Aris Pantelatos on Feb 8, 2012 4:04 PM -
Customers, Sales Orders Restrictions based on Sales Office and Sales Groups
hi all,
We have a typical scenario for one of our customers. They are SAP ERP, ECC 6.0.
They have sales employees/managers assigned to customers. In order to maintain the link between the sales employees and the customers, their earlier implementation partner followed the following method for the linkage.
Each sales employee and each sales managers are given a SAP User ID like 101, 012, 103 etc.. Sales groups OR Sales offices are also maintained with the same numbers/IDs. At the customer master level, each customer's sales group is given the sales employee ID (which is same as that of the sales group). The example is as follows.
Customer No. Sales Group Sales Office
CU1 101 108
CU2 101 108
CU3 102 108
CU4 103 109
CU5 104 110
The sales group names and the sales offices names are given the same names as that of the user IDs of the sales employees/sales managers. In the above example, the sales employee 101 (sales group 101) is assigned to customers CU1, CU2. The sales manager 108 (Sales office 108) is managing the sales employees 101 and 102.
Now the customer has some authorization issues. He wants us to provide authorizatinos in such a way that -
if the sales employee 101 logs on to the system he should be able to Display the CUSTOMERS and the Sales Orders (XD03, VD03, VA03) that are assinged only to him (In other words with the sales group 101) and similarly for other sales employees.
if the sales manager 108 logs on to the system he should be able to display the customers and the sales orders that are assigned to his sales employees (101, 102). In other words with the sales office as the manager's ID 108.
I tried to use the authorization object V_VBKA_VKO but this doesnt see to be serving the purpose as this object is not being checked at all in any of the above VA03, XD03 and VD03 transactions.
Similarly I did not find any other authorization object which makes use of Sales group field and Sales office field which also has a linkage to VA03, XD03 and VD03 transactions.
The customer is evaluating our contract with them based on this solution.
Any help is greatly and highly appreciate.
Thanks,
Niran.Hi,
Please use the following authorization objects for your purpose. For more details please go through the documentation of the objects:
V_KNA1_BRG Customer: Account Authorization for Sales Areas
V_KNA1_VKO Customer: Authorization for Sales Organizations
FYI: V_VBKA_VKO SD Sales Activities: Authoriz.for org.data and sales activ.type
contains the following Fields which are relavant to your query
VKORG Sales Organization
VTWEG Distribution Channel
SPART Division
VKBUR Sales Office
VKGRP Sales Group
KTAAR Sales Activity Type for Sales Support
ACTVT Activity
Regards,
Dipanjan -
How to create batch job based on sales organization?
I am Sending data using RFC function module, within a report program.
Now according to functional requirement I have to create two batch job scheduling scenarios:
1. Provide a batch job to be run towards month end (2X, 1X) to sent a delta record message using Report. This is scheduled on demand or requested on demand. Recommend 1 message per sales org.
Q: What does it mean by scheduled on demand or requested on demand?? Second thing is that like we have 10 sales org. and in variants for job scheduling we can assign only 1 at a time......how can i schedule per sales organization? do i need to create different job for each sales organization??
(2X, 1X) what is the meaning of this notation??
2. Create a new nightly batch job, run after daily billing batch, to send a delta records message of Report. Recommend 1 message per sales org.
Anyone please provide me some details on this issue.......
Regards
AnshulI am Sending data using RFC function module, within a report program.
Now according to functional requirement I have to create two batch job scheduling scenarios:
1. Provide a batch job to be run towards month end (2X, 1X) to sent a delta record message using Report. This is scheduled on demand or requested on demand. Recommend 1 message per sales org.
Q: What does it mean by scheduled on demand or requested on demand?? Second thing is that like we have 10 sales org. and in variants for job scheduling we can assign only 1 at a time......how can i schedule per sales organization? do i need to create different job for each sales organization??
(2X, 1X) what is the meaning of this notation??
2. Create a new nightly batch job, run after daily billing batch, to send a delta records message of Report. Recommend 1 message per sales org.
Anyone please provide me some details on this issue.......
Regards
Anshul -
How to Create Task Automatically based on Sales Stage?
If an Opportunity's Sales Stage is changed from 'X' to "Y',then I want to create the Task for an Agent automatically by the System.How can we achive it?Could you please elaborate steps that we need to this (If customisation,how ca we do it?)
Thanks in Advance
Raju.First U have to crate Extended View Object to your actual View obj.
Now take Page with Panel Splitter ,on First facet drag View obj as table and on second Facet Drag Extended View Obj as table.On page loading U have delete all rows from Extended View object.And then u have write bean code on button click to get current select rows from above view objct,and for Filter rows from Second View obj according to selection of rows from first view obj... -
Problem creating CR doc type for sales order
Hello Gurus:
I have been trying to use a bapi to create a sales order. So far I have tested
BAPI_SALESORDER_CREATEFROMDATA
BAPI_SALESORDER_CREATEFROMDAT1
BAPI_SALESORDER_CREATEFROMDAT2
All of them works fine with SO type, But I am trying to create credit request. And they all return with error message saying the doc_type is invalid or not allowed. So far I have only found a function module SD_Salesdocument_create. But is there any standard BAPI that currently calling this? To make my life a little easier!
Cheers _Hi
Check these BAPI's
BAPI_SALESDOCU_CREATEFROMDATA1
BAPI_SALESDOCU_CREATEWITHDIA
Regards
Anji -
Report for monthly sales(sales office wise,sales group wise,plant wise)
Please send the Report for monthly sales(sales office wise,sales group wise,plant wise) with T.CODE.,
Hi
As per my knowledge there is no Standard Report in SAP based on sales office, sales group. and plant.
You may create your own report using MC18,MC21 and MC24.... Otherwise ask your ABAPer's help...
Muthu -
Sales Office Master - Country, Region and Time Zone
Dear All,
In one of the Project, for some config-settings, I need to create Sales Offices. Here, Sales Offices is basically the Countries, to which business is happening.
For example,
Jordan
Mexico
Colombia
etc...
Now, while maintaining Sales Office records, System prompts for Sales Office Address. Initally, i maintained Country as per the Sales Office, for example:
For Sales Office Nepal, Country Nepal
For Sales Office Mexico, Country Mexico
etc...
Now, when i checked previously maintained entries in to System, I found that:
For Sales Office New Hampshire, Country India
For Sales Office California, Country India
etc...
When, I inquired about the same to concern Persons, within particular Organization, they are unable to explain, as these entries are maintained by Previous Implementation-Partner.
Can anyone explain, what entry needs to be maintained as Address - Country, Region and Time Zone, for International Offices? Is there particular logic for the same?
Best Reagrds,
AmitDear All,
Thanks for the Support, provided.
Let me explain, my scenario, in detail.
I am maintaining Profit Center, in Sales Order, based upon Substitution Rule.
For that, I have to maintain Profit Center, based upon Sales Area and Sales Office combination.
suppose, If my combination is:
1. if Sales Area is 10100107 and Sales Office is Colombia, then Profit center would be X
2. if Sales Area is 10100107 and Sales Office is Mongolia, then Profit center would be Y
Now, Important aspect is all Sales Organizations are maintained under Company Code ABC; and Company ABC is maintained under Country INDIA. Whereas, Sales Offices are both, Domestic, as well as International.
My queries are:
1. What effect has gone be made, if Sales Org is maintained under India and Sales Office, under some other country, in Sales Order?
2. Also, based upon Sales Office, System must pick the Transaction Currency, in Sales Order?
Best Regards,
Amit -
Sales office authorization check in customer master,Sale order and billing
Hello Experts
We need to restrict authorization for customer master, sale order and billing based on sales office.
Can somebody guide me how to activate this ? Has anyone of you have successfully done that?
Regards
kumarlibHello Kumar,
User authorization is within Basis expertise, but if you want to get some feel for what authorization objects are take a look at trans SUIM. But basically how it works is for a given transaction the level of check is specified -- in this case Sales Office. Based on values stored in that field the user is allowed or not allowed transaction access.
So you determine whatever the needed matrix is for authorization restriction (i.e. user A can access Sales Office xxx, user B can access Sales Office yyy & so on). Also give Basis the transaction codes to restrict, along w/the technical table/field for each (like from customer master - KNVV-VKBUR, from sales doc level VBAK-VKBUR). Basis sets up the authorization object w/assignments to the users accordingly.
This is standard SAP & your Basis support should be familiar with it. Good luck. -
Authorization restriction at Sales Office level
Dear Gurus,
I need to restrict the user for all the sales transactions on the Sales Office level.
I mean the specific user should be able to create a sales order for the customer who comes under the Sales Office assigned to the user. User should view the sales order and invoice list for a specific sales office in VA05, VF04 also this is VF05N.
I tried to add the sales office field in std authorization object V_VBAK_VKO and did it but after completion of consistency check also the user was able to create a sales order for a customer belongs to the sales office other than assigned one.
For me it is mandatory to restrict the transactions and reports of SD at sales office level.
Please tell me if there is any way complete this restriction. Or to restrict the user from viewing the sales documents which are not created by himself only.
Your suggestions are also welcome. please suggest me.
regards,
SanjayHi,
Check the below link, it might fix your issue.
Re: how to restrict the Report based on sales office
Br, Sats. -
Purchase order based on Sales order
Hi,
I try to create Purchase order based on Sales order.
The error message :
"Base document card and target document card do not match"
My code:
oPurOrder.Lines.BaseEntry=oSalesOrder.DocEntry
oPurOrder.Lines.BaseLine=oSalesOrder.Lines.Linenum
oPurOrder.Lines.BaseType=17
Could you help me please ?
Tks.
LaetitiaHi,
Looking at your code I will check how you fill the fields in the oPurOrder object because the code you copied is only for the document lines and the error refers to the document itself (maybe you forgot to assign the cardcode property).
If you are basing the document, a good and reliable method is to export the base to a xml file and load the target using this file. This way you garantee that all the info of the document is copied. After that you could use your code to update the info you want to change the same way you pasted it in your post.
Hope it helps,
-M -
CRM: PFCG Roles restricted based on Sales Organization
Hi,
I have a requirement in SAP CRM 7.0 to create roles restricted based on Sales Organization(locations). We have two Sales Organization XXX and YYY, for which users need to be restricted. I have used the following objects for this regard.
CRM_ORD_OP, CRM_ORD_LP, CRM_ORD_PR, CRM_ORD_OE, CRM_BP_SA
Every user has assigned a sales role in which the above objects are deactivated and separate roles with values to the objects, with respective Sales Org values for the objects CRM_ORD_OE, CRM_BP_SA been provided. I have assigned these roles to respective users (User A with XXX, User B with YYY) based on their sales org locations. These users are positioned in the Organizational Model (PPOMA_CRM) under their respective Sales groups as per the requirement for the object CRM_ORD_LP, and authorization to this object is restricted to A for CHECK_LEV (Your Own Sales Organization). We use * for the objects CRM_ORD_OP and CRM_ORD_PR, as we do not control these.
After restricting all these, we do not find that the result not appearing as we expect, that is, restricting the sales organization data. We need all accounts, all activities, all opportunities, all leads, all campaigns etc. should be restricted by Sales Org, but when we search for accounts, activities, opportunities, leads, campaigns, we get result list with all data without any restrictions. I even checked the following forum, http://forums.sdn.sap.com/thread.jspa?threadID=1579211, which talks about the same kind of issue, but as I have already using the same objects for the restriction, it didnt help me much. I tried deactivating object CRM_BP_SA as it is not discussed on the forum, also tried CHECK_LEV=A,B,C,D,E for object CRM_ORD_LP, but all results the same.
Additional Info: When tried to create a project, with user A who is authorized for XXX, normally it would pick up the Sales Area Data for the project from the user (meaning User A from the XXX Sales Org.), but I get an error message: Enter a sales org, enter a dist. channel and enter an org unit etc. Even when I search for leads, it displays a list of data, when I click on any, it issues the error message: Enter a sales org, enter a dist. channel and enter an org unit (Sales) etc
Is that we miss any object restriction that is not restricting these objects properly or is it any customization missing? Please advice.
Thanks in advance.
Regards,
Shahul Hameed M
BASIS ConsultantHi Shahul,
I have a similar requirement as of yours. I have maintained auth values, in role as below:
CRM_ORD_LP
03 ACTVT
A CHECK_LEV
* PR_TYPE
CRM_ORD_OE
03 ACTVT
11 DIS_CHANNE ( the user is assigned to this dstrbtion channel in org structure)
SALES_GROU
SALES_OFFI
SO1 SALES_ORG
SERVICE_OR ( the user is assigned to this sales org in org structure)
And, when I try to display the LEADs in CRM UI ...I still get the display of LEADs belonging to all sales orgs.
And my trace record for CRM_ORD_LP is....
CHECK_LEV ' blank '
PR_TYPE LEAD
ACTVT 03
that means, it is not considering the auth value ' A ' for auth field CHECK_LEV
Could you please let me know ...how you have achieved this restriction . Is there anything , i m missing here?
Thank You -
How to maintain a customer for one sales office
Dear All,
One customer was assigned to more than 1 sales office. Due to this collection report which customized based on sales office was showing wrong data. We need to maintain only one sales office for one customer.
If we change in master data all transactions done previously may change.So they ask to change in reference table and check the report.
Tell me where can we find the reference table. How to maintain like above.
Regards,
GaneshSo they ask to change in reference table
What do you mean by this ?? If you want to check what are all the changes made to a customer master, then check in XD04.
thanks
G. Lakshmipathi
Maybe you are looking for
-
Event 2000. hpsa_servi​ce.exe
HP Error ID: -2146233088 at HP.ActiveCheckLocalMode.SessionManager.ActiveCheckManager.InitRegItem() at HP.ActiveCheckLocalMode.SessionManager.ActiveCheckManager..ctor() at HP.SupportFramework.Service.ACLM.AssetAgent.ExecuteAssetAgent(Boole
-
How to run Profiler for Mobile Application on adevice.
I would like to see Performance issue for my mobile application. This application is using StageVideo object and StageVideo is unavailable in emulator. So, I would like to run Profiler in device. Could anyone please help me ways to run Profiler on de
-
Quicktime to iDVD - iDVD quits when making disk image
You folks helped me a hugely with the arduous process of producing a nice 45 minute iMovie->iDVD movie last year from my digi camera, which actually works (http://www.galfromdownunder.com/peru). Thank you! Last year I was flummoxed by misplaced chapt
-
Aperture 3 has once again thrown me a curve. I deleted about 4000 files from a couple of big projects this morning, That is I highlighted the images I wanted gone and selected "delete master and all versions", which reside on a external drive (my lib
-
Why cant i append objects to a file
i'm amazed that i cannot append objects to a file as i did earlier in c++ it gives StreamCorrupt error