Not getting BOM value

Hi all,
here i want to fetch BOM value for this i write code like below.
SELECT a~budat a~mblnr b~matnr b~menge b~bwart d~idnrk
INTO CORRESPONDING FIELDS OF TABLE it_rawmat
FROM ( ( mkpf as a inner join mseg as b on a~mblnr = b~mblnr )
* inner join mast as c on c~matnr = b~matnr )
inner join stpo as d on d~idnrk = b~matnr )
where b~bwart = '261' and b~werks in werks and b~matnr in matnr and a~budat in budat. "and d~idnrk in idnrk.
IF sy-subrc 0.
MESSAGE ' No Data For This Selection' TYPE 'I'.
SUBMIT ZPP_RAWMAT_CONSUMPTION VIA SELECTION-SCREEN.
ENDIF.
LOOP AT it_rawmat.
select single maktx
from makt
into it_rawmat-maktx
where matnr = it_rawmat-matnr.
select single matnr menge
from mseg
into (it_rawmat-matnr1, it_rawmat-menge1)
where mblnr = it_rawmat-mblnr AND bwart = '131'.
SELECT SINGLE maktx
from makt
into it_rawmat-maktx2
where matnr = it_rawmat-matnr1.
* SELECT single matnr stlnr
* from mast
* INTO (it_rawmat-matnr3, it_rawmat-stlnr)
* where matnr = it_rawmat-matnr1.
select SINGLE menge
from stpo
into it_rawmat-bomit
where idnrk = it_rawmat-matnr.
according to above code i get value of BOM filed in ALV which is previous ALV field value.
means BOM value and previous filed value both are same.
So can u please kindly help me out.
Thanks in Advance.
keyur

data is getting but ALV problem

Similar Messages

  • Not getting field value in Input field of field exit

    Hi all
       I  am using field exit for data element GWLDT in transaction code IE02. But in this field exit I am not getting the value entered in the field "Begin guarantee date(GWLDT)" in the INPUT field of field exit.How I can get the value in the INPUT field of field exit?
    Regards
    Deepak

    Use this statement in source code.
    output = input.

  • JPA Error:Could not get a value to be injected from the factory

    HI friends ,
    I am  trying to replicate the example JPAEXample01 using JPA in CE1 from  the blogs written by
    Sabine Heider/Adrian Görler.
    During the testing of the method create employee i am getting the following error.
    "Could not get a value to be injected from the factory."
    I tried couple of examples using the above process, still held up with same error.
    Any pointers to trouble shoot this ?
    Thanks in advance
    Chandra Dasari

    HI Isaias Cristiano Barroso,
    There are lot of enries most of them pertaining to properties set to yes or no.
    out of which therre are tow errors. the log is as follows
    Message Info: Failed (javax.management.MBeanPermission,#[:j2eeType=trace,name=EndToEndCentralMBean,],isActive,getGuidByName,getTraceLevelByName,getTraceLevelByName,importTrace,isFileExistsLocally,removeTraceFile)java.lang.reflect.InvocationTargetException
    Failed (javax.management.MBeanPermission,*,DISPLAY)java.lang.reflect.InvocationTargetException
    category: com.sap.security.core.role.PermissionData
    Location:com.sap.security.core.role.PermissionData.get(ClassLoader)
    Frankly the above log is above my understanding ,Prob it may help to you undertand my the issue
    Thanks once again

  • JAPEXample01 published in sdn:error Could not get a value to be injected

    HI friends ,
    I am  trying to replicate the example JPAEXample01 using JPA in CE1 from  the blogs written by
    Sabine Heider/Adrian Görler.
    During the testing of the method create employee i am getting the following error.
    "Could not get a value to be injected from the factory."
    I tried couple of examples using the above process, still held up with same error.
    Any pointers to trouble shoot this ?
    Thanks in advance
    Chandra Dasari.

    HI Pritya Ranjan,
    Let me know the entities  and their relations ships you are using for quicker response.
    To know the proper error, use the path as mentioned
    nwa->problem management ->logs & traces->locks.
    Email the error code,
    The issue might be because of some many probabilities mentioned below.
    Point no 1
    Are you using Named queries  : If so check the queries syntax, the syntax used here is different from regulat sql queries.
    Point no 2:
    Are you using Java DIctionary  or generic  db and connecting to max db?
    check this part also
    Point no 3:
    Check your connection profile parameters:
    Point no 4 :
    Check the data-source-alias,persistence.xml and data-source.xml parameters..
    Beacuse i trouble shooted a lot on JPA's and found why the typical error's occurs.
    Regards
    chandra dasari

  • I can not get link-value  from af:tree.

    Hello.
    I use jdeveloper 10g.
    I can not get link-value from tree.
    I use following code:
    <f:facet name="nodeStamp">
    <h:panelGroup binding="#{backing_dialogDic_dic_ETS.panelGroup1}"
    id="panelGroup1">
    <h:outputText value="#{item.vidNum} #{item.vidName}"
    binding="#{backing_dialogDic_dic_ETS.outputText1}"
    id="outputText1"/>
    <af:commandLink
    binding="#{backing_dialogDic_dic_ETS.commandLink2}"
    id="commandLink2"
    action="#{backing_dialogDic_dic_ETS.returnObject}">
    <af:setActionListener from="#{item.idVid}"
    to="#{processScope.ETSId}"/>
    <af:objectImage source="/images/icons/10.gif"
    shortDesc="Выбрать"
    binding="#{backing_dialogDic_dic_ETS.objectImage2}"
    id="objectImage2"/>
    </af:commandLink>
    </h:panelGroup>
    </f:facet>
    </af:tree>
    //in java bean:
    public String return_Object() {
    Object ob = JSFUtils.getManagedBeanValue("processScope.ETSId");
    System.out.println(o);
    return null;
    In console I see null.
    How I get this value???
    I can get this value if i use treeTable instead of tree.
    Thx, Dema.

    Hi,
    not that I think it matters, but the processScope is not a managed bean but a memory scope. So if
    JSFUtils.getManagedBeanValue("processScope.ETSId");
    assumes a managed bean then this may be incorrect as most likely there exist no managed bean with this name. You should be able to access the process scope from AdfFacesContext.getProcessScope(), which then returns a Map, which you call get("ETSId") on
    Frank

  • Object - MLST_NETW container not getting the values?

    Hi,
    I created a custom FM for the object -  MLST_NETW and event STARTED 
    and in the workflow container  I created Element for this object - by selecting Obect type  - MLST_NETW
    Now the problem is - When we do status change in tcode - CJ20N it is triggering the custom worklfow but in the worklfow container it is not getting any values.  Container fields are empty.  I need to get the project defination field value to the workflow.
    Can any one tell me what could be wrong?
    Thanks in advance.
    M.

    Hi Murali,
    Yes. Binding for event to workflow not defined.
    For that, press Ctrl + F8 in the workflow template then it will take you to verision dependent tab. There you can find the start events tab.
    Here only you entered the Business object and event. Right? So there one button is there for binding. CLick on it and check whether event to workflow binding has done or not.
    Event container EVT_OBJTYPE should binded with your workflow business object.
    Thanks.

  • Not getting any value in my method

    Hi,
            I wnat to use  attributes value Company code in my custom method in the BUS ZZBUS2081 . company code is key field of another BUS  BUS0002. For that I am using  swc_get_element CONTAINER 'CompanyCode' COMPANYCODE. but when I am executing BUS zzbus2081,attributes value is populated but i am not getting this value in my custom method. please help.

    You can try to do some thing like this
    1. First if you want to access the key element of the BOR then first import the instantiated BOR from which you want to access the attributes.
      In your case it is BUS0002
    DATA:    lv_obj    type swc_object.
    swc_get_element container '<name of the instantiated BOR>' lv_obj.
    2.once you have the instantited bor element in the Mehtod then make use of the macro
    SWC_GET_PROPERTY
    please check the below snippet
    swc_get_element  container     '_Workitem'          lv_wi_object.
    swc_get_property lv_wi_object  'Workitemid'         lv_wiid.

  • OWHS table not getting any value in PLD

    I am trying to make a pld in which i want to pull the database table owhs and place the warehouse address i am not getting any value in the PLD however there is adress in the ware house field still its not getting me any result
    Please help
    Regards,
    manish

    Hi Manish....
    Even if you get the OWHS table you wont get the address format as you desire. That is complete concatenated address. It will be like city, street, country like that.....
    Regards,
    Rahul

  • Not getting attribute values in IPC routines Scenerio R/3 B2B using AP 7.0

    Hi,
    Our Scenerio is using ISA R/3 B2B using AP 7.0. I have developed IPC routines but when i debug my routines in SM53 I notice that I'm not getting any attribute value except for VKORG.
    I'm pasting the code below. Please help me if I have to implement some BADI or do something more to get the attribute values.
    I have defined the attributes properly in Routine assignment in tcode /n/sapcnd/ueass
    userexitlogger.writeLogDebug("*requirment 901*" + "Plant = "plant"||ANZ_MONATE ="+ item.getAttributeValue(ANZ_MONATE_STR).toString()"||ANZ_JAHRE="item.getAttributeValue(ANZ_JAHRE_STR).toString()"||MATKL="item.getAttributeValue(MATKL_STR).toString()"||PSTYV="item.getAttributeValue(PSTYV_STR).toString()"||VKORG="item.getAttributeValue(VKORG_STR)"||PRSFD="item.getAttributeValue(PRSFD_STR)"||MVGR2="item.getAttributeValue(MVGR2_STR).toString()"||PRSDT="item.getAttributeValue(PRSDT_STR).toString()"||AUDAT="item.getAttributeValue(AUDAT_STR).toString());
    I would reward points for help
    Many Thanks n regards,
    Dipender

    I would like to go through each Value of the xml file and give each Value a name
    e.g. from the xml file <VentCount Value=1> Retreive the value above and giving it the name VentCount. Then I would beable to use the name vent count as follows:
    setVentCount() //My own method can use as follows: setVentCount(VentCount); I would like to do his for ever value, each value with a specific name

  • Index array is not getting new values from DAQ

    I am measuring force values with my DAQ card and these values are always changing.  However, in my programming something is not working right with the way I have things set up.  After my DAQ I have a "Convert to Dynamic Data" and after that I have an "Index Array".  When the program is executing and I turn on the highlight option I do not get changing force values after the "Convert to Dynamic Data" and therefore no changing force values enter my "Index Array".  Whaterever the first value is that gets passed to the "Convert to Dynamic Data" is the only value that I get for the remainder of the program.  I tried plugging in an indicator between the DAQ and the "Convert to Dynamic Data" and it did show varying values.  Please help with my program.  I have tried messing with the properties of the "Convert to Dynamic Data" and nothing has worked.  I am stuck and cannot see how to fix this problem.  I have attached my program as it is currently put together.
    Thank You In Advance,
    Gabe.
    Attachments:
    Actuator_Gabe_Oct27_Flat_Sequence_XY_+Measurement_File.vi ‏131 KB

    Please know that the best option is to review the concepts discussed to further understand programming in LabVIEW.  Perhaps you could take a look through ni.com/gettingstarted and ni.com/lv101 to have a look at some of the online help materials.  I have included a VI snippet of the while loop containing the changes.  Further, the code you attached contains a lot of customer controls and VIs, which are not common to all LabVIEW users.  It is a best practice to only attach the code of value to the question/post, and to have the most simplified version of the problem.
    Best,
    Adam
    Academic Product Manager
    National Intruments

  • Could not getting field values from form

    hi,
    hellow, can you help me for solving the bellow problem
    i have form its enctype attribute of form tag is setted as multipart/form-data. when i am submiting this form, i call a request.getParameter(); in the submitting jsp file. But for any controls such as text,checkbox,select box etc could not get its corresponding value.

    Its obvious why its not picking up the change in the second action.
    Lets see...
    Here is your case I
    You get the populated form which is also put in the request with updated value from the JSP....
    (1)
    protected Forward updateGoalObjective(GoalsForm form)
    form.setGoalId(44); //int field set to 44
    return new Forward("success");
    You set one of the fields some other value....in one but how will the second action know about it???
    You try to execute the second action and the action grabs the form from the request again. This is the original form submitted by the JSP so you still see that value...
    You will have to pass in the customized or processed form for the form to be able to get it...
    protected Forward showGoal(GoalsForm form)
    System.out.println(form.getGoalId()); //prints 68
    return new Forward("success");
    In your second case you create a new form...why would you want to do that if you have a form value being set in JSP??
    The answer is you should be doing something Like this:
    * @jpf:action form="goalsForm"
    * @jpf:forward name="success" path="showGoal.do"
    protected Forward updateGoalObjective(GoalsForm form)
    //other code
    form.setGoalId(44); //int field set to 44
    return new Forward("success", form);
    * @jpf:action form="goalsForm"
    * @jpf:forward name="success" path="Goal.jsp"
    protected Forward showGoal(GoalsForm form)
    System.out.println(form.getGoalId()); //prints 68
    return new Forward("success");
    }

  • BI Query with Hierarchy in VC does not get correct values

    Hello Gurus,
    I am building a model in VC for Performance Score card using Query as data service.
    I have  the following problem.
    When I execute query in BEx with Hierachy_node variable , it is getting correct values, but the same is getting incorrect values in VC.
    The Hierarcynode variable I am using is a TOP node, then the values including child nodes are also should be displayed, which is working fine with BEx query but not in VC.
    When I execute the query with hierarchy node value as child node I am getting correct values both in VC and in BEx.
    The correct values are not shown only when I use top nodes.
    Please help me in this regard.
    Thanks in advance
    Ganesh

    Hi
    We are facing the same issue. Is this issue resolved? Pls let us know the solution
    Regards
    Aruna

  • Not getting correct values in ODS

    BW gurus
      when i do delta loads for ODS i am getting strange values into my ods.How ever if i do full loads on ods ,i am getting correct values(same values as RSA3).
    1 .Any idea why i am getting wrong values if i do delta   loads .
    2.If i make this ods as full load(currently delta) ,there are already few reports on this ods ,Will there be any effect on those reports?

    Riccardo,Tony
    Thanks for your quick reply.
    I have in ods as follows
    Asset  fisper   qty
      1     006.2006   2
      1     007.2006   3
    Now i have added 2 more assets to period 6
    in RSA3 is ok as follows
    Asset  fisper   qty
      1     006.2006   4
      1     007.2006   3
    In ods with delta load is  not ok as follows
    Asset  fisper   qty
      1     006.2006   9
      1     007.2006   3
    In ods with full load is OK as follows
    Asset  fisper   qty
      1     006.2006   4
      1     007.2006   3
    any advice greatly appreciated

  • Not geting BOM value in ALV

    Hi all,
    here i want to fetch BOM value for this i write code like below.
    SELECT abudat amblnr bmatnr bmenge bbwart didnrk
             INTO CORRESPONDING FIELDS OF TABLE it_rawmat
             FROM  ( ( mkpf as a inner join mseg as b on amblnr = bmblnr )
                     inner join mast as c on cmatnr = bmatnr )
                      inner join stpo as d on didnrk = bmatnr )
             where bbwart = '261' and bwerks in werks and bmatnr in matnr and abudat in budat. "and d~idnrk in idnrk.
      IF sy-subrc <> 0.
        MESSAGE ' No Data For This Selection' TYPE 'I'.
        SUBMIT ZPP_RAWMAT_CONSUMPTION VIA SELECTION-SCREEN.
      ENDIF.
      LOOP AT it_rawmat.
        select single maktx
          from makt
          into it_rawmat-maktx
          where matnr = it_rawmat-matnr.
        select single matnr menge
          from mseg
          into (it_rawmat-matnr1, it_rawmat-menge1)
          where mblnr = it_rawmat-mblnr AND bwart = '131'.
    Add By Keyur chauhan to where used material discription*************
          SELECT SINGLE maktx
            from makt
            into it_rawmat-maktx2
            where matnr = it_rawmat-matnr1.
         SELECT single matnr stlnr
          from mast
          INTO (it_rawmat-matnr3, it_rawmat-stlnr)
          where matnr = it_rawmat-matnr1.
           select SINGLE menge
             from stpo
             into it_rawmat-bomit
             where idnrk = it_rawmat-matnr.
    according to above code i get value of BOM filed in ALV  which is previous ALV field value.
    means BOM value and previous filed value both are same.
    So can u please kindly help me  out.
    Thanks in Advance.
    keyur

    data is getting but alv problem

  • Insane object error(The string control not getting any values)

    In LabVIEW 8.2 i am using the string control to get the text from the users, and initially there was no problem at the time of development it works perfectly, after building the installer,
    these string controls are not getting any string input, it seems like a disabled one, but actually it was not disabled, when we try to click over that through the mouse,
     that text inputting cursor was not blinking over there,I screen looks as below, some error messages are thrown from the LabVIEW like insane object error, even
    now there was the same problem in the source code itself, what to do rectify this. Only this part generates error all other remaining screen panels are working perfectly.

    This kind of problem can be a pain to locate. This often occurs when the wiring to or from a control or indicator is bery long, convoluted and hidden inside of structures or behind things. So first, you need to identify which VI specifically is generating the error by individually saving VIs and subVIs until you find the one that is generating the error. Now try and remember the last time that VI saved without a problem and what edits you made since then. Places where I have had this occur was when I drag-copied a control and a couple VIs into a small structure. Sometimes the wires would seem to conect up properly, but when I tried to save the VI I got this error. The solution was to disconnect all the wires associated with the VIs I had copied and rewire them.
    Also, can you post the VI that is doing it? Shouldn't need the subVIs for this...
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

Maybe you are looking for

  • How can I access my movies from my iTunes account using my iPad.

    I thought that when you accessed iTunes from your iPad, using iOS5 you could access all of your iTunes like you did on your PC.  However I can get my music but not movies.  Please can someone help me.  I am new to the apple game. Thank you Apple grov

  • Pre-populate the process form as part of Role Alignment - Need suggestion

    Hi, As part of implementation we are going to take over the Provisioning of AD (Via Groups-->Access Policy) using OIM which was initially configured to provision manually. Now as part of migration we required to assign a base group to the users who h

  • Firming indicator (*)

    Hi All, How to delete the schedule lines , purchase req, planned order if the this have firming indicator (*)

  • TOC Layout in Printed Documentation

    Morning chaps, Currently the Printed Documentation is chucking out a TOC that shows the Books, Topics and the Headings in the Topics. I was wondering if there is any way of formatting it so that it only generates Books and Topics? Luke.

  • How do I get Imessages?

    How do I get Imessages on my Ipod touch 4G? when I looked it up on apple's website it said that Imessages came as a built in app... but its not there? I have been unsuccessful in downloading the latest ipod software... do i need to download it to get