BADi/BAPI update sales Area
Hi Guys,
I am struck with a single field to update, lets me depict it..
I loaded the business partner via LSMW and the standard idoc doesnot support the <b>Account Assignment group</b> field and i am not finding a way to update this field externally ...
Does any one have any idea whic BAPI or badi does it ?
If u have any idea please do mention.
Regards.
Hi crm_learner_learner,
in order to find the proprer badi- BADI, pls fill the following guide:
/people/alwin.vandeput2/blog/2006/04/13/how-to-search-for-badis-trace-it
I guess that there must be a proper Bapi, to be used for sales data. In this case follow the previous procedure and change the filter in "display trace".
Concerning Badi try Partner_update.
Regards,
AndreA
Similar Messages
-
CRM BP, update sales area (organization)
Hi, I need to update the data of the BP sales: sales group, sales office and District. It knows somebody some function that does it?
Thanks in advanceHi Placido,
did you find a way to solve your problem? I've got the same problem. And in BAPI_BUPA_CENTRAL_CHANGE I didn't find the right fields to change the district, sales office and sales group.
Kind regards
Diana -
Multiple selection of sales areas in BP transaction
Hi,
In the creation mode of BP for sold-to party, while selecting sales areas, the standard ALV popup does NOT allow multiple selection/maintainance of sales areas.
Is there an option for multiple maintainance of sales areas. It's time consuming to maintain sales areas for each BP manually.
Also, is there an API/method to maintain sales area data for BP?
Thanks
KamalHi Kamal,
You can use followinf function module to update sales area data:
BAPI_BUPA_FRG0020_ADD : For shipping tab
BAPI_BUPA_FRG0030_ADD : For billing tab
BAPI_BUPA_FRG0140_ADD : For organization data tab.
Hope this will help you.
Thanks
Swagatika -
How to update the pricing, sales area details in Campaign
Hi All,
I need to create a campaign in CRM through program. For the same I have created it using the below:
1. create a Profle set using "'BAPI_PROFILESET_CREATE' with the appropriate "segmenttype".
2. create a target group using " BAPI_TARGETGROUP_CREATE" based on the Profileset guid.
3. assign Target group to Market element calling the FM"MKTPL_TGGR_ASSIGN_CREATE".
I need to assign the pricing amount , sales area data and the product to the campaign. Could you let me know the name of a Bapi/FM to update the same.
Thanks,Hi,
Can you check if these FM's are useful:
CRM_MKTPL_GET_BP_SALES_AREAS
CRM_MKTPL_AL_FILL_PRODUCT
Hope this helps.
Regards,
Anup -
I am trying to update the sales order text using "BAPI_SALESORDER_CHANGE" But i am getting an error as " Sold-to party E455 not maintained for sales area E901 C1"
I passed the sales order no, and the text to be upated and the Update flag is set to "U".
When i try giving the same values in se37 it updates the sales order text successfully but when i use the same BAPI in the report i am getting the above error. Can anyone pls help me out.hi
the message is very clear that the sold to party ur refering is not from the same sales area. if u have the customer already then extend the same to the said sales area, by common division and distribution channel
<b>reward points</b>
Regards -
Account Creation - Badi for Default values for BP Role and Sales Area
Hi all,
my requirement regards the possibility to create a new prospect (a link should be available in the navigation bar or create section).
Logically, a bp role as "Prospect" and particoular sales area should be created automatically.
I created an implementation for the BADI definition "BADI_CRM_BP_UIU_DEFAULTS". But don't know how to create the default values for BP role and Sales area:
In my code
assign cr_me->('VIEW') to <lv_view_name>.
if sy-subrc ne 0.
exit.
endif.
lv_viewname = <lv_view_name>.
case lv_viewname.
when 'AccountDetails.htm'.
I obtain the viewname "AccountDetails" , the related context "Header". After I don't know how to proceed to obtain the related entities through the relationship BuilRolesRel and BuilSalesArrangementRel.
Am I following the right way? Is there another solution to prepare the output for default values?
Any kind of suggestion will be appreciated.
Regards, Robertogo to spro>cross-application components>sap busines partner>business partner> basic settings>field groupings>Configure Field Attributes per BP Role
Double click the business role which you want to customaze (e.g. 'A') and change the proper settings.
Regards. -
Function Module or BAPI to update Sale Order Quantity (VBAP-kwmeng)
Hi,
I have a requirement to use a Function Module or BAPI to update Sale Order Quantity (VBAP-kwmeng), which one (Function Module or BAPI) should I use? is there any sample codes?
Thanks a lot!!Hi,
*& Report ZTEST
REPORT ztest.
DATA : wa_header TYPE bapisdh1x,
i_item TYPE TABLE OF bapisditm WITH HEADER LINE,
i_itemx TYPE TABLE OF bapisditmx WITH HEADER LINE,
i_return TYPE TABLE OF bapiret2.
wa_header-updateflag = 'U'.
i_item-itm_number = '000010'.
i_item-target_qty = '4'.
APPEND i_item.
i_itemx-itm_number = '000010'.
i_itemx-updateflag = 'U'.
i_itemx-target_qty = 'X'.
APPEND i_itemx.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = '1234567890'
order_header_inx = wa_header
TABLES
return = i_return
order_item_in = i_item
order_item_inx = i_itemx
Hope this will help you.
Regards,
Anand. -
BAPI or function module to add/update MRP Area (MDMA table precisely)
Hi All,
can any one suggest me the BAPI to add/update MRP Area. I need to update the fields in MDMA table.
Thanks in Advance,
KGDear Brahmankar,
My actual requirement is that I will get an excel sheet with data to be added to MARC and MDMA table. I guess the report you suggest is good for manually updating/creating/deleting MRP area. It will as good as using BDC in MM02 transaction programatically. Doing BDC will be the last option. If I am able to use any function module then it will good I guess. Please correct me, if I am wrong and suggest me how to proceed.
Thanks and Regards,
KG -
Hai,
Could you give some information, how to update the distribution channel and division in Sales Area Data Tab in BP?
For Information, I have maintain the configuration in IMG - CRM - Master Data - Organization Management - Define Distribution Channels. After i have maintained in that configuration, the distribution channel can't directly change in BP.
is there any configuration should i maintain?Dear Rhesa,
I said you also have to add the division, distribution channle and the tupples (combination of div and dis. channel) under the particular sales org.
T code: ppoma_crm
Double click on your sales org...you can see 4 tabs are there...click on attribute tab....choose the relevant attribute maintainance scenario (sales/service/marketting)..then add the division, distribution channle and the tupples (combination of div and dis. channel)..save it...
If still you face the problem, please send me the screen print at [email protected]..
Thanks,
Atin -
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 -
BAPI/Fm to Update MRP Area
Please reply , if you know any BAPI or Function Module to Update MRP area along with Planned Delivery time.
Thanks,
KiranHi Mikesh.
You can use BAPI BAPI_OBJCL_CHANGE to chang the charecteristic value in IQ02. Please try the following code.
data : lt_val_num type TABLE OF BAPI1003_ALLOC_VALUES_NUM,
lt_val_char type TABLE OF BAPI1003_ALLOC_VALUES_CHAR,
lt_val_curr type TABLE OF BAPI1003_ALLOC_VALUES_CURR,
lt_return type TABLE OF BAPIRET2,
ls_val_char type BAPIRET2.
ls_val_char-CHARACT = 'KONDM'.
ls_val_char-VALUE_CHAR = '01'.
APPEND ls_val_char to lt_val_char.
ls_val_char-CHARACT = 'EXTWG'.
ls_val_char-VALUE_CHAR = '1001 COLORS'.
APPEND ls_val_char to lt_val_char.
CALL FUNCTION 'BAPI_OBJCL_CHANGE'
EXPORTING
objectkey = '000000000011049924'
objecttable = 'EQUI'
classnum = 'ZCOUP'
classtype = '002'
* STATUS = '1'
* STANDARDCLASS =
* CHANGENUMBER =
* KEYDATE = SY-DATUM
* NO_DEFAULT_VALUES = ' '
* IMPORTING
* CLASSIF_STATUS =
TABLES
allocvaluesnumnew = lt_val_num
allocvaluescharnew = lt_val_char
allocvaluescurrnew = lt_val_Curr
RETURN = lt_ret.
read table lt_ret into ls_ret with key type = 'E'.
if sy-subrc ne 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
* EXPORTING
* WAIT =
* IMPORTING
* RETURN =
endif. -
Userexits/Badis for MIGO to update business area(GSBER) in FI constitution
Hi ,
I need to update business area field (GSBER) for accounts document after Goods Recieve (GR) through MIGO and Post Goods Issue (PGI) through VL02N.
Can you please tell me the userexits/BADIS for this requirement
Thanks in advance
SaktiHi Sujit,
Thanks for reply
I tried with both BADIs. After implementing I put break point.
And goto MIGO. and filled req. fields and click on SAVE button, it should be stopped there.
But it is not stopping there.
Regards,
Sakti -
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 -
BAPI to Extend Customer sales area
Hi experts,
I have an requirement to extend customer's sales area by using BAPI. That means for customer A which has already assigned sales organization 1000 then we want to extend it to sales organization 2000. We can manually do this by using XD01 or VD01. My question is if we can find a standard BAPI to do this?
Regards,
DukeHi,
You need to create a program in order to copy the data for source sales area to target sales area for a certain customer?
If it's so u can create:
- or porgram in order to prepare a file for std BI RFBIDE00,
- or a BDC program to simulate the transaction VD01: here u can indicate a sales area as reference from to pick up the data to be copied in the target sales area.
- or program uses the BAPI_CUSTOMER_CREATEFROMDATA1, here u can assign a sales area as reference
Hope this will helps you.
Regards,
Kiran -
Fm or BAPI for Change Customer: Sales area data
Hello All,
I need to change tax classification in Sales area data of Changing Customer ( transaction XD02 ).
Function BAPI_CUSTOMERCRM_CHANGE looks like is ok for this, but I've try it and is not working, maybe i'm forgeting something or is not proper for this.
Do you know a function for this or an sample with BAPI_CUSTOMERCRM_CHANGE ?
Note: Function must not be for online store and Internet Sales.
Any help will be appreciated and rewarded.
Thank you a lot!
BogdanHi again,
Not the BAPI COMMIT was the problem,
But I found FM SD_CUSTOMER_MAINTAIN_ALL, which is working realy fine.
All the bests!
Maybe you are looking for
-
Hi, We have a report group 1AIP, the report generated using this report query has variant in the test system but the same is not there in the validation system(next to the test system). When investigated the report inside the report group is same 1AI
-
If your Ipod get stuck while syncing
Here's what happened to me, My Ipod would sync and get to a certain song and keep trying and I'ld have to force quit. I would try agiain and it would be a different problem song, but would essentially be starting over each time. I changed IPOD cables
-
How to make a gif out of a movie clip?
So yeah... I'm an idiot when it comes to these things. How do I go about doing a gif of a small video? And... Could you do the explanation in a step by step guide please. Thanks
-
It says it's installed, but there's no icon
I've Installed DVD Studio Pro, it tells me the install was successful, but when i go to open the application, there is no icon for DSP in my applications folder, but if i go to the system library folder under Application Support, there is a folder fo
-
How 2 create an 'unread documents' TREX search iView
Hi, I'm trying to create a TREX seach iview (EP6SPS9) which shows all unread documents as a result. The property acc:cm_lastreaddate seems suitable to use in the 'query' section of the searchiview. This one works fine (result = show documents which w