SD # Is there any alteernative TCODE for this

To Display Product hierarchey. what is the advantages of product hierarchey .

Hi Soorya, check this.
In SAP, a product hierarchy is used for pricing. A product hierarchy is an alphanumeric character string which consists of 18 characters at the most. Product hierarchy thus define the product and its composition. To take an example, a product hierarchy could be 00010002000300040005. The first four characters 0001 could indicate that the product is a car. The next four characters could indicate 0002 the plant in which the car has been manufactured. The third set of characters could indicate the color of the car. The next set may determine its engine capacity and so on. Thus, the product hierarchy helps in defining the product composition.
Pricing Procedure in Product Hierarchy
But if you want an example here goes. Say, you want to base your pricing procedure on first three digits of product hierarchy, defined in the material master, via condition technique.
Pricing structure for line item is KOMP. A quick look thru KOMP structure (tx SE11) shows that you have only PRODH field for all 18 digits of product hierarchy, whereas you need only the first three. So you do the following:
1. Create the new data element ZZPRODH1. Also create a domain with the length "3" and the data type "CHAR" for the new data element. Remember that new data fields must start with the letters "ZZ" or "YY", since SAP reserved these letters to protect them from being overwritten during a release upgrade.
2. Check whether the product hierarchy (PRODH) is found at header or at item level. In table VBAP, document field PRODH is defined as an item field.
3. Integrate the field name ZZPRODH in the communication structure KOMP using the INCLUDE KOMPAZ and allocate the data element PRODH to it.
4. Activate the structure.
5. Check in which table the field PRODH exists.
The field is in table VBAP (sales document: item data).
6. Assign a value to the new field in the FORM routines for sales order processing and billing using the appropriate user exits: In sales order processing the user exit is found in member MV45AFZZ. The complete statement is:
FORM USEREXIT_PRICING_PREPARE_TKOMP.
MOVE VBAP-PRODH(3) TO TKOMP-ZZPRODH. ENDFORM.
The routines for assigning a value to the new fields in billing are found in member RV60AFZZ. The statement is as follows:
FORM USEREXIT_PRICING_PREPARE_TKOMK MOVE
XVBRP-PRODH(3) TO TKOMP-ZZPRODH. ENDFORM.
7. Allocate the specifications A, V and 001 to the field ZZPRODH in table T681F. Use "E" has been added for fields in rebate processing.
This is a standard example from SAP Library. In this case you must tell the ABAP three things:
that your source field is VBAP-PRODH,
that you need to get the first three digits from that field into your pricing structure KOMP
and that you need to specify the transfer by user exit thru MV45AFZZ
Please note that this is a very simple example. Quite often you have to dig a lot deeper.
Modifications of Copy Control routines, making output forms (thru SapScript) and such requires you to know all the necessary tables, structures and fields.
The only advice I can give you is to use tx SE11, which will show you the organization of a table/structure, and can also help you check the contents of a specific table in a specific sales doc.
kindly reward if found helpful.
cheers,
Hema.

Similar Messages

  • Is there any retro effect for this changes we made in 2001 Infotype for

    HI Experts...
    Please advice me on the follwing absence issue.
    In my clients company.... .... one of Personnel areas employees Earned leave records are not updating in 2001 Infotype from the begining.
    Now they wish to have to update in 2001 Infotype.
    What  are the  Retro effects after updating the EL s in 2001 IT for previous dates.
    Is there any retro effect for this changes we made in 2001 Infotype for the past dates.
    We dont need retro effected from those changes.
    Please advice...
    Sai.

    HI Vincent....
    Thanks for the reply.
    Last month professional tax rates were shown up correctly only.
    For the employees slab rates are similar  that is  200 per month.
    Last month professional  tax rates  were correct only.
    For the current month also the prof tax amount is showing up correctly only.
    Please advice to get the professional tax amount in the payslip.
    Regards,
    V Sai.

  • I have upgraded my iPhone 4S to ios 6... I am surprised to see that the wi-go option is grayed out.. I did reset all the setting but no luck... Is there any fix coming for this or will apple exchange the device??? I want wi-fi option back

    I have upgraded my iPhone 4S to ios 6... I am surprised to see that the wi-go option is grayed out.. I did reset all the setting but no luck... Is there any fix coming for this or will apple exchange the device??? I want wi-fi option back

    Seems like a wide spread problem. See this post: https://discussions.apple.com/thread/4310121?tstart=0

  • I am using iPhone 4 : i OS 7. When the phone is in sleep mode i cannot disconnect unwanted incoming call, Is there any upgrade coming for this for iPhone 4 users

    Dears,
    I am using iPhone 4 : i OS 7. When the phone is in sleep mode i cannot disconnect unwanted incoming call, Is there any upgrade coming for this for iPhone 4 users. How this can be sorted

    Hello Bibhore,
    Calls can be declined by hitting the sleep/wake button twice quickly.
    Decline a call and send it directly to voicemail. Do one of the following:
    Press the Sleep/Wake button twice quickly.
    iPad User Guide - When someone calls
    http://help.apple.com/ipad/7/
    Cheers,
    Allen

  • Is there any alternative logic for this issue

    Hello all ,
    I have a  program which is executed as a background job for every 15 minutes . Now my requirement is If this batch job is successfully finished, i have to capture that time and date at which the batch job is successfully finished and update the corresponding time and date in a ZTABLE .
    In order to achieve this , i have created a separate program which will also be running in background.in this program , using the table TBTCO, i m getting the last date and  last time at which the batch job is successfully finished and modifying the ZTABLE accordingly
    Is there any alternate solution for this ?
    thanks&regards,
    G.Pavan

    Hi gpavansap,
    When you define background job in SM36, your first step should be the program which you have scheduled now.
    Create a second step in the same job with another program which would just update system date and time to the ZTABLE. No need to read TBTCO and all.
    The second step would immediately execute as soon as the first step ended successfully.
    If you don't want to create a separate program. you can have a check-box "Update ZTable Only" in the selection screen of the first program itself. If this check-box is selected, the program should only update ZTABLE and do nothing else. Create a variant of your selection screen with this check-box selected and schedule this variant as "Second Step" of your back-ground job.
    Regards
    Suresh

  • Is there any system variable for this date format 01/21/2004 18:00:32

    Hello,
    Is there any system variable for this date format 01/21/2004 18:00:32
    This is my Internal date format and my External date format is sy-datum.
    How can I validate....any suggestions will be apprecaited!
    Regards,
    Kittu

    Hello,
    Thank you very much for your response!
    My internal date format is 01/21/2004 18:00:32
    and external date format on selection-screen is sy-datum.
    My external format is stored in S_crtsp
    and internal format is stored in L_crtsp. (01/21/2004 18:00:32)
    I want to remove the time from the internal format and validate it aginst the external format.
    Any suggestions or brief explonation is appreciated...I apprecaite the help soo far...
    Regards,
    Kittu

  • After updating to ios 5, my calendar sometimes freezes when entering a new event. I have tried syncing but it doesn't fix the problem. Are there any bug fixes for this? Any ideas would be great thanks, I don't really want to have to reset everything!

    After updating to ios 5, my calendar sometimes freezes when entering a new event. I have tried syncing but it doesn't fix the problem. Are there any bug fixes for this? Any ideas would be great thanks, I don't really want to have to reset everything!

    Try to reset the iPod by  pressing the home and sleep button for about 10sec, until the Apple logo comes back again. You will not lose data doing a reset, but it can clear some glitches after installing new software or apps.

  • I want to block a number from calling and message me but how do i do this is there any app avalible for this

    I want to block a number from calling and message me but how do i do this is there any app avalible for this

    Sadly, as Call Bliss uses the built in Do Not Disturb feature, it requires that your screen be locked in order to function.
    I'm hoping (and have submitted feedback) that Apple will beef up DND to work even when the screen isn't locked.

  • I want to communicate with J1850 system. Is there any hardware available for this?

    I would like to communicate with a J1850 system. I am wondering whether there is any hardware available for this similar to CAN. Is there a possibility to find exampls for this kind of communication.

    On Fri, 16 Jul 2004 14:02:48 -0500, Mudda wrote:
    > I would like to communicate with a J1850 system. I am wondering whether
    > there is any hardware available for this similar to CAN. Is there a
    > possibility to find exampls for this kind of communication.
    I'm still new in this area but I will try to help. AFAIK, J1850 comes in
    two flavors: VPW and PWM. You can purchase an adapter that converts RS232
    signals to those required by J1850 for about $100.
    I suggest using an adapter from Scantool.net. I say this because I
    have one and it's very easy to use. It's flexible enough to use with a
    terminal (hyperterminal, minicom, etc.) or to interface with LabVIEW, as I
    have done for you already. Go to OpenG.org for the download:
    http://openg.org/tiki/tiki-index.
    php?page=On+Board+Diagnostic+-+OBDII
    Let me know if it works for you. The interface is a little weak but the
    VIs should clue you in on how to handle communications. I plan to add
    another update in a few days so check the site regularly. I would
    appreciate your feedback.
    -kevin

  • Is there any size limit for this DB?

    Hi,
    We have installed SQL Express 2012 DB and configured as a results store for the VSTS 2012 load tests.
    Do we have the size restriction of 4 GB to this DB as well? or we dont have any size restriction for this DB?
    Thanks in advance.
    Regards,
    Y.S.Sridhar

    Hi 
    Express maximum db size limit is 10gb
    http://msdn.microsoft.com/en-us/library/cc645993(v=SQL.110).aspx
    vt
    Please mark answered if I've answered your question and vote for it as helpful to help other user's find a solution quicker

  • The lights under my keys keep going on and off far too often ... Is there any particular reason for this or should I take it in for a service or what?

    The lights under the keys keep going on and off too much for my liking is there a particular reason for this or is there a problem with it ?

    System Preferences > Keyboard > Keyboard
    Turn off when computer is not  used for:
    Increase the time interval.

  • Hi my ipad 2 is 18 months old and is cracked around the home button is there any apple assistance for this

    Hi my ipad recently cracked around the home button and it is pretty sharp it is 18 months old is there any assistance for this thanks

    It will cost you approximately US$219.00 to US$299.00 depending on the model.
    Apple will replace the entire iPad; they don't repair.
    http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipad

  • Is there any java runtime for this pocket PC?

    Hello all,
    Is there any java runtime/compiler for compaq pocket pc with ARM SA1110 processor??
    Can i use the personaljava Version 1.1, Beta 1 ??
    Is it possible to run XML api on pocket pc with the above config?
    Thanks.

    You can also use the kXML parser from the Enhydra organization (http://kxml.enhydra.org/). This is a package of XML parsing and DOM generation utilities specifically designed to run on small devices. Note, however, that to make it efficient for small devices, they are not W3C compliant.

  • Not equal to operator in KQL i.e. for string comparison is not working. Is there any other approach for this?

    In KQL my query is like this,
    refinablestring05<>9c460541-5979-44ec-b0ab-63d1823f922f
    but looks like operator <> not working. It is not throwing error at all and always shows result.
    Any one can help me out for this?

    use NOT operator so it would be "NOT refinablestring:something"
    kashif

  • Is there any customer support for this product?

    I have a client who has sent me two documents. When I log on using my Adobe ID it says
    the Document could not be found because of one of the following reasons:
    * Document was rejected by one of signatories
    * Document was cancelled by initiator
    * Document was deleted by initiator
    * Document has expired
    My Adobe ID is not the same as the email I use everyday and I don't see a place to add additional emails. Now I have three Adobe IDs
    How do I contact Customer service or tech support for this product?

    Yes, this is exactly what I'm wondering too. Without it, we can't build any apps that download content without the risk of the content being deleted.
    Here's the background before Apple introduced the new "do not back up" attribute:
    http://www.marco.org/2011/10/13/ios5-caches-cleaning
    Fortunately, Apple addressed it after that blog post in 5.0.1. See bullet #4 here, quoted below
    https://developer.apple.com/icloud/documentation/data-storage/
    Q:  My app has a number of files that need to be stored on the device permanently for my app to function properly offline. However, those files do not contain user data and don't need to be backed up. How should I store those files in iOS 5?
    A: Starting in iOS 5.0.1 a new "do not back up" file attribute has been introduced allowing developers to clearly specify which files should be backed up, which files are local caches only and subject to purge, and which files should not be backed up but should also not be purged. In addition, setting this attribute on a folder will prevent the folder and all of its contents from being backed up.
    Important: The new "do not back up" attribute will only be used by iOS 5.0.1 or later. On iOS 5.0 and earlier, applications will need to store their data in <Application_Home>/Library/Caches to avoid having it backed up. Since this attribute is ignored on older systems, you will need to insure your app complies with the iOS Data Storage Guidelines on all versions of iOS that your application supports.
    Now we just need Adobe to support the attribute in the AIR SDK. What do you say Adobe?

Maybe you are looking for

  • Bought a new computer, and don't want to loose data...

    Ok, I'm sure a lot of people claim this, but I'm really just trying to help a friend. They bought a new Windows7 PC and we transferred over all their info from their old WinXP box. Apparently not all of the songs transferred, and none of the playlist

  • Hp mini 110-3500 no audio

    ..no audio after formatting .. How can i check if my soundcard onboard is not working? the driver it self is the same after i format cause i used driver backup util.  

  • NameTrans pfx2dir with 'from' as wildcard?

    Hi, Is it possible to use a wildcard in the 'from' parameter of a pfx2dir NameTrans directive? This is with Web Server 6.1. I've tried all sorts of ways but nothing seems to work. What I'm trying to do is convert several permutations of a URI, e.g.:

  • Using Interactive forms in webdynpro java.

    Hi, I am very new to Interactive forms.I need some real help from developers. My scenario is i am having an Table in PDF Form having dropdown as one column and remaining columns with input fields. 1) I have to get the data from R/3 and populate the d

  • How is utilization index calculated?

    Hi there, When I create a dashboard widget, I can select from top highest or top lowest utilization. I am curious how the utilization is calculated? Is it average over all metrics or is there some sampling? Thanks, -Nigel