MM02 View Selection In BDC

Hi,
        i was developed on bdc program for MM02. always i was used only <b>Accounting1</b> view only. but this <b>Accounting1</b> view position is changing based on the material no. How to Handle this..?

Rai,
YOu have to use material type (You can fins this in MARA-MTART)
call the FM 'SELECTION_VIEWS_FIND' :
select single pstat from t134 into t134-pstat
where mtart = t_mat-mtart.
call function 'SELECTION_VIEWS_FIND'
exporting
bildsequenz = '01'
pflegestatus = t134-pstat
tables
bildtab = t_bildtab
exceptions
call_wrong = 1
empty_selection = 2
others = 3.
Thanks
Ramakrishna

Similar Messages

  • Lsmw mm02 view selection issue

    we have written an lsmw for changing a material costing view .
    we want to select only one view .after compliciting the lsmw wwe run it in the
    forground mode but the view is not selecting , it is showing the error like "atleast select one view.please tell how to rectify this in lsmw.

    Hi,
    at the time of recording MM02 select that view which needs to be updated or changed for any value.
    Then, Come out of recording and prepare a flat file and put 'X' in the cursor position where you have selected that view.
    MAT1      C      HALB      'X'   and so on..
    Try This.
    Vikas

  • REgarding view selection  in mm02 while using bdc

    hi,
    i m using function module 'MATERIAL_BTCI_SELECTION_NEW'' for selecting the single view automatically in bdc,its working fine..but for another scenario i have to select the multiple views so for this what sud i do i how cud i pass multiple views in single parameter 'selection'.
    plz help me.
    thnx in advance.

    We had to make a BDC recently for multiple views. For most of them we used BAPI_MATERIAL_SAVEDATA, but there are some views which are not available (Accounting 2 for example).
    For others there are some other BAPIs, as BAPI_MATINSPCTRL_SAVEREPLICA for Quality Management, or BAPI_OBJCL_CHANGE fo Classification.
    Anyway, for those views that need to be filled using BDC, the better way we have seen is to select at the beginning of BDC the Basic Data 1 view (which is always at the top of the list and is not dependent of the views that are available for a particular material) and then navigate between views with the following OK_CODEs:
    Basic data 1 = SP01
    Basic data 2 = SP02
    External Objects = SP03
    Classification = SP04
    Sales: Sales Org. Data 1 = SP05
    Sales: Sales Org. Data 2 = SP06
    Sales: General/Plant Data = SP07
    Foreign Trade: Export Data = SP08
    Sales and Distribution Text = SP09
    Purchasing = SP10
    Foreign Trade: Import Data = SP11
    Purchase order text = SP12
    MRP 1 = SP13
    MRP 2 = SP14
    MRP 3 = SP15
    MRP 4 = SP16
    Forecast = SP17
    Work scheduling = SP18
    Production resources and tools = SP19
    General Plant Data / Storage 1 = SP20
    General Plant Data / Storage 2 = SP21
    Warehouse Management 1 = SP22
    Warehouse Management 2 = SP23
    Quality Management = SP24
    Accounting 1 = SP25
    Accounting 2 = SP26
    Cost Estimate 1 = SP27
    Costing 2 = SP28
    Plant stock = SP29
    Storage location stock = SP30

  • REgarding view selection mm02 in bdc

    hi,
         i m usung function module 'MATERIAL_BTCI_SELECTION_NEW'' for selecting the single view automatically in bdc,its working fine..but for another scenario i have to select the multiple views so for this what sud i do i how cud i pass multiple views in single parameter 'selection'.
    plz help me.
    thnx in advance.
    null

    We had to make a BDC recently for multiple views. For most of them we used BAPI_MATERIAL_SAVEDATA, but there are some views which are not available (Accounting 2 for example).
    For others there are some other BAPIs, as BAPI_MATINSPCTRL_SAVEREPLICA for Quality Management, or BAPI_OBJCL_CHANGE fo Classification.
    Anyway, for those views that need to be filled using BDC, the better way we have seen is to select at the beginning of BDC the Basic Data 1 view (which is always at the top of the list and is not dependent of the views that are available for a particular material) and then navigate between views with the following OK_CODEs:
    Basic data 1 = SP01
    Basic data 2 = SP02
    External Objects = SP03
    Classification = SP04
    Sales: Sales Org. Data 1 = SP05
    Sales: Sales Org. Data 2 = SP06
    Sales: General/Plant Data = SP07
    Foreign Trade: Export Data = SP08
    Sales and Distribution Text = SP09
    Purchasing = SP10
    Foreign Trade: Import Data = SP11
    Purchase order text = SP12
    MRP 1 = SP13
    MRP 2 = SP14
    MRP 3 = SP15
    MRP 4 = SP16
    Forecast = SP17
    Work scheduling = SP18
    Production resources and tools = SP19
    General Plant Data / Storage 1 = SP20
    General Plant Data / Storage 2 = SP21
    Warehouse Management 1 = SP22
    Warehouse Management 2 = SP23
    Quality Management = SP24
    Accounting 1 = SP25
    Accounting 2 = SP26
    Cost Estimate 1 = SP27
    Costing 2 = SP28
    Plant stock = SP29
    Storage location stock = SP30

  • How to overcome view changes in bdc session method  using recording ?

    how to overcome view changes in bdc session method  using recording ?
    ex-for mm01 in recording if i selected views basic data1 and basic data2.
    i seheduleded for background for after 3 days .
    if any body changes views by selecting other views also.
    how to overcome this with out programming ?
    is there any settings ?

    Hi,
    I am attaching few threads.Hope these will help you.
    If there are any error records in session, all those error records will get poulated in log .SM35 and after the session is completed , u can see error records which can be corrected and reprocessed again
    We have the structures BDCLD and BDCLM, which will capture the log details inthe session. Firstly, sesssion should be processed. After that log will be created. Then caputure the information into an internal table using BDCLM and BDCLD.
    and refer the link.
    error correction in bdc session
    regards
    Madhu

  • How to link individual picker view selections to download an individual file from a website or other location such as dropbox using Xcode?

    Alright, the question I have has to deal with how to link an app to a website to download files. How, or is it even possible to link individual picker view selections to download an individual file from a website or other location such as dropbox using xcode. Sorry if this is the wrong place to post this, but if anyone can help or can send a link to a place that can, I would greatly appreciate it!

    I am not getting anywhere with deploying my application or
    applet.
    I have set up my bc4j project. It contains all my VO info,
    links, application module. (proj a)
    I then have another project with DbInfo in it(has all my rowset
    info), Multiple Frames, and my Applet.java file.
    Actually I have an Applet.java file and a Application.java file
    because I was seeing if both/either worked. Anyway they seem the
    same, except for that extra window that comes up when you run the
    applet.
    I follow the steps in the oracle directions (from earlier post).
    And all seems ok. But at ---->
    [*] Select the subdirectory under myhtml where your applet's HTML
    file
    is located, and enter the directory path of the 'staging'
    directory you
    created in step 3 above, if different from the default.</li>
    [*]Select the HTML files that JDeveloper created to run your
    applet.</li>
    [*]Select all of the Java source files in your project that make
    up the
    applet.</li>
    I have no HTML file associated with my applet, at least that I
    know of.
    So do I need to create one, or should it of been done
    automatically.
    Also, I trying to figure out what will be the best way to deploy
    my project. Applet or stand alone application is what my first
    choices have been so far. I have read that there is some issues
    with applets being served from a different server than the
    database. So a stand alone application was my front runner, but
    I haven't gotten either way to work yet.

  • SHOW ALL / HIDE ALL BUTTONS produce error in chm but not in "View Selected Item"

    My SHOW ALL and HIDE ALL buttons work in the View Selected
    Item mode. However, the compiled version generates an error tag:
    Line: 72
    Char: 1
    Error: Object expected
    Code: 0
    URL:
    mk:@MSITSTORE:C\Documents%20and%20Settings\glenn_michaels\RoboHelp%206.0\TCA\!SSL!
    In short, the the compiled chm is located in the SSL. I tried
    adding showhide.js and ehlpDhtm.js to the SSL folder, but that
    didn't make a difference. What is missing? How do I fix this?
    Many thanks in advance...
    glennito

    Mr. Grainge,
    I've tried to follow your instructions to the letter, but I'm
    not having any luck.
    1) I copied the showhide.js to
    a) RoboHelp 6.0 > Project Folder
    b) RoboHelp 6.0 > Project Folder > SSL
    c) RoboHelp 6.0 > Project Folder > SSL >
    MicroSoft_HTML_Help
    2) I pasted btnhideall.gif, btnshowall.gif, printerblue.gif
    into
    a) RoboHelp 6.0 > Project Folder > SSL
    b) they are also listed in RoboHelp 6.0 > Project Folder
    3)The Project Manager > Baggage File originally displayed
    a
    a) Project (Name) folder
    b) ehelp.xml
    c) RoboHHre.Ing
    I opened the Baggage File > Project (Name) folder,
    selected New Baggage File, and added, respectively:
    i. btnhideall.gif
    ii. btnshowall.gif
    iii. ehlpDhtm.js
    iv. printerblue.gif
    v. printerred.gif
    vi. showhide.js
    vii. TCA.fpj
    vii. root.fpj
    4) I also opened rhbag.apj in Notepad. It shows
    a) ehelp.xml and RoboHHRE.Ing accompanied by
    <usercreated>false</usercreated> tags
    b) the remaining baggage files are accomanied by
    <usercreated>true</usercreated> tags
    5) Finally, I used Notepad to display two topic files in
    which the error message identified a Line: XX. In one case the line
    # is 42, in another, 19. In both cases, when I counted lines,
    starting with <body>, I ended up on:
    onClick="JavaScript:hideEm()"
    However, I am none the wiser for my effort and don't know
    what (5) might be telling me.
    6) The only thing I can think of is that the compiled chm
    file is two levels away from the Project Name directory that holds
    all the files. The files live in Robohelp 6.0 > Project Name
    while the compiled help is found in Robohelp 6.0 > Project Name
    > SSL! > MicroSoft_HTML_Help > Project Name.chm.
    Should I be adjusting the Relative Path within the topics?
    Many thanks for your attention and assistance.
    glenn

  • "View Selected Item" does not display

    I'm using RoboHelp7 out of the Technical Communication Suite.
    When I'm working on a topic and select the
    View Selected Item button, the topic does not display. When
    I first tried yesterday, nothing happened (IE didn't open and there
    was nothing in my tray). I contacted Oversea's support and was
    informed that there wasn't an incident for this occurance. I was
    instructed to uninstall and reinstall RoboHelp.
    I uninstalled and reinstalled the applications and the button
    still doesn't work; however, this time there is an hourglass for an
    instant before not producing any results.
    The button doesn't work with anything that I've created or
    with the example projects (Clownfish School). Any help would be
    greatly appreciated. I'd hate to have to regenerate the project
    just to look at a quick change.
    Thanks,
    Matt

    Sounds like I need to add a note to that Snippet. Thanks.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Will my USA apple TV work in Austria (using a power converter of course)?  In other words, will I get USA Apple TV viewing selections?

    Can I unplug my USA apple TV, take it to Austria and will it work in Austria (using a power converter of course)?  In other words, will I get USA Apple TV viewing selections?  Or, will it work at all?

    The ATV is the same device worldwide.
    Content is determined by the location where the ATV is physically connected.

  • Limiting Query View selections for Web reports

    In web reports, users currently have Query View Selection but they want to be  able to just see views that they have created and not all others. 
    How can this be done?
    Does creating views in web and in BEX pull different auth objects or is it same? - Which objects are check in WEB views? Bex views use s_rs_comp with the QVW componenet.. but the trace does not show any log like this.

    Hi,
    User specific protection of queries are controlled by authorization object S_RS_COMP1.
    Authorization RSZOWNER = "$USER" allows the user access to activities in all the components he is an owner of.
    Check out this link, the analyst 3 scenario is what you are looking for:
    http://help.sap.com/saphelp_nw04/helpdata/EN/41/05453caff4f703e10000000a114084/content.htm
    Regards,
    Zaheer

  • Query View Selection - Filter by owner

    Hi
    I'm using BW 3.5 and have the Query View Selection Web Item in my template.
    I want to show in this web item only views from the user created them - the current user should only see the views he created and not all.
    How is this possible?
    Thx
    Roger

    Hi Roger,
    You can acheive it in authorization object S_RS_COMP1.
    Activity: *
    Name (ID) of a reporting compo: *
    Type of a reporting component: Query View
    Owner (Person Responsible) for: $USER$
    He will be having access of his view only.
    Regards,
    Kams

  • Query view selection

    Hello,
    I am working with Bex 3.5 WAD. How do i make use of the web item "query view selection". It is not working properly for me. Is there any document that i can follow to create a web template using the above web item. Please advise.

    hello Gillian,
    I looked at that link before. I am able to use query view selection bex in my web template and the query drop down box is being populated by all the query views created for the query and i have given a table (table_1) as the affected web item. When i publish my template i can see the query view drop down box with the list of query views and the table. When i select one view the table is showing the results for that view, but when second view onwards the data doesn't change? what am i doing wrong. below is my html code.
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="ITEMVIEWDROPDOWN_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_VIEW_DROP_DOWN"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="WIDTH" value="20"/>
             <param name="VIEW_DD_TARGET_ITEM" value="DP1_table"/>
             <param name="VIEW_DD_RRI" value="X"/>
             <param name="VIEW_DD_USE_ALL_QUERY_VIEWS" value="X"/>
             <param name="VIEW_DD_DESCRIPTION_I" value="B"/>
             ITEM:            ITEMVIEWDROPDOWN_1
    </object>
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="DP1_table"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             ITEM:            DP1_table
    </object>

  • Views Selection during MM01    MSICHTAUSW-DYTXT + LSMW

    Friends,
    I am using LSMW to upload material master from legacy system to SAP. I made the LSMW project in one client - SANDBOX and exported the LSMW to Quality Server.
    There is some mismatch in Views selection once I select Material and Industry Type. One of the view "Production Resources/Tools" is not appearing.
    Would you pl suggest me where exactly I can change the settings in the configuration to make this view appear?
    I tried searching the settings for Technical field name MSICHTAUSW-DYTXT for views selection.
    This is bit urgent guys. Pl respond back.
    Regards,
    Rahul Asai

    check oyu setting in tcode OMT3E for both the system and make is same

  • Problem viewing selected iPhoto video event full screen in iMovie.

    How do I view selected iPhoto video full screen as an event in iMovie?  It always plays the last import instead.  I did follow the instructions, but that does not work.

    Adrian...
    I'm having the same problem!!!!  Mine use to sort from new to old and it changed for some reason?
    I spoke to apple care and they said it mimics the iphoto order... but it doesn't... I've tried everything, including reversing assending and decending in iphoto.
    Like you said, it seems trivial... but it is a pain to scroll to the bottom for everything!
    Someone help us
    Thanks.
    j

  • CTRL + W (View Selected Item)

    My view selected item stopped working. CTRL +W does not work
    either. IE6 & Firefox - Any ideas.
    Thanks
    jim

    Hi Jim
    Yeah, sometimes the Preview window likes to perform a
    pisadeering act for us!
    You might give the following steps a try:
    1. Close RoboHelp HTML.
    You need to do this because the values we are about to change
    will be destructively changed once we close RoboHelp HTML and
    restart.
    2. Open the Windows Registry Editor.
    (All standard disclaimers apply. Back up the registry,
    sacrifice a chicken, yadda yadda yadda)
    3. Locate the following key:
    HKEY_CURRENT_USER\Software\version\RoboHTML\version\MontereyFrame\
    4. Double click the item labeled Preview in separate window
    and ensure the value is set to 1. If it already is, terrific. If
    not, change it to 1 and click the OK button. It doesn't matter if
    the option is set to Hex or Decimal.
    5. Double click the item labeled PreviewMaximized and ensure
    the value is set to 0. If it already is, terrific. If not, change
    it to 0 and click the OK button. It doesn't matter if the option is
    set to Hex or Decimal.
    6. Double click the item labeled PreviewWindowCX. Make sure
    the option is set to Decimal and set the value to 50. Then click
    the OK button.
    7. Double click the item labeled PreviewWindowCY. Make sure
    the option is set to Decimal and set the value to 50. Then click
    the OK button.
    8. Double click the item labeled PreviewWindowX. Make sure
    the option is set to Decimal and set the value to 50. Then click
    the OK button.
    9. Double click the item labeled PreviewWindowY. Make sure
    the option is set to Decimal and set the value to 50. Then click
    the OK button.
    10. Close the Windows Registry Editor.
    11. Restart RoboHelp HTML and preview a topic.
    The window should now be floating above the RoboHelp HTML
    application in full view.
    Hopefully this helps... Rick

Maybe you are looking for