Skip to Content
author's profile photo Former Member
Former Member

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 03, 2007 at 04:01 AM

    Hi..Ravi.

    I think Yesterday also u faced the same prob...

    i have sent u the solution..which works very fine for multiple views also..

    just follow these steps..while recording...

    1.Give the material no..in mm02..

    2.select any view ( which you don't want...)

    3.Enter the plant number and press enter..

    4.Now..u will get screen with view which u selected earlier u don't want...

    5. there are two scroll buttons to sccroll views like...< >

    6.Beside them a button will be there...

    7. click on that..u will get all the views which are COnstant and never change..

    8. select the views u want and then continue...recording..

    Hope it solves ur problem...

    Ram

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 10, 2007 at 10:20 AM

    hi ravi,

    cod u send me the coding how to define and call that FM.

    bcoz me too have the same requirement now.very urgent.

    Thanks in advance.

    Senthil kumar 😊

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 10, 2007 at 01:12 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.