Need Active Ingredient  table field & its calculation from batch chars

Hi All,
Creating a report where Active Ingredient(AI) table field is needed. Further per batch AI content need to be determined based on AI characteristics in batch & planned value of AI in material master for a material. Please help me in finding out the table & its field for AI uom & value of AI chars in batch & in material master. I checked in table "AUSP" but value of AI is coming as blank in this table.
Thanks in advance,
Regards
Jack

Thanks for your reply. But these tables are not helpful.
Regards,
Jack

Similar Messages

  • Need to find table/field behind "Item long text" field in Notes tab in FB70

    Hello,
    To print a custom FI invoice, I need to access the data entered in the "Item long text" field of the Notes tab in FB70. To test, I used 5000 characters in that field to make sure it stood out from the rest of the data. F1 help does nothing on that field, and even running an SQL trace (ST05) doesn't show the text in that field being entered into any table. I tried F1 on a nearby field and got a structure instead of a table, so I investigated the structure through SE11 but found no character field with such a large capacity. How else can I find where that field is stored?

    Thanks! It took a while, but with your help and a few other pages I managed to piece together an answer.
    Vinod helpfully explained that the text name is a concatenation of various fields, but didn't specify how to find the line item ID. If you go to table STXH (as hinted by Brad and confirmed [here|http://fuller.mit.edu/SAPWebDocs/LongComment.html]) and search for texts created today (or whenever you were testing), you'll see the text name ends in '001' after GJAHR, so the line item ID is '001' regardless of how many line items you enter in the invoice.
    Armed with that info, you can call READ_TEXT and loop through the results to concatenate the contents of each TDLINE field. (FB70 automatically breaks the user-entered text into different lines even if the user didn't press Enter, and each line gets its own record in the results.)
    Thanks again,
    Pedro

  • RFC Function module needed for getting table details in APO from R/3

    Hi,
    I need a RFC function module where I can write a query from R/3 to access APO server database table and get the necessary records.
    Regards
    Mac

    Possible ways
    1. Call fm RFC_READ_TABLE and give destination and table name ( But i am not sure how it will work SCIF enviornment of APO)
    or
    2. Create a custom function module in APO side and call from R/3 side using destnation option

  • Active Directory cn field not updated from sap HR using ldap.

    Hi,
    Apologies if this is in the wrong forum area.
    I am using the LDAP facility to create and modify Active Directory records from sap HR. Initially, the name field cn that was coming across into AD was in the format of the logical system and employee number, eg, RD4CLNT22000000711.
    I then implemented the BADI HRLDAP_ATTRIBUTES which then changed this name field cn in the active directory listing to the format; surname, forename.
    It works fine when I create a new user, however the problem comes when I update the persons name in the sap hr module. The data that comes across into Active Directory shows the change to the persons surname sn, forename and displayname fields is there but the cn field is still showing as the previous name.
    In short, when a new user is created, the cn field in active directory is correct
    (surname, forename) but when the employee’s name is modified, that change is not brought across to the cn field even though the surname, forename and displayname fields are updated correctlyon AD.
    We are on release 4.70.
    Anyway, if anyone could help I would be very grateful.
    Thanks
    David

    Hi
    The problem it is causing us is that the cn field is incorrect and does not mirror the change in sap HR, therefore the Active Directory entry for the employee is not totally accurate.
    When an employee changes their name in SAP HR - usually their surname, we would then want to update the employee’s active directory account to show this change and this includes the cn field also. At the moment the firstname, lastname fields do get updated with the change so we would want the cn field to show this as well otherwise the cn field would be incorrect and not match up with the employee's AD firstname & lastname fields.
    Dave

  • Need Special Stock (Tables & Fields) details

    Hi Experts,
    My requirement is to find the opening stock for a particular month.
    I fullfilled this with the help of MBEWH, MARDH, S031...etc.
    But My point is it is showing only valuated stock,
    And I cannot find the special stock (Consignment),
    Can anyone please help me where the Special stock(Consignment) for the particluar material is stored.
    Special stocks are indicated by 'K' in MSEG-SOBKZ.
    Thanks & Regards,
    Dileep .C

    I found myself,
    MKOLH
    Dileep .C

  • Can we create a table field with more than 1200 char length

    Hi,
       As per business requirement, need to create new table - and one of the field should contain 1200 char length. i found the sap data element but when i was activating it was throwing an error.. is there any alternative for this.
    Thanks in advance.

    hi jayasri,
    Can you use datatype as LCHR for the character string.
    before creating the string you need to decalre one INTEGER field.
    you can refer to the table EDID4 where SDATA field declared.
    check for the data  type EDI_SDATA.
    Hope this will solve your problem.
    Regards,
    Madhavi

  • Transferring field "Unloading Point" from ECC to SRM

    Hello Everybody,
    I need to pass the field "Unloading Point" from the ECC side to the SRM side. Currently, SAP doesn't transfer this field when we execute the program BBP_EXTREQ_TRANSFER.
    The field Unloading Point has been enabled in the SRM and is displayed properly for any Shopping Cart created there.
    In order to pass the field, I have explored the BADI - BBP_BADI_EXTREQ_OUT, but there is no field in this BADI which can be used for passing the Unloading Point.
    One solution that I have is to create a custom field in the BADI structure and then move the Unloading Point in this custom field. But then again, a question arises, how will SRM know that this is the Unloading Point field.
    Also, will any of the following BADI's do the trick?
    BBP_CREATE_REQ_BACK
    BBP_TARGET_OBJECTS
    BBP_CREATE_BE_RQ_NEW  
    BBP_GROUP_LOC_PO
    Please let me know if there is any solution for this problem.
    Thanks & Regards,
    Nikhil.

    Hi Disha,
    Thank you for your prompt reply.
    As per your recommendation, I looked at the BADI "BBP_DOC_CHANGE_BADI", but it seems that the BADI is triggered when we order or hold the shopping cart and not when we transfer Purchase Requisitions from ECC.
    Also, I had seen the thread previously, but it wasn't helpful to me.
    I will be just creating the PR in the ECC side, and won't be having any SC in the SRM before I execute the program BBP_EXTREQ_TRANSFER. I want the field Unloading Point to be moved for every PR created whenever the program is executed.
    If I have missed your point somewhere, do correct me.
    Thanks!
    Nikhil.

  • I buy new iphone but i have problem in my mobile. it's need activation and i dont no how to active its need sim activation but i take it from UK and my brother send me this phone in saudi arabia    i am old coustomer of apple so please help me i am suck

    i buy new iphone but i have problem in my mobile. it's need activation and i dont no how to active its need sim activation but i take it from UK and my brother send me this phone in saudi arabia    i am old coustomer of apple so please help me i am suck

    If the phone is locked to a carrier then you will need the carrier to unlock it And only the carrier can do that.

  • Help with writing and retrieving data from a table field with type "LCHR"

    Hi Experts,
    I need help with writing and reading data from a database table field which has a type of "LCHR". I have given an example of the original code but don't know what to change it to in order to fix it and still read in the original data that's stored in the LCHR field.
    Basically we have two Function modules, one that saves list data to a database table and one that reads in this data. Both Function modules have an identicle table which has an array of fields from type INT4, CHAR, and type P. The INT4 field is the first one.
    Incidentally this worked in the 4.7 non-unicode system but is now dumping in the new ECC6 Unicode system.
    Thanks in advance,
    C
    SAVING THE LIST DATA TO DB
    DATA: L_WA(800).
    LOOP AT T_TAB into L_WA.
    ZDBTAB-DATALEN = STRLEN( L_WA ).
    MOVE: L_WA to ZDBTAB-RAWDATA.
    ZDBTAB-LINENUM = SY-TABIX.
    INSERT ZDBTAB.
    READING THE DATA FROM DB
    DATA: BEGIN OF T_DATA,
                 SEQNR type ZDBTAB-LINENUM,
                 DATA type ZDBTAB-RAWDATA,
               END OF T_TAB.
    Select the data.
    SELECT linenum rawdata from ZDBTAB into table T_DATA
         WHERE repid = w_repname
         AND rundate = w_rundate
         ORDER BY linenum.
    Populate calling Internal Table.
    LOOP AT T-DATA.
    APPEND T_DATA to T_TAB.
    ENDLOOP.

    Hi Anuj,
    The unicode flag is active.
    When I run our report and then to try and save the list data a dump is happening at the following point
    LOOP AT T_TAB into L_WA.
    As I say, T_TAB consists of different fields and field types whereas L_WA is CHAR 800. The dump mentions UC_OBJECTS_NOT_CONVERTIBLE
    When I try to load a saved list the dump is happening at the following point
    APPEND T_DATA-RAWDATA to T_TAB.
    T_DATA-RAWDATA is type LCHR and T_TAB consists of different fields and field types.
    In both examples the dumps mention UC_OBJECTS_NOT_CONVERTIBLE
    Regards
    C

  • Need to add new fields to the condition table

    Hello All,
    The requirement is to create the new condtion table for MM containing the following fields and maintain the entries in this table:
    - client
    - characteristic
    - class
    - internal characteristic.
    THe condition tables are created via tcode M/03 or through the customizing path
    Material Management > Purchasing > Conditions > Define Price Determination Process > Maintain Condition Table.
    The problem which i am facing is as follows :
    -SAP has the standard procedure for the generation of the condition tables . Selected fields are made available by SAP in the field catalog and we can select only from the those available fields. Once we select the required fields the condition table is automatically generated in the background.
    -As the requirement is, we need to have 4 fields in the generated condition table (client, characteristic, class and internal characteristic), but the problem is that none of these fields are available in the field catalog which is provided by SAP (in tcode M/03, M/04 and M/05).
    -Designing of the Z table wonu2019t be useful as we would not be able to use the Z table as the condition table.
    Can you please suggest how can we add the desired field to the existing field catalog in M/03 or is there any other alternate solution to this ?
    Thanks in advance for your help.

    >
    Rinkesh Doshi wrote:
    > Hello,
    >
    > The specific ABAP question which I have is :
    >
    > Is there any way in which we can enhance the existing field catalog in M/03 tcode to include the 4 new fields (client ,characteristic,class,internal characteristic) ?
    >
    > Thanks.
    Please post your code which you developped until now and show us where the problem is. I cant see any ABAP related question.

  • How can I get a calculation on one field to complete after calculation from another is done?

    I have a form that is used to calculate mileage for multiple trips.
    Miles to be reimbursed field (reimb1) is calculated from miles drive minus personal commute (for example, I drove 20 miles, but 5 of it was from my home and not reimburseable). AFTER that calclation comes up that number (theoretically 15 miles) is used in a total miles field regardless of whether or not I'm calculating one or multiple trips. From there, a hidden field calculates the total miles multiplied by the currect mileage reimbursement rate of .565.
    The way I have the various fields set up does in fact return the correct miles (15), but calculates on the 20.
    How do I get the total miles to "react" on the final number that shows in the reimburse field.
    Also, on odd numbers, it's not rounding up. I've seen several of your posts here and others in a general internet search on how to "round up" but I can't get them to work (probably because I can't get the other fields to work!). In the above hypothetical, I need the final answer of $8.48 to show for the reimbursement amount, not $8.475.
    The form also doesn't seem to reset itself. For example, if I resuse it or if I go back and make a correction, it still uses the very first entry I put in some of the fields. I've never had this happen.
    Thanks,
    Page

    When you reset a form it goes back to the default values, which are not necessarily blank... You can edit that value under the Properties of each field.

  • How to get data from COSP table, field HRKFT as the key to data from PM?

    Dear ladies and gentlemen!
    I need to get data from COSP table, field HRKFT as the key to data from PM tables (AFKO and AUFK).
    The problem is that it is a key field to the COSP, and all non-key fields as an alternative to HRKFT are not suitable for this task.
    All this is necessary for the extractor, which loads the data from the R \ 3 systems in the BW-system. I need to perform SELECT from a table COSP and maybe also JOIN, most likely between tables COSP and AUFK.
    What should I do in this case?
    Thank you very much in advance!

    From information on help.sap.com I've made a conclusion that one of possible solutions in theory is to modify standard extractor PM_OM_OPA_1 in order to make HRKFT field available for work, because by default it is hidden by SAP and not available for use as a key field.
    Of course, it's not a very good solution, but for now I know no other way to solve this problem.
    Maybe someone knows better ways? In this case I will be very grateful for any help!
    Moderator: You'd better post it on BI forums

  • Table EKPO - PO Active/Closed Indicator field exist ?

    Hi,
    I am not an MM guy. But, i am writing a report based on MM.
    I would like to know, whether any indicator field exist in EKPO table, that will give the status of an PO for a given material ? If exist, what is the name of the field and what value does it contain that indicates, whether the PO is active/closed ?
    If not in EKPO table, then which table/field contains the above required info, which will also have matnr and werks fields within it ?
    Thanks,
    Gaurav.

    Hi,
    please check EKPO-STAPO which is a statistical indicator.
    If a purchase order item is deleted, the item is marked as 'statistical'       
    (field EKPO-STAPO = X) .                                                                    
    However, if for the item the final invoice indicator (EKPO-EREKZ) or the       
    inward delivery completed indicator (EKPO-ELIKZ) is set, the item is not       
    marked as 'statistical' (EKPO-STAPO is not set).
    Just in case it is needed, note 358293 contains report zkstapo to correct ekpo-stapo where the      
    field is set but no deletion indicator is set.
    Regards,
    Edit

  • How to create Button which size is calculated from its text ?

    I think JButton works like this: either in constructor or by setText() method the text is set and according the lenght, font and fontRendererContext preffered size is calculated before the layout manager ask for the prefferedSize for first time.
    I want to override paint() method because i want to draw my own text(and the only way i discovered how to force button not to paint text is to set text to
    null or empty String). I want the button to be as long as length of text plus insets.
    But layout manager ask for preffered size before paint method is invoked but i find out what size should be in paint method because i need graphics
    parameter to get FontRendererContext from it. So layout manager shrink button to minimum because first time the preffered size calculated from null or
    empty String is returned.
    public class MyButton extends JButton {
            public MyButton() {
                this.setText(null);  //or setText("");
                this.setContentAreaFilled(false);
                this.setFocusPainted(false);
                this.setBorderPainted(false);
                                                          ////already here i need to know what the size should be
            @Override
            public void paint(Graphics g) {
                Graphics2D g2 = (Graphics2D) g;
                TextLayout textLayout = new TextLayout("MyButton", this.getFont(), g2.getFontRenderContext());
                Rectangle2D boundsOfText = textLayout.getBounds();                                                                    /////////here i find out what size should be
                this.prefferedSize = new Dimension((int)boundsOfText.getWidth()+10,(int) boundsOfText.getHeight()+10);
                g2.setColor(Color.WHITE);
                g2.fillRoundRect(1, 1,(int)getPreferredSize().getWidth(),(int) getPreferredSize().getHeight(), 10, 10);
                g2.setColor(Color.BLACK);
                g2.drawRoundRect(1, 1,(int)getPreferredSize().getWidth(),(int)getPreferredSize().getHeight(), 10, 10);
                g2.drawString("MyButton", 7, (int)boundsOfText.getHeight() + 6);
                g2.dispose();
        }So how can i do that? How can JButton know prefferedSize before its paint method is invoked?

    The previous example was simplified.
    public class MyButton0 extends JButton {
        private String myText;
        public MyButton0(String text) {
            this.myText = "Button";
            //this.myText = text.toUpperCase();
            this.setFont(new Font("SansSerif", Font.PLAIN, 13));
            setContentAreaFilled(false);
            setBorderPainted(false);
            setFocusPainted(false);
        @Override
        public void paint(Graphics g) {
            Graphics2D g2 = (Graphics2D) g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
            //backround painting
            GradientPaint background = new GradientPaint(0, 0, new Color(255, 255, 255), 0, getPreferredSize().height / 2, new Color(0, 0, 0), true);
            if(getModel().isRollover()){
                background = new GradientPaint(0, 0, new Color(255, 255, 255), getPreferredSize().width , getPreferredSize().height , new Color(0, 0, 0), true);
            if(getModel().isPressed()){
                background = new GradientPaint(0, 0, new Color(255, 255, 255), 0, getPreferredSize().height / 2, new Color(210, 210, 210), true);
            g2.setPaint(background);
            g2.fillRoundRect(1, 1, getPreferredSize().width - 3 , getPreferredSize().height - 3, 10, 10);
            //Border painting
            g2.setColor(new Color(255, 255, 255));
            g2.setStroke(new BasicStroke(2.0f, BasicStroke.CAP_BUTT, BasicStroke.CAP_BUTT, 10.0f));
            g2.draw(new RoundRectangle2D.Double(1, 1, getPreferredSize().width - 3, getPreferredSize().height - 3, 10, 10));
            //text paiting
            g2.setFont(getFont());
            TextLayout tl = new TextLayout(this.myText, getFont(), g2.getFontRenderContext());
            int startPositionOfText = getPreferredSize().width - (int) tl.getBounds().getWidth();
            startPositionOfText = startPositionOfText / 2;
            g2.setColor(new Color(255, 255, 255));
            g2.drawString(this.myText, startPositionOfText -2, getHeight() / 2 + 5);
            g2.dispose();
        @Override
        public Dimension getPreferredSize() {
            return new Dimension(133, 31);
    }Assume text is so long as doesn't fit inside button. I have hard-set preffered size but i would like to calculate preffered size from text lenght.
    Or i need calculate startPosition of text to center it. But i don't want have preffered size hard-set.

  • Calculated non-base table field in a tabular form

    I am struggling with creating a non-base table calculated field in a tabular form in ApEx 3.1
    Can you point me in the right direction
    I thought this would be fairly easy to do, but I cant work out how to do it
    Requirements
    1) Tabular Form based on a table with QTY and PRICE columns
    2) TOTAL is a non-base table field, based on QTY * PRICE
    3) If the Qty or Price changes, the TOTAL should be re-calculated
    Example
    QTY   PRICE  TOTAL
    ===    =====  =====
    3       5          15
    10      50         500
    20      3           60
    Environment
    ApEx 3.1, Oracle 10 and Oracle 11 databases
    I recommended to upgrade to a newer version of ApEx but the request was rejected so Im stuck with 3.1

    Thanks, but its not the solution that I am after
    I am looking for a solution that will ...
           1) not require the calculated value TOTAL to be stored in the table
    and 2) re-calculate the TOTAL when I modify the dependent values (QTY and PRICE) before I save the changes to the database
    I am still looking for a solution if anyone can help

Maybe you are looking for

  • Call tcode from alv report and passing  group of values

    hi all . i want to call tcode from alv report and passing an internal table or group of values to a selection option of that t code ? how ex. passing group of GL to fbl3n and display the detials of all . thank you

  • FCP X - How to change the length of a project

    Hi everyone, Have been working on a music video in FCP X.  I'm at the stage now where the cut is done, and I want to proceed to do a little color grading and then final export.  I have a strange problem that I can't seem to get around, and the manual

  • Problems with Suitcase 11

    I recently installed Suitcase 11 on a newly rebuilt Dell Workstation. Font management has gone smoothly so far. But a couple of my Arial fonts aren't working well in Illustrator and Photoshop. They all work well in MS Office apps. Most of the Arial f

  • No facetime icon ever

    i bought my iPhone 4 from saudia arabia  and i know it dosent have facetime icon on it so i travel to jordan i use jordanian network now and its ok for using facetime here for other iphones !! why facetime cant be just appear in my phone !!!!

  • OBIEE field reset

    Hello, I will try to illustrate my problem below: TextBox -> information_generated(containing id) -> TextBox2 -> information_generated_based_on_previous_id. The problem is the fact that, after i input new information in TextBox and new information is