BAPI for getting Sales Areas for a Plant+material Combination........
As per the SPRO settings, you assign your plant to your sales org and Distribution Channel that means you are authorize your sales area to sell the material from a particular Plant
Can any one plz help me in finding the BAPI that can list all the Sales Areas for a particular plant where the Material can be sold.....
Thanks In Advance
Abhi.......
Hello,
In DB table TVKWZ you can find the plants assigned to a particular sales areas.
If you want to find the sales areas, in which the plant exist, select sales area info from TVKWZ by passing WERKS.
If you want to find the plants exist in a particular sales area, select plants from TVKWZ by passing sales area info. To accomplish this, you can also use the FM "TVKWZ_GENREAD_WERKS".
Hope this helps you!!
Regards,
Ganga
Similar Messages
-
Any BAPI to retreive sales area for the given BP Number in CRM
HI, I am looking for a BAPI which can retreive sales area for the given BP number.
I appreciate for the quick response and points are awarded.
Thanks,
Kumar.
Edited by: Kumar on Jun 5, 2008 6:40 PMHi Kumar,
This is not exactly a Bapi but you can use the following 2 functions.
The function below will get a list of sales areas assigned to the BP.
call function 'CRM_BUPA_FRG0010_GET_LIST'
exporting
iv_partner_guid = lv_partner_guid
importing
et_sales_areas = lt_areas.
You can then use CRM_BUPA_FRG0030_GET_DETAIL to get the detail of the sales area.
Hope it helps.
Johan -
Different number range for different sales area but same order type
i have 2 different sales area but i have assigned same sales order type for 2 different sales area,
but i need the number range different for different sales area for that same sales doc type,
is that there is any user exists for number range? if so how can i find the user existsHi,
You can surely have a different number range per Sales Area. For this you will have to make use of a User Exit (which would surpass the standard SAP functionality). Try USEREXIT_NUMBER_RANGE.
Maintain the desired range in VN01 with the respective Range Keys.
Make a custom table comprising of Sales Area and Number Range keys (same keys which you maintained in VN01).
Now everytime, the system will check which sales area is used and accordingly, it will fetch the Number Range Key~Sales Area combination from the custom table, and will pick up the number range from VN01.
Coding should done by a good technical guy to make this work nicely.
Hope this helps you.
Regards,
Vivek -
Bapi for creating Sales Area data on Relationship
Hi,
I am looking for BAPI for creating relationship between business partners with sales area data in CRM 5.0.
Example - I would like to create relationship type CRMH03.
Bapi BUPR_RELATIONSHIP_CREATE does not allow for maintaining sales area data (Sales org, distribution channel, division).
Does anybody know such a bapi?
Regards
Radekhi
try using these
BAPI_BUPA_CREATE_FROM_DATA
BAPI_BUPA_RELATIONSHIP_CREATE
best regards
ashish -
Setting up pricing for new sales area
Hi SD Gurus,
Well I am new to SD configuration and question that I am going to ask might be just a seconds task but any help to get me kick started would be highly appreciated.
Well the client I am working for has 4 distribution channels configured and now my task is to add a new distribution channel to the existing enterprise structure and I have successfully managed to do that and now I can create and extend customer master for this new distribution channel.
The next task on hand is that to configure pricing for sales areas including this distribution channel. Pricing proceedure to be used in this sales areas is already defined just can't get a clue as to where to do the settings so that i can create sales documents against such sales areas as well
right now it just gives me an error something like "No pricing procedure for this sales area"
ThanksHi UsmanZ,
You create PP in spro > Sales and Distribution > Basic Functions > Pricing > Pricing Control > Define and Assign Pricing Procedures > Maintain Pricing Procedures
You can't attach PP to specific plant. Pricing Procedure is determined thru trx OVKK. The defining parameters for pricing procedure determination are:
1. SalesOrg
2. Distribution Channel
3. Division
4. Document Procedure (defined in Sales doc\Billing doc maintenance)
5. Pricing procedure assigned to customer (defined in customer master)
Hope this helps.
Thanks,
Swamy H P -
Any BAPI to retreive salease area for the given BP Number in CRM
Hi, I am looking for a BAPI to retreive sales area information for the given BP number in CRM.
I appreicate for quick response and points are awarded.
Thanks,
KumarHi Kumar,
This is not exactly a Bapi but you can use the following 2 functions.
The function below will get a list of sales areas assigned to the BP.
call function 'CRM_BUPA_FRG0010_GET_LIST'
exporting
iv_partner_guid = lv_partner_guid
importing
et_sales_areas = lt_areas.
You can then use CRM_BUPA_FRG0030_GET_DETAIL to get the detail of the sales area.
Hope it helps.
Johan -
Different sales area for Inter company stock transfer and STO
Hi People,
Is it possible to have two different sales area's for Inter company stock transfer and within the company stock transfer. The problem is in below step
IMG->MM->Purchase Order->Setup stock transport order->Define shipping data for plants.
In this step when you define plant as customer, the same plant as customer needs to be maintaind for both STO and Inter company and there is only one entry of sales area possible for this single plant. So, how can the task be achieved.
I want that STO should be carried out by sales area lets say X/Y/Z
Inter company should go through A/B/C.hi dear,
It is not possible at all to have two sales area for given Plant in STO.
What is issue in that u can Transfer any MATERIAL, just need to extend it to given sales area.
Reagrds
AJIT K SINGH
HAPPY TO HELP U -
I have a new Samsung phone and I live in CT. Last month they charged me $38 on my bill for the sales tax for the new phone which was $600. I'm paying for the phone itself over 20 installments of $30 each. Now again I'm getting that same $38 charge. I can't believe that the monthly CT tax is higher than the payment for the phone itself. Does this make sense. Last time I spoke with them on the phone it was for 1 1/4 hours for something simple. I don't want to call unless I need to. The salesman told me nothing about any of this. Thank you for any help you can offer.
The bill from last month states:
CT state sales tax** $38.10
** In some states sales tax or surcharges are calculated on the full cost of the full retail price or VZW cost of the device you purchased and not on the discounted price you pay. The sales tax or surcharges charged on your device was based on $599.99 and appears on this first bill.
The current bill says the same.
Actually, now I'm realizing that last month's bill stated I was making the first payment toward the phone. Now this month also says it's the first payment toward the phone when it's really the second. -
Dear all...
when we use ref sales org, ref dist channel and divisions (ref sales area) for STO purpose.
so is there any problem if we make sales using the same sales area to any customer?
Please solve my query.
Thanks...
Deepak...Hi,
We wont required to create as many customer for different plant.
As you know plant is determined in the sales order from customer material info record or customer master data or material master data.
So if you have to many plant then donu2019t save any plant in customer material and in customer master data.
So it will fetch the plant from the material master data automatically.
Regards
Raj. -
How to delete sales area for a customer?
Hi Experts,
Are there any BAPIs or Fucntion modules that can delete sales area for a customer? What are the correct parameters should I fill in?
If there's no BAPI or Function module... Kindly please assist me on how to execute the correct transaction to delete it.
Thanks in advance!Hi Prasanna,
I checked transaction VD06, indeed that it shows details for the sales area of a customer... but how can I delete the sales area data? There is a deletion flag for it? I tried to flagged it to deletion but when I tried to display it again through transaction XD03, it just give me the warning message 'Customer 20000702 is marked for deletion in the sales area selected' then it displayed the sales area...
I checked the KNVV table and the data still exists however the field for deletion flag is raised to 'X'.
I'm not sure if this is the proper way to delete a sales area. Can you please confirm?
Thanks in advance! -
SHIP TO PARTY NOT DEFINED FOR CERTAIN SALES AREA
Hi ...
I am creating a specific type of sales order in va01 by reffering a billing document . But soon after entering billing document no it is showing " SHIP TO PARTY NOT DEFINED FOR CERTAIN SALES AREA..." The sales area --- which it's showing in error it is quite different ....it's not that one what we used for it in that ref billing document .
Note : We are maintaining ship to party , sold to party ..... in CRM only
Their also I checked it is assigned properly .Relatioship with sold to party is also OK .
But in R/3 I have checked that ship party is created in VD01 Where as sold to party is created in XD01 .
PLS ADVCDear Sundar,
Please check in these areas
1.Check the sales area which you are trying to create sales order and copying invoice sales area is same or not.
2.Why you haven't created ship to party in XD01 transaction.
You go to XD01 transaction exetend the customer master then try.
3.Check the customer master(Ship to party) is available under which sales area.
I hope it will help you,
Regards,
Murali. -
What's the name of FM for getting Sales Order Header / Item Status info
Hello All:
Do you know what's the name of Function Module for getting Sales Order Header / Item Status Overview ? Any sample code will be very much appreciated.
Basically, I am trying to create a Webpage where user can enter the Sales Order document number and will return the Sales Order: Status Overview.
Thanks,
Dipankar BiswasThanks everybody ! Appreciate for your prompt response. I was also looking for some sample code, and I did find some on. And here is one. I still have to try the code, but here is for all your reference:
*& Report ZBAPI_SALESORDER_GETSTATUS *
*& Read and Display the Sales Order Items and Status of the Order *
REPORT zbapi_salesorder_getstatus NO STANDARD PAGE HEADING LINE-SIZE 200 LINE-COUNT 33(3).
TABLES: vbap. "Sales Document Item Data.
DATA: wa_bapireturn TYPE bapireturn,
wa_bapisdstat TYPE bapisdstat,
it_bapisdstat LIKE STANDARD TABLE OF wa_bapisdstat.
TYPES: BEGIN OF ty_mat_name,
matnr TYPE makt-matnr,
maktx TYPE makt-maktx,
END OF ty_mat_name.
DATA: wa_mat_name TYPE ty_mat_name,
it_mat_name LIKE TABLE OF wa_mat_name WITH KEY matnr .
PARAMETERS: p_vbeln LIKE vbap-vbeln DEFAULT 5573.
START-OF-SELECTION.
SELECT matnr maktx FROM makt INTO TABLE it_mat_name.
CALL FUNCTION 'BAPI_SALESORDER_GETSTATUS'
EXPORTING
salesdocument = p_vbeln
IMPORTING
return = wa_bapireturn
TABLES
statusinfo = it_bapisdstat.
IF wa_bapireturn IS INITIAL. " Successful Execution.
WRITE: / 'Document No: ' COLOR 1, 20 'PO Number : ', 40 'Status' , 50 'Delv.Stat',60 'Item No', 80 'Material', 90 'Material Description', 130 'Net Price' COLOR 2.
ULINE.
LOOP AT it_bapisdstat INTO wa_bapisdstat.
WRITE: / wa_bapisdstat-doc_number. " Sales Document Number.
READ TABLE it_mat_name INTO wa_mat_name WITH KEY matnr = wa_bapisdstat-material.
WRITE: /20 wa_bapisdstat-purch_no, " Customer Purchase Order Number
40 wa_bapisdstat-prc_stat_h, " Processing Status
50 wa_bapisdstat-dlv_stat_h, " Delivery Status
60 wa_bapisdstat-itm_number, " Item Number
80 wa_bapisdstat-material, " Material
90 wa_mat_name-maktx, " Material Description
130(10) wa_bapisdstat-net_price. " Net Price
CLEAR wa_bapisdstat.
ENDLOOP.
REFRESH it_bapisdstat[].
ELSE.
WRITE: wa_bapireturn-message.
ENDIF. -
Single Invoice for two sales areas
Hello SAP Gurus,
I have a scenario that Iu2019ll appreciate if a solution could be proffered
Contractually, a customer requires materials from a company (company code), and these materials will be sold from 2 or more sales areas within the company code. However, a single invoice, which will list the items and their individual prices, is what is required to be given the customer. What solution can I use to resolve this?
ThanksHi luqmon
Say you have material - MAT1 ; Customer - 1000 ; 1st sales area is - 1000/10/10 ; 2nd sales area - 2000/20/20
So make sure that the material MAT1 is available in both sales areas
Even customer (KUNNR) is also available in both sales areas . If you have created in 1st sales area then extended it to 2nd sales area.
Maintain same pricing procedure for both sales areas in OVKK
Maintain a access sequence with the key combination Sales orgn / material . and assign the access sequnece to the Pricing (PR00) condition type
Now Maintain the condition record for the material MAT1 in VK11 , with the key combination of sales orgn / material
Now when you create the sales order and do delivery , PGI and when you do billing then you can see the price of the material maintained in that VK11 based on sales orgn
But yours can be solved either with a LIS report also
Regards
Srinath -
How to check how many Material Download from R3 to CRM for 1 sales area
Hi Guys
Thanks in advance.
We are having CRM 5.0 Implementation. In our organization landscape we are having R3 system as well.
All the master data for CRM comes from R3. We are performing the initial download of materials on the basis of Material Type , Sales area.
For Example In R3ac1 T-Code
We have set up filters for "Material" object in such a way that middle ware should allow flow of materials of
material type = xyz
Sales org = 1100
Devision = I0
D.Channel = XX
My filters condition's are working fine.
Now after running the initial download I am want to cross check in CRM ,
How many materials got downloded for material type "XYZ" & for particular sales area "1100"?
Please let me know if there is any table for the same ?
or
If there is any standard report program ?
Thanks & Regards
Abhay NewaskarHi Rupesh
The information & Z report is really helpful. But unfortunately its not solved my issue .
In table CNCCRMPRSAP004 there is no entries in my CRM system.
but when I open an Product In COMMPR01 table & go to Sales & Distribution channel tab. Then I can see that this product is available in two salea area.
For example
Product ID : REPAIR-NOWARRANTY
In Tab SAP BASIC data following info available
Category ID : MAT_ZERV
Item Category group :ZERV
In Tab Sales & Distribution
we can see that this product is extended to two sales area.
1206
1290
Now I want to run a report on the basis of following selection
Sales area = 1206
Item category Group = ZERV
Then the report should show me the above product used for example.
Thanks & Regards
Abhay -
Is there any provision for viewing Sales Order at a plant level?
Salute All !
Is there any provision for viewing Sales Order at a plant level?
Please provide TCode or any other way.
Rgds
SrivastavHi
Go to SPRO>Sales & Distribution>Sales>Lists>Define selection criteria.
Select the Programme "SAPMV75A" , Trnsaction group=0 and pu display group=K and select the field =WERKS.
Hope it will resolve.
Regards
Sanjay
Maybe you are looking for
-
Dear All, I ave an issue in creation of COPA repor in KE30 We have created all P&L item as cost element except 1.Change in WIP for WIP calculation in Product Costing 2. Price Difference (OBYC- PRD) Variance will be calculated from settlement profile
-
Unable to vertical align flash file
I have previously posted this on the Dreamweaver forum, however, have not been able to obtain a response. I have been attempting to align a flash file created with FC in the center of a web browser with CSS. The file is 800 x 600 px and I was hoping
-
I need serious help!!! I am a new mac user...I've had my computer for less than a year and I just found out after not being able to log into my root account that you shouldnt use it for everyday usage and I have and now I can't log into it. How do I
-
HT201303 i forget my question's answer how to reset
Good morning I forget my security question and answers. is someone help me to resolve this issue cause i try all what apple recomond but i am unable to get mail from apple. I follow all steps, normally they have to send reset link to my mail id but i
-
Persist custom data in document / Is ASB-CSB, Command the only way?
I have a need to persist custom data set (PMString for now) in a document, say for example source URL. Basic Persist sample suggests using implementing suites and commands. I was wondering if there is a quick way of doing such a simple task. XMP may