Determination of country based on Sales Org
Hi Friends,
I have sales Organization , I need to determine the country (Land1 field )
, which table I need to check to that,
Is there any direct relationship to get this or please provide the path forward to get this.
Cheers
Prashant
parameters : p_vkorg like tvko-vkorg.
data : v_vkorg like vbak-vkorg.
data: v_bukrs like ekpo-bukrs.
data: v_land1 like kna1-land1.
select single vkorg bukrs into (v_vkorg , v_bukrs)
from tvko where
vkorg = p_vkorg.
if sy-subrc eq 0.
write:/ v_vkorg, v_bukrs.
else.
write:/ 'Invalid sales org'.
endif.
select single land1 into v_land1 from t001 where bukrs = v_bukrs.
write:/ 'Country', v_land1.
check this ..
regards,
vijay.
Similar Messages
-
Country Based on Sales Org?
Hi,
Any one can tell me the TABLE Relations/FM to get the Country based on the Sales Organisation?
Thanks,
Sekhar.JPlease use tables TVKO and ADRC to link address number field for the sales organization in question.
-
Departure country population in Customer Master based on Sales Org/dist chn
Hi Experts,
When I am creating sales view for a customer, under the Billing Documents tab under Taxes I see the Departure country (country from which the goods are sent) is populated by SAP automatically and only Tax classification for customer
field is open for input.
For different sales org / distribution channel combination some times there are two Departure country populated and some times it is three and some times it is five.
Can you please help me to find out based on which configuration in SAP , the Departure country is populated for each sales org/ distribution channel combination.
Thanks in advance.
Soumya.Dear Wish,
As per my knowladge it is not possible to make custm fields based on sales org.better u convence your client and go with customer account group.
Can u please explain under wich scenario this requiemt is required.
Regards,
Caprin........ -
Getlist bapi for customer based on sales org, distbtn chnl
Hi,
Is there any standard BAPI for customer Getlist , i want to filter based on distribution chanel and sales org and divison.
Now am using BAPI_CUSTOMER_GETLIST its showing all customer list i want to filter this based on distribution chanel and sales org and divison.
Thanks ,
ArunHi Siva : )
In VK11 we have a key combination radio button called Country/ Destination Ctr./Plant/TaxClCust/TaxClMat.
I think it might be a custom key combination (so you might have to create a siliar one for yourself), but basically all I had to enter there was Country = GB, Destination Coutry = GB, plant SORG1 (it's called the same as the sales org and is linked 1-1), tax classification on Customer = 2 (because I want the central setting on the customer to be 2 = ICO, no tax), tax classification on material 1 = full tax goods and enter relevat tax code.
Hope this helps.
It worked for me.
Kind regards,
Tanja -
Require to Find the Country Based on SALES ARea.
Hi,
Any one can tell me the TABLE Relations/FM to get the Country based on the Sales Organisation?
Thanks,
Sekhar.JHi .,
Please get the company code from TVKO Based on Sales Organization,
After that Go to T001 table and get the country based on Company Code,
Regards
Jana -
Authorisations based on Sales Orgs in crm 2007 Web Client
I have a requirement to restrict the visibility of data (both masterdata and transactional data) based on a specific sales org. For a specific business role i need to restrict visibility for our account managers utilising the web client application to business partners from a specific sales org and also fortransactionsal data from the sames sales org.
I have been using the following authorisation objects to effect this but with limited success:
CRM_ORD_OP
CRM_ORD_LP
CRM_ORD_PR
CRM_ORD_OE
Whilst i can restrict users from viewing some of the specific data 9based on sales org), the transactional data and indeed customer master data still appears on the web client searches. What needs to happen to ensure that the data does not even appear in the relevant searches. The same requirement for searches of customers should also be
Has anyone met this type of requirement and if so what dod they do to implement it.Eddie,
Are you familiar with Access Control Engine (ACE)?
Go through this -> http://help.sap.com/saphelp_crm50/helpdata/en/04/0177f9bb67ac4cafb84bb4d4c1d8fc/content.htm.
and https://websmp205.sap-ag.de/~sapdownload/011000358700002121742006E.
Authorizations in CRM are controlled through ACE.
Hope this helps.
Amar. -
Delivery limit based on sales org
Hi Experts,
While creating sales order to the delivery. we need to restrict the quantity based on sales organization at delivery.
Can any one sugguest me any exit or badi any where we need to write the code.
Regards,
Srikanth.Try with USEREXIT_MOVE_FIELD_TO_LIPS in include MV50AFZ1
G. Lakshmipathi -
Restrict BP Master search based on Sales Org
Dear All,
I would like to assign different Sales Rep to different sales org. My requirement is to restrict Sales Rep from searching BP records of customers which are extended to their Sales org. How is this possible? Can I use auth object CRM_BP_SA to do the same?
Regards,
VivekAccess Control Engine?
-
Sort out the invoices based on Sales Org, Dist Channel, Div while printing
Hi all,
My User required to run the program - RV60SBAT
for creating batch job : FR_INVOICING.
When we check the steps in the job FR_INVOICING we could find 10 steps with different variants.
On running this job, system will provide the printing of Invoices for different Sales Organizations, Distribution Channel, Division and Invoice Numbers. However this out put is not generating in a sorted manner currently.
User requirement is to sort out the invoices based on Sales Organizations, Distribution Channel, Division and Invoice Numbers.
Kindly look into this and help me how to address/approach this problem.
Thanking you in advance
Best Regards
TRS GUPTAAssign fields KOMKBV3-VKORG KOMKBV3-VTWEG KOMKBV3-SPART to output type config sort order fields sort field1, sort field2, sort field3 respectively.
Use user exit include RSNASTZZ and add the following code
under when '50'.
insert NAST-SORT1 NAST-SORT2 NAST-SORT3 NAST-OBJKY INTO HEADER.
Change RSNAST00 job step variant to incluce 50 in the sort field.
Regards
Sridhar
Message was edited by: Sridhar K -
WF: determine appropriate agents based on sap org object
HI All,
how will i code this in my workflow:
i have a BSP wherein i could enter data to some fields.
these fields are the primary key(sap org object types in PO13) to my sap org struct.
now i need to determine the appropriate agents from an organizational structure using the data i entered in the BSP as primary keys.
how shall i do that?
please notify me if my question is not clear.
Your response is highly appreciated.solved by myself. use FM RH_SAP_ORG_OBJEC_ACTORS_LIST to get the agents.
-
Free Goods Determination Based on Access Seq -Sales Org/DistCh/Cust/Materia
Dear All ,
Based on the requirement , I have configured 2 access seq for free goods determination.
1. Customer/Material
2. Sales org/DistCh/Customer / Material .
The free goods determination is working fine when i use the first access Seq - . Customer/Material and when i use the 2nd access seq - Sales org/DistCh/Customer / Material free goods determination is not happening for both inclusive and exclusive .
Can any one help me on this issue , as i am not able to identify the issue .
Thanks in advance for all the help.
Regards
VeeraHi
Ceck this thread
Forum post in ERP SD Sales: New Access Sequence for Free Goods Determination
New Access Sequence for Free Goods Determination
But for you free goods determination should be happening at
Sales org/DistCh/Customer / Material without any problem
Make sure Sales org/DistCh/ maintained in VBN1 and what is falling in sales order are same
Regards
Raja -
Org determination in transaction based on custom Partner Function
Hi All,
I am trying to figure out how can I modify the partner determination procedure and org data profile to determine the sales area (org,dc,div,so,sg) in a transaction automatically without having to choose the sales org.
Here is the set up:
Sales Org ->Soff->Sales group are permitted for Org determination in ppoma_crm.
Custom Partner Functions - Y1 and Y2 assigned to Sales Partner Function Category
Access Sequence YXXX has the following set up:
Source PF Function Category Usage
10 COM_PARTNER_A
20 CRM_PARTNER_C Sold to Party
30 CRM_PARTNER_C Activity Partner CRM
40 CRM_PARTNER_C Sales Prospect
50 CRM_PARTNER_C Activity Partner
Partner Procedure YPP001 has the following setup:
Function Access Sequence
14 User Recurring
15 YXXX Recurring
21 0001 Recurring
23 YXXX Recurring
Y001 Recurring
Y002 Recurring
Y1 YXXX Recurring
Y2 YXXX Recurring
Org Data Profile YORGPROF01 is maintained for Scenario SALES with Org Model Deter Rule 10000177. Sorg and Dc mandatory set.
The transaction type YOPP is configured as shown:
Org Profile YORGPROF01
Partn Func Org Activity Partner
Partner Determination Proc YPP001
Now here is the issue:
We want that when we create transaction YOPP it should fill the Org data including Sales Office and Sales group from the partner associated with the PF Y1 which gets assigned automatically when the account is selected on the transaction.
With the above setting, it populates all the sales offices and sales groups that have been marked for determination in ppoma_crm (which we don't want it to do). We need it marked for determination so the BP's master data associated with Y1 shows up the sales group and sales office.
When the account is selected on the transaction and Y1 is determined via partner determination, we would want the sales Org also to get determined automatically from the Y1 partner's master data.
Anything that can be changed in the above settings to make this happen?
Thanks
PCHi
Although i have no practical experience with this but an educated guess would be to use Partner function determination . If you have 'employee responsible ' PF , Then u can further use him for org determination.
May be this helps...
Regards
Ruchi -
Hi Gurus,
What is the Major changes that will happen when we create More ( more than one ). sales Organisations. Any extra assignments will come or any FI enties will happen?
Give me the detail view. Wt are the advantages and disadvatages when we created more sales organisaions.
rgards,
jyothi.Hi,
If you r creating a new sales org (more than one)
following activities has to be done:
in IMG
*create sales org -
assign sales org to comp code
assign dist channel to sales org
*assign div to sales org
*set up sales area
*assign sales office to sales org ( if u maintain any sales office )
*assign plant to sales org-dist channel.
*Business area-BA assignment has to be done( if BA derivation rule is based on sales aera)
*Pricing procedure determination has to re-check
*Account determination has to check -VKOA(if any table based on sales org )
Master Data
*Customer Masters has to extend to new sales area
*Sales Material tabs has to maintain for the materials
*price condition records has to generate which is based on Sales org specific.
*hope it helps -
BAPI to get customers filtered by sales org and distribution channel
Hi there,
I'm writing a little portal web-app on an MS platform to allow externals to place orders directly. I have a problem that I need to get a list of customers (for ship-to) that is filtered by the same sales org and dist chan as my sold-to company and BAPI_CUSTOMER_GETLIST doesn't return this info for filtering. What options do I have?
Many thanks,
AshleyHello,
Create custom RFC function module.
Use table KNVV to get your customer list based on sales org. & distribution channel.
Regards,
Sameer -
Sales Area determination in follow-up ERP Sales order from CRM opportunity
Hi Experts,
Iu2019ve configured everything needed for ERP sales Order to be created as follow-up from CRM opportunity.
sales area in CRM opportunity is correctly determined (but division is disabled)
Sales Org : 1000, Distribution Channel: 10 and Division : 01 (Division is not displayed in opportunity)
But when I created ERP sales order as follow-up document from opportunity, system checks for sales area 1000, 10, 00 (This sales area or Division u201800u2019 doesnu2019t exist in either systems ERP / CRM) and gives a error message.
If you have any idea how sales area determination works in follow-up ERP Sales order please share.
your help will be highly appreciated
Thanks
ManjushailHi Christian,
If the service order line items are entittled to service contract , at each item level you will get contract info in contract data tab.
when you transfer these items to confirmation , confirmation item contract data will not have contract information. Only when you enter items in confirmation manually then system will pop up window for selection contract and confirmation items get contract information.
thanks,
Nitin
Maybe you are looking for
-
How can to get connection at runtime?
I use Jdev 11.1.1.4 adf JSF. I have 2 connection into Model.jpx. First I use in production and second I use in test. I would like to change the value of the variable name nowDate, in "Bean Variables" in Query into "View Object". Specifically, I'd lik
-
How to get an early upgrade on a phone?
Hello Verizon community. I have an iPhone 4S right now and for some reason my upgrade is on 9/28/12. I really want the iPhone 5 (4SS, whatever it will be called haha) which should be announced and the preorders should go out on the 12/13th. I know ve
-
Error message in BAPI_ACC_DOCUMENT_CHECK
HI everybody im having an error while exceuting the BAPI BAPI_ACC_DOCUMENT_CHECK , 'FI/CO interface: Currency item entered several times' see the code below clear l_amount. l_wrbtr = gw_accpostline-wrbtr. gw_currency_amount-itemno_acc = l_itemno.
-
Hello all. My ipod mini (4 GB) first generation shows a folder icon with an exclamation mark, so I have to restore or format it. Previously it work fined, but I once disconnected it when it says "do not dicconnect". Then after that, it shows the fold
-
Saving photos that are sent to iphone?
I can't seem to save photos to camera roll, that have been emailed to my iphone. Any ideas?