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,
Ashley
Hello,
Create custom RFC function module.
Use table KNVV to get your customer list based on sales org. & distribution channel.
Regards,
Sameer
Similar Messages
-
Get plant from sales org and distribution channel
Hi expert,
how to get default delivery plant from sales organization and distribution
channel.
thanks,
neothanks for your quick reply,
i saw table tvkov which has field vkorg,vtweg
but in tvko i found vkorg only .
i don't get vtweg in tvko table,
can u tell me which two condition i need to use ofr join,
one is vkorg and the other one (?) i don't get it.
thanks,
neo -
Product is not valid for Sales org and distribution chain
Hello friends,
When i am saving the trade promotions , i am getting error message
"Product XXXX is not valid for distribution chain XXXX, XXXX"
I have maintained sales organization and distribution channel in commpr01 under sales and distribution tab.
kindly help.
Regards,
SrinivasHi Srinivas,
the error is raised from the trade promotion CCA check - raised from method CL_CRM_MKTGS_PD_CCA_CHECK_HDLR~CHECK. There are the following checks performed:
* There are several checks to do based on the distribtion chain
* Execute the checks and identify which products fail which check
1. * Determine if the product passes the distribution chain check
2. * Determine if the product category 1 of the product assignment
* passes the product category check
3. * Determine if the product category 2 of the product assignment
* passes the product category check
4. * Determine if the product group of the product assignment
* passes the product group check
5. * Determine if the sales status of the product is set to blocked
You may also need to check the sales and distribution data of the product category or product group of the mentioned product, if this is assigned to any.
best regards,
Johannes -
Palnt assigned to sales org and dist channel
Hi All,
Can we have multiple plants assigned to a given sales organization and distribution channel?
Thanks,
Rakesh.Hi Rakesh
Yes you can certainly have multiple plants to one Sales Organization and Distribution Channel.
To explain in brief, in one Sales Organization, you can have different categories of customers like OE Domestic, OE Export, Domestic Retail, Retail Exports etc.,
For each and every customer, you would be despatching materials from various plants by consolidating the cargo. Hence, you can have multiple plants for one customer which is nothing but one sales organization.
Thanks
G. Lakshmipathi -
Plant assigned to sales org and dist channel
Hi All,
Can we have multiple plants assigned to a given sales organization and distribution channel?
Thanks,
Rakesh.Hi Rakesh
u can assign multiple plants to a given sales organization and distribution channel
Vishal... -
Assignment of plant to sales organisation and distribution channel
Hi,
What is the use of assignment of plant to sales organisation and distribution channel.
thanks
KuntlaHi Kuntla,
Please don't get offended. Your explanation is purely irrelevant. If I don't want to record from which plant the material has been sent and hence if I don't make the delivering plant assignment - what will be result. Can I create the sales order and make delivery. Is it possible. This is one of the important assignments in SD configuration. I don't find fault in posting your reply. It is only for your response to others' replies to the thread. You can do this to their personal mail ids. Otherwise this will become a practice in this forum. Please take this in a positive angle.
Thanks,
Ravi -
How to know Sales Organization and distribution channel for a material
How to know Sales Organization and distribution channel for a created material
Hi,
For a single material means u can go mm03 7 select the material number 7 select the sales views then press f4 the details u can see.
For any number of materials u can go to se11 & give table name MVKE then select the required parameters & execute.
pandari -
Which table could i get the information of Sales org. and DC relationship?
Thanks!
And could you tell in what way could i found the corresponding table corresponding to any SPRO transactions??
ThanksHi,
In the SPRO setting Press F1 and check technical details,you will find the corresponding table.
Second way is if you do any changes in settings,then the request which is getting generated...in that request you can find the table name as well
Reward points if useful
Regards,
Amrish Purohit -
IHi ,
In BD64, Under MATMAS Data filtration is set on Sales Org and Distribution Channel. When I am sending material from BD10 , I need to get these values ( Sale Org / Distribu Channel ). B'cos on the basis of these values I need to fetch PLANT from MVKE table by passing SOrg and Dchl .
I am reading Segment value in exit EXIT_SAPLMV01_002, but , these values are present at MVKE Segment but I need those values at MARC Segment and MVKE Segment trigger at last where MARC segment trigger initially , So I am not able capture values in Segment also.
On the basis on MARC-MATERIAL & MVKE-PLANT , I need to fetch TRLT (Lead Time) from MARC.
How to retrieve Sale Org/ Dch either from Filtration Set at BD64 or from MVKE Segment that is triggering later then MARC Segemnt??
Regards
AnkeshHello Ankesh,
Modify MARC segment after MVKE is filled.
Please find the below sample code :-
Loop at IDOC_DATA into WA_ IDOC_DATA .
case wa_idoc_data-SEGNAM.
when 'E1MVKEM'
READ TABLE IDOC_DATA into WA_ido WITH KEY segname = E1MARCM
if sy-subrc = 0.
*write your logic here and modify idoc_data
endif.
endcase.
Endloop.
Thanks -
Need to know the table for sales org and sales area of role Sold-to in CRM
Dear Sir,
Our server is CRM 5.0, I would like to download the data from CRM , however, I would like to know the table name which keep the sales org and sales area of role Sold-to in T-code : BP . However, we can't find the actualty table.
Please kindly advise.
Thank you
LekHi Vimol,
You can get Org details in various tables like Sales Org, Division, Distribution Channel in following tables with help of PARTNER_GUID.
Sales :
CRMM_BUT_LNK0010
CRMM_BUT_LNK0011
Shipping:
CRMM_BUT_LNK0020
CRMM_BUT_LNK0021
Billing :
CRMM_BUT_LNK0030
CRMM_BUT_LNK0031
Organization :
CRMM_BUT_LNK0140
CRMM_BUT_LNK0141
I think, for you Organization related table CRMM_BUT_LNK0141 would be useful.
From this table you will get Sales Org, Division, Distribution Channel.
And in order to get Sales Office of BP, you will get it from table CRMM_BUT_SET0140 where you can put set_guid fetched from CRMM_BUT_LNK0141
Hope this helps....Please reward points if useful.
Regards,
Shailesh Jadhav -
Sales document type is not defined for(sales org/division/distribution chan
Hi Friends,
I am getting the error that sales document type is not defined for x/y/z(sales organisation/division/distribution channel). while creating sales order.
Any pointers will be rewarded.
RegardsHi there,
When you define a sales doc type in VOV8, you also should assign that to the sales area SA (sales org / dist channel / division).
Only then you will be log a sales order for a sales area.
Check if you have done it. You will find it in SPRO --> Sales & Distribution --> Sales --> Sales doc header --> Assign sales doc type to SA.
Regards,
Sivanand -
Relation between Sales org and Shipping Point
Hai all,
Can any one tell me wt is the relation between Sales Org and Shipping point?
Ravi
< PLEASE DONT USE SMS LANGUAGE AND PLEASE SEARCH THE FORUMS. >Hi Ravi,
There is no direct relation.
Sales organisation in broader level, it is responsible for selling a product in a company.
It is liable to the customer interms of service of the product or service and confirmation of the sale order, delivery and invoicing.
Shipping Point is a logical point from where the shipment / dispatch begins.
Both Sales organisation & Shipping point wil be linked to plant (one or more).
In case of sale order, sales org will decide the delivering plant.
Shipping point will be picked based on delivery plant, sh.conditions (cmr) & loading grp (mmr).
hope this is clear to you now! -
Referenced sales org. AA00 and distribution channel do not exist
Hiii Driends,
I have came across a problem while Assigning Sales area to Sales doc type.....
Steps i have followed:
1. Created and assigned all Enterprise Structure
2. Set up Sales area (AA00/A1/A0)
3. IMG-SD-Sales-Sales Doc -Header-Assign Sale Area to Sales Doc type-Combine Sales Organisation. This is done succesfully.
But while doing 'Combine Distribution Channel' when I enter Ref Dist Chnl as A1, Error is appearing as "Referenced sales org. AA00 and distribution channel do not exist"
Can u sugest me any solution???
Regards,
AbhiHi Abhi,
If the referenced distribution channel is not assigned to the sales org of sales line which you are trying to refer....Message will be coming as you said...
Please check whether you are referencing a distribution channel which you have assigned to your sales organization or not...
Hope this helps you...
Reward points.
Regards
Guru -
Reference sales organisation,ref.distribution channel and ref. division
Hi Gurus,
What is the use of reference sales organisation,ref.distribution channel and reference division.
Pls dont copy and paste sap help.
--JamesHi,
Sales Organization An organizational unit responsible for the sale of certain products or
services. The responsibility of a sales organization may include legal
liability for products and customer claims.
Use
You can assign any number of distribution channels and divisions to a
sales organization. A particular combination of sales organization,
distribution channel, and division is known as a sales area.
Reference distribution channel for conditions Specifies a distribution channel that you want to use as a reference for
condition data for other distribution channels.
Procedure
You can specify one distribution channel as the source of condition data
for other distribution channels. You need then only to maintain the data
in one place.
Example
Distrib.channel Ref.distrib.channel
01 01
02 01
03 01
04 04
In this example, only distribution channels 01 and 04 have condtion data
defined. Distribution channels 01, 02, and 03 share the master data that
you defined for distribution channel 01. Distribution channel 04 has its
own master data. When you create a sales order in distribution channel
03, the system checks the condition data against the data defined for
distribution channel 01.
Reference division for customers Specifies a division where you can define customer master records and
share them with other divisions.
Use
Customer-divisions are a way of sharing master data between different
divisions. You can specify one division as the source of master data for
other divisions. You need then only to maintain the customer master data
in one place. You can specify customer-divisions in Table TVKOS.
Example
Division Customer-division
01 01
02 01
03 01
04 04
In this example, only divisions 01 and 04 have customer master data
defined. Divisions 01, 02, and 03 share the customer master data defined
for division 01. Division 04 has its own customer master data. If you
create a sales order in division 03, the system checks the customer
master data from division 01. You cannot create customer master data for
divisions 02 and 03, since it would never be used. -
Reg fbl5n sales orgnization wise & distribution channel wise balence
hi
we are using ECC 6.
our SD persons required sales organization wise& distribution channel wise balence in FBL5N.
the total list is available. sales organization wise and distribution wise not available.
how i can solve the problem
regards
sambasivarao chHi
Either you can generate based on the number range / Reconciliation Account through dynamic selection (if the account group for customer codes is defined at distribution channel level logic).
Otherwise, you are required to use any one of the following fields in the customer master creation :-
Industry / Search Term /Accounting Clerk etc. with a identification of the required combination.
Hope this will meet your requirement
Regards
Anilkumar
Maybe you are looking for
-
I am unable to move app icons from one screen to the next, after 2.1
Can any one verify this? I have restarted the phone, just in case and the behavior continues. While on the subject, it would be nice if Apple could supply a MAC interface for rearranging the iPhone screens as it is not much fun on the phone itself.
-
Is it possible to recover restriction passcode on iphone 4s
is it possible to recover restriction passcode on iphone 4s. Can anyone help
-
Mountain lion...do I actually have it?
Hello, I have Mountain Lion on my computer from back when Apple was testing it out and they sent it to me. However, I can't update it past 10.8.0 as it implies that Mountain Lion is not installed. When I went to buy Mountain Lion, it says "OS X 10
-
Adobe Acrobat Subscription - how many computers may I install on?
I plan to purchase an Acrobat Subscription. On how may machines may I install the licensed software? When I upgrade my computer, do I un-install and re-install on another machine
-
During ram preview ae cc wildly accessing system drive
After effects cc builds a ram preview of a 1920x1080 file without problem, the cache is on a secondary HD drive or SSD with plenty of speed and free space and there are 16 GB of RAM - but when the ram preview starts to play, sooner than 15 seconds it