Inheriting Sales area from header to ITem
Hello All,
is there a way to inherit header sales area to Item sales area pelase?
I read SAP documentation that explains that if you leave ORg Determination profile as EMpty for item catogory, it inherits from header to item.
But system does not do it for the division.
if i leave it empty, only Sales org and Distribution channnel get inherited but not division. divison is allways coming from material.
is there anyway to change this and get Sales area determining always from header of the document pelase?
BR,
KP.
Hi npl kpl,
Division will always come from product. That is standard behavior. If you read the IMG activity description for 'Assign Organizational Data Profile to the Item Category' , it is clearly stated that division will get derived from product.
Now if you must change it, I think you will have to write custom code in some BAdi after the org determination has happened for your item.
Regards,
Niraj
Similar Messages
-
Partner inheritance stop from header to item only for opportunity
Hi Team,
Could anybody help me in the below requirement.
In standard , in any business transaction, partners of Header inherited to Items.
Table SMOFPARSFA. The parameter PARTNER_NO_INHERIT is intiial.
I have a requirement, where we need to stop this partner inheritance from header to item for Opportunity only.
What would be approach to do this. Is there any BADI available for this?
Appreciate your quick response.
Thanks
SudhansuHi Marion,
Thanks for the quick response.
I tried with this BADI but the BADI didnt trigger.
1. I clicked on Opportunity creation link..
2. on the details page, the Employee responsible is assigned as my name both in header and item.
3. Now i changed the Emp resp to another one.
4.Now it got changed in Item level as well.
As per my requirement this should not change in Item.
Note till now i didnt save the Opp.
Could you please help me in this case.
Thanks
Sudhansu -
Date update from header to item
Hello All,
I have following questions.
1) in CRM if Item Category doesn't have any Date profile assigned in Item category IMG, does it use header date profile to show the date types in sales Transactions or dates doesn't show up at all on item level.
2) if Date profile for header and item has same date type assigned eg.,, Requested Delivery date on Sales Transaction TA, if I change date on header does it flow to the same item date type? if not - how to achieve it?
and there are no date rules assigned to that date type, its a manual entry.
Thanks
ChandrashekarHello Thomas,
Thanks a lot for Replying to my Question, I appreciate it.
I am using TA & TAN for my sales document and I see Requested Delivery date field on header overview page under Sales order Details AB and also on Item overview page under Details AB, don't know if this was part of standard?
but the requirement from my customer is they want this date to be updated automatically on item level as soon as it is updated on header, would be great if you could let me know if this is something possible without development.
Thanks
Chandu -
Account assignment not copied from header to item level.
Dear All
I have entered WBS in sales order header level account assignment field. In development and in quality server it is getting copied to header to item level. But in production server it is not getting copied.
What could be the reason. KIndly guide me.
ShobanaPlease confirm your data transfer routine (copy control) in your production system. If its working fine in quality system then it should work in production as well.
Regds
Jess -
BAPI or FM for geting all sales master data, header data , item data etc
Hi experts,
In my requirement i need a BAPI (or) Function module for getting all "Sales information" data means header data , item
data, scheduled data etc .
Thank you,
Dinesh Reddy.Hi,
check BAPI_SALESORDER_GETLIST
I hope it helps you....
Regards,
NaPPy -
How 2 remove unwanted sales areas from BP?
I got two sales areas already maintained for a business partner under "Sales Area Data". Will it be possible to remove one?
Not able to find any remove option in "Choose Sales Area" screen as well.
Tried other possibility: Next to BP Role, under Role Details, selected sold-to-party role deleted entire role assuming i can create once again, but System is very smart. When i try to create sold-to-party role again, it is showing all the already maintained sales areas.
Regards,
Venu.Hi
There is no standard functionality for deleting Sales Area data
for BP exists.
But you can develop your own report using following BAPIs:
BAPI_BUPA_FRG0010_* (use F4 for list of all available functions)
BAPI_BUPA_FRG0020_*
BAPI_BUPA_FRG0030_*
BAPI_BUPA_FRG0100_*
Another possibility is to delete Sales Area completely, from
OrgManagement. In this case, Sales Area information will be deleted
for all BPs.
Hope this can help you.
Best Regards,
ZhaoJie -
Incoterms in sales order: part 2 is not taken from header to item level
Dears,
I got a customer with incoterm DDP in part 1 and a city "Hamburg" in part 2.
When I create a sales order, I change part 2 from "Hamburg" into "Berlin" before I insert items.
Unfortunately the changed content ("Berlin") is not taken to item level, there is still standing "Hamburg".
I haven't found any solution for that behaviour.
I hope, any one can answer how to solve that.
Many thanks.
ChrisThanks for reply.
The flag is already checked, so there must be another reason.
But, in the meantime, I found out, that there is a difference between some users.
Some users can change the incoterm at item level, some others cannot.
What could be the reason? Some profile settings? -
Copying WBS from Header to Item Level
Hi Everyone
Is there a way in which we can copy the WBS assigned at header level to item level? Do i need to do any extra configuration for this? Your kind help will be really apprecited.
Kind RegardsPlease confirm your data transfer routine (copy control) in your production system. If its working fine in quality system then it should work in production as well.
Regds
Jess -
Hiding a customized tab (from header and item) in ME21N, ME22N and ME23N
Hi SAP gurus,
I need to make invisible a customized tab in Po creation(me21n), change(me22n) and display(me23n) in enjoySAP transaction for a particulat Doucument type.
Please let me know the possibility and the solution to implement.
Thanks,
Kishore PHi Kishore,
The customized tab cannot be made visible or invisible conditionally. Instead you can write some text inside the tab to distinguish between different document types.
Hope this helps.
Regards,
Abhijeet Kapgate -
How to header and item data of sales order using bapi interface
hi friends,
i am geetha, i having a problem like how to upload sales oder header and item data through va01 tcode using BAPI FUNCTION MODULES.
i need bapi function modules for header adn item data and brief explation on that , how to pass importing and tables parameters to get exact output .
regards
geetha.Use : BAPI_SALESORDER_CREATEFROMDAT2
Sales order: Create Sales Order
Functionality
You can use this method to create sales orders.
You must enter at least sales order header data (via ORDER_HEADER_IN structure) and partner data (via the ORDER_PARTNERS table) as input parameters.
Enter the item data via the ORDER_ITEMS_IN table. You can allocate item numbers manually, by filling in the relevant fields, or the system does it, according to the settings for Customizing, by leaving the relevant fields blank.
If you have configurable items, you must enter the configuration data in the ORDER_CFGS_REF, ORDER_CFGS_INST, ORDER_CFGS_PART_OF and ORDER_CFGS_VALUE tables.
Credit cards can be transferred via the BAPICCARD structure, on the one hand, data for card identification, on the other, data for a transaction which has taken place in an external system.
Once you have created the sales order successfully, you will receive the document number (SALESDOCUMENT field). Any errors that may occur will be announced via the RETURN parameter.
If no sales area has been created in the sales order header, then the system creates the sales area from the sold-to party or ship-to party, who has been entered in the partner table. If a clear sales area cannot be created, you will receive a system message, and the sales order will not be created.
Notes
1. Mandatory entries:
ORDER_HEADER_IN : DOC_TYPE Sales document type
SALES_ORG Sales organization
DISTR_CHAN Distribution channel
DIVISION Division
ORDER_PARTNERS..: PARTN_ROLE Partner role, SP sold-to party
PARTN_NUMB Customer number
ORDER_ITEMS_IN..: MATERIAL Material number
2. Ship-to party:
If no ship-to party is entered, use the following: Ship-to party =
sold-to party.
3. Commit control:
The BAPI does not have a database commit. This means that the relevant application must leave the commit, in order that can be carried out on on the database. The BAPI BAPI_TRANSACTION_COMMIT is available for this.
4. German key words:
The following key words must be entered in German, independantly of
the logon language:
DOC_TYPE Sales document type, for example: TA for standard order
PARTN_ROLE Partner role, for example: WE for ship-to party
Further information
You can find further information in the OSS. The note 93091 contains general information on the BAPIs in SD.
Parameters
SALESDOCUMENTIN
ORDER_HEADER_IN
ORDER_HEADER_INX
SENDER
BINARY_RELATIONSHIPTYPE
INT_NUMBER_ASSIGNMENT
BEHAVE_WHEN_ERROR
LOGIC_SWITCH
TESTRUN
CONVERT
SALESDOCUMENT
RETURN
ORDER_ITEMS_IN
ORDER_ITEMS_INX
ORDER_PARTNERS
ORDER_SCHEDULES_IN
ORDER_SCHEDULES_INX
ORDER_CONDITIONS_IN
ORDER_CONDITIONS_INX
ORDER_CFGS_REF
ORDER_CFGS_INST
ORDER_CFGS_PART_OF
ORDER_CFGS_VALUE
ORDER_CFGS_BLOB
ORDER_CFGS_VK
ORDER_CFGS_REFINST
ORDER_CCARD
ORDER_TEXT
ORDER_KEYS
EXTENSIONIN
PARTNERADDRESSES
Exceptions
Function Group
2032 -
Hi Experts,
Opportunities (0crm_c04) InfoCube getting updated from Header and Item ODS. One of the Key figure Value (Expected Sales Volume) coming from Header ODS (It is not available in Item ODS). And two Characteristics (Product and Status) coming from Item ODS (It is not available in Header ODS).
Now the records are maintained in two line item.
In my query I want to see the key figure value based on Product and Status.
I tried through multicube, but it is not working.
Thanks advance,
AmritIs there a common key characteristic between header and item?
You can use an infoset on the two ODS to get what you want. -
Header, Line Item and Cache Techniques Using Hashed Tables
Hi,
How can I work with header, line item, and a cache techniques using hashed tables?
Thanks,
Shah.Hi,
Here is an example to clarify the ideas:
In general, every time you have a header-> lines structure you have a unique key for the lines that has at least header key plus one or more fields. I'll make use of this fact.
I'll try to put an example of how to work with header -> line items and a cache technique using hashed tables.
Just suppose that you need a list of all the material movements '101'-'901' for a certain range of dates in mkpf-budat. We'll extract these fields:
mkpf-budat
mkpf-mblnr,
mseg-lifnr,
lfa1-name1,
mkpf-xblnr,
mseg-zeile
mseg-charg,
mseg-matnr,
makt-maktx,
mseg-erfmg,
mseg-erfme.
I'll use two cache: one for maintaining lfa1 related data and the other to maintain makt related data. Also I'll only describe the data gathering part. The showing of the data is left to your own imagination.
The main ideas are:
1. As this is an example I won't use inner join. If properly desingned may be faster .
2. I'll use four hashed tables: ht_mkpf, ht_mseg, ht_lfa1 and ht_makt to get data into memory. Then I'll collect all the data I want to list into a fifth table ht_lst.
3. ht_mkpf should have (at least) mkpf's primary key fields : mjahr, mblnr.
4. ht_mseg should have (at least) mseg primary key fields: mjahr mblnr and zeile.
5. ht_lfa1 should have an unique key by lifnr.
6. ht_makt should have an unique key by matnr.
7. I prefer using with header line because makes the code easier to follow and understand. The waste of time isn't quite significant (in my experience at least).
Note: When I've needed to work from header to item lines then I added a counter in ht_header that maintains the count of item lines, and I added an id in the ht_lines so I can read straight by key a given item line. But this is very tricky to implement and to follow. (Nevertheless I've programmed it and it works well.)
The data will be read in this sequence:
select data from mkpf into table ht_mkpf
select data from mseg int table ht_mseg having in count all the data in ht_mkpf
loop at ht_mseg (lines)
filter unwanted records
read cache for lfa1 and makt
fill in ht_lst and collect data
endloop.
tables
tables: mkpf, mseg, lfa1, makt.
internal tables:
data: begin of wa_mkpf, "header
mblnr like mkpf-mblnr,
mjahr like mkpf-mjahr,
budat like mkpf-budat,
xblnr like mkpf-xblnr,
end of wa_mkpf.
data ht_mkpf like hashed table of wa_mkpf
with unique key mblnr mjahr
with header line.
data: begin of wa_mseg, " line items
mblnr like mseg-mblnr,
mjahr like mseg-mjahr,
zeile like mseg-zeile,
bwart like mseg-bwart,
charg like mseg-charg,
matnr like mseg-matnr,
lifnr like mseg-lifnr,
erfmg like mseg-erfmg,
erfme like mseg-erfme,
end of wa_mseg,
data ht_mseg like hashed table of wa_mseg
with unique key mblnr mjahr zeile
with header line.
data: begin of wa_lfa1,
lifnr like lfa1-lifnr,
name1 like lfa1-name1,
end of wa_lfa1,
data ht_lfa1 like hashed table of wa_lfa1
with unique key lifnr
with header line.
data: begin of wa_makt,
matnr like makt-matnr,
maktx like makt-maktx,
end of wa_makt.
data: ht_makt like hashed table of wa_makt
with unique key matnr
with header line.
result table
data: begin of wa_lst, "
budat like mkpf-budat,
mblnr like mseg-mblnr,
lifnr like mseg-lifnr,
name1 like lfa1-name1,
xblnr like mkpf-xblnr,
zeile like mseg-zeile,
charg like mseg-charg,
matnr like mseg-matnr,
maktx like makt-maktx,
erfmg like mseg-erfmg,
erfme like mseg-erfme,
mjahr like mseg-mjahr,
end of wa_mseg,
data: ht_lst like hashed table of wa_lst
with unique key mblnr mjahr zeile
with header line.
data: g_lines type i.
select-options: so_budat for mkpf-budat default sy-datum.
select-options: so_matnr for mseg-matnr.
form get_data.
select mblnr mjahr budat xblnr
into table ht_mkfp
from mkpf
where budat in so_budat.
describe table ht_mkpf lines g_lines.
if lines > 0.
select mblnr mjahr zeile bwart charg
matnr lifnr erfmg erfme
into table ht_mseg
from mseg
for all entries in ht_mkpf
where mblnr = ht_mkpf-mblnr
and mjahr = ht_mjahr.
endif.
loop at ht_mseg.
filter unwanted data
check ht_mseg-bwart = '101' or ht_mseg-bwart = '901'.
check ht_mseg-matnr in so_matnr.
read header line.
read table ht_mkpf with table key mblnr = ht_mseg-mblnr
mjahr = ht_mseg-mjahr.
clear ht_lst.
note : this may be faster if you specify field by field.
move-corresponding ht_mkpf to ht_lst.
move-corresponding ht_mseg to ht_lst.
perform read_lfa1 using ht_mseg-lifnr changing ht_lst-name1.
perform read_makt using ht_mseg-matnr changing ht_lst-maktx.
insert table ht_lst.
endloop.
implementation of cache for lfa1.
form read_lfa1 using p_lifnr changing p_name1.
read table ht_lfa1 with table key lifnr = p_lifnr
transporting name1.
if sy-subrc <> 0.
clear ht_lfa1.
ht_lfa1-lifnr = p_lifnr.
select single name1
into ht_lfa1-name1
from lfa1
where lifnr = p_lifnr.
if sy-subrc <> 0. ht_lfa1-name1 = 'n/a in lfa1'. endif.
insert table ht_lfa1.
endif.
p_name1 = ht_lfa1-name1.
endform.
implementation of cache for makt
form read_makt using p_matnr changing p_maktx.
read table ht_makt with table key matnr = p_matnr
transporting maktx.
if sy-subrc <> 0.
ht_makt-matnr = p_matnr.
select single maktx into ht_matk-maktx
from makt
where spras = sy-langu
and matnr = p_matnr.
if sy-subrc <> 0. ht_makt-maktx = 'n/a in makt'. endif.
insert table ht_makt.
endif.
p_maktx = ht_makt-maktx.
endform.
Reward points if found helpfull...
Cheers,
Siva. -
Tables for Functional location/equipment in Sales Area
Hi ,This is sivakumar ...
h2.
I wanna know Tables for Functional Location/equipment in Sales area under the Customer Service erena.I know the sales order number, header and item ..
I need other parameters to use this table.... -
Restrict entry of SO type for a Sales area
Going forward I need to restrict a certain sales area from being able to process a certain order types.
I went to IMG > Sales and Distribution> Sales> Sales Documents> Sales Document Header---> Assign Sales Area To Sales Document and removed the entry for that Sales Org / Dist channel / Division / Order type but it is still allowing me to create a sales order when I would expect it not to. Am I missing another step?Hi
Kindly check the below pointrs
1..KIndly check the division you are enytering at the time of sales order and in the document also
2. enter tthe sales area at the time of creation of sales order t code VA01 & document type.
3. check the t code OVAZ for the sales org / dist channel / division and remove the same
4. check in the customisation for the belwo entries also
Combine sales organizations
Combine distribution channels
Combine divisions
Assign permitted order types to the sales areas
5. Check the t code OVXG
6. Check any user exit maintain in the include FV45KF0V_VBAK-AUART_PRUEFEN
REgards
Damu -
Sales pricing from Project Simulation Version
hi.
Has anybody created sales pricing for the project using transaction DP 82? It does not create the sales pricing for the simulation version, even though I have provided the version key.
The status of the simulation version of the project is CRTD. I am using the network cost planning in the simulation version of the project. Am I missing something here? I am hoping to get an answer from this community. Thanks for your help in advance.
Regards
MeyHi
The following are the prerequisites for the sucessful fuctioning of sales pricing for simulation versions of the project.
1. A dynamic item processor profile (DIP profile) must have been maintained in the customer inquiry.and must be Customized for Project System.
2.The same DIP profile must have been entered on the Sales B tab page of the item detail view in the SD order.
3. A customer inquiry with at least one item that has to be maintained and assigned to a billing element must exist. The system determines the SD data for sales pricing from this inquiry item.
4.You have planned costs (in concordance with cost elements) for your project version.
If these prerequisites are met, i think it will work
Reward if helpful
Regards
Murali
Maybe you are looking for
-
How do I get my settings to stay? My EQ settings do not stay every time it shuts down
How do I get my EQ settings to stay the way I set them? I lose them every time it shuts down. Thank You John
-
Selecting on a Max Count of rows
I would like some advice on the following SQL. I am trying to select the max(count(*)) of a selct count(*). (if you know what I mean??) select district_id from ( -- retrieve a list of districts, plus the count of employee related records se
-
TS1368 is itunes store down right now?
is itunes down for anyone else?
-
Corresponding Classical Payment Medium Program-RFFOAU_T for Australia
Hi All, I am using classical payment medium program RFFOAU_T for Australia, it is not genarating any out put file, so please guide me if you have any idea about this program i need to configure any extra settings for this program. Thanks in advance b
-
Hi ! Now I'm getting kinda tired of my BB since it's the second time that I get the same problem. First, when I need to enter my password to unlock the phone, I weirdly missed my password nad I have to enter the word "blackberry" but the problem is,