Problem with BAPI of Material Master creation

Hi,
I am creating material master(mm01) through BAPI_MATERIAL_SAVEDATA.
Program is working fine but when i m checking in MM03 to display uploaded data through BAPI, i cant able to see material which i created to through BAPI but i can see in MARA table.
i dont know wht is the problem ?
can anybody let me know abt this ?

then u are not committing the work.
flow will be like this
call ' BAPI'
if return[] is initial.
commit work.
else.
endif.
Regards
peram

Similar Messages

  • Bydefault selection of profit centers during material master creation.

    Dear SAP Experts,
    My business wants that when ever they want to create a new material the profit center field should come bydefault after the selection of the plant.
    Each plant has been associated with a profit center.
    Is it possible , If yes then How.
    Please guide me.
    Regards
    Debjeet Banerjee

    There is no direct link of profit center and plant , the profit center is linked with plant via material master.So you cannot default the profit center when you select the plant while creating the MMR.
    Better try with any custom table were you can make this link and default it while creation of material master.

  • Approval for Material Master Creation !

    Dear All ,
    My requirement is to have approval process for Material master. is it possible.?
    My Client is expecting approval process same like PO ( release strategy )
    Is there any standard approval  process for every masters which are  created as part of MM transactions.
    Can it  be achieved by means of any workflow.?
    Thanks
    Jinoy

    Hi,
    Yes it can be achieved by Work flow & also through the Enterprise Portal development.
    If you have Workflow consultant you can take a help in setting up the approval for Material master creation.
    If you want high fund & centralization of Material master you can go for EP development but Cost & effort will be on higher side.
    Discuss with your Workflow consultant he will help you.
    rgds
    gsc

  • Material Master creation workflow

    Hi everyone....
    Last week I went on the BIT601 training course and I'm now tryinig to create my first workflow for material master creation, so please forgive my rather noobish questions. I think this must be a common workflow but I'm sure every company has a different process.
    My process is as follows:
    - User creates basic data view for material master in MM01.
    - Workflow is triggered when material is saved.
    - Work item arrives in inbox of master data enigneer who completes all material master views.
    - Mail is sent to workflow initiator to inform that material is complete.
    - End of workflow
    I have defined the start event CREATED from business object BUS1001006 in my workflow definition. I have defined a standard task for the first step in my workflow using bus object BUS1001006 with method Create. The workflow starts correctly however ...
    My question is how do I get the material number to pull through to my first step? I am assuming I need to setup some binding to pull the material number into the workflow container? 
    Can someone please point in the right direction.
    Many thanks,
    Neil

    wow, thanks for the super quick reply Rob!
    I figured it must be some binding I had not done.
    So ... I go to my Start events in my workflow header, I see I have only the "auto-generated" binding i.e. EVTCREATOR > WFINITIAOR ....
    now, I see EVTOBJECT as a possible container object from the event side of the window (left hand side) but what do I link it too? I was kinda expecting to see my business object as a possible container object in the workflow side of the screen (right hand side).
    I really hope that makes sense... If I understand correctly, the idea is to link the event object to the business object container element ... but if thats the case why can't I see my business object in the workflow side of the binding window?
    Many thanks for taking the time to help a noob
    [edit] ... I may have partially answered my own question ... I think I need to define the properties of my business object in my workflow container element such that its is an input field? ...
    I'm going home now... will carry on with this in the morning.
    Edited by: Neil Ward on Oct 4, 2010 6:17 PM

  • Problem with BAPI BAPI_REQUISITION_CREATE

    Hello,
    I have problems with BAPI BAPI_REQUISITION_CREATE. I need to create Purchase requisition for services. If I use BAPI BAPI_REQUISITION_CREATE, Purchasing requisition is created, but field NETWR in table EBNK is 0. If I create purchasing requisition manualy using transaction ME51N, field NETWR in table EBNK is filled with correct price.
    Can you pls. help me, what do I wrong in calling BAPI_REQUISITION_CREATE?
    Thanks&regards,
    Jirka

    Not sure if you got your answer or went to OSS for a resolution. But, as I was searching OSS for my issue, I came across the following note:
    Note 1498435 - BAPI_REQUISITION_CREATE: EBKN-NETWR is not updated

  • Workflow to approve Material Master creation

    Dear all,
    I would like to create workflow to approve Material Master creation as below:
    When Material is created -> Check & Approval (Yes) -> Material is active
                           -> Check & Approval (No)   -> Material is inactive
    How can I do that?
    Could you pls help me to solve this?
    Thanks,
    CH

    Hi,
    Before designing the workflow, you need to find what is the business object and what is the event which gets triggered when material master is created... you can do that using event trace....
    1. SWELS - switch on trace
    2. Create material
    3. SWEL - check trace to find which event is fired
    This will give you business object name..
    Now start building workflow using SWDD... Go thru basic steps for designing workflow...

  • Standard Adobe Form for SAP Material Master Creation

    Hi,
    Did SAP develop standard adobe interactive form for Material Master Creation?
    I heard SAP delivered standard forms for Customer Master and Vendor Master. I am not sure about Material Master Form. If any one knows about Adobe Forms for Material Master... please rerply.
    Thanks in advance.

    Check yourself here:
    List of SAP standard Adobe forms: Go to http://service.sap.com/erp  (SAP ERP) -> Media Library - SAP ERP Overview -> Detailed information cross ERP -> Adobe Forms for SAP ERP
    Standard programs: Standard program for Adobe forms
    Regards Otto

  • Material Master Creation Using BAPI

    Hi,
    I m using BAPI_MATERIAL_SAVEDATA for Material creation using BAPI.
    Now the problem is , i have created a Screen exit long back in Purchasing view.. the corresponding Z field is created in table MARC..
    How can i pass value to this Z field using BAPI.
    i tried with BAPI_MARC.. my Z field is not coming in that structure.
    Can anyone guide me how can this be achieved.
    Thanks in Advance
    Aravindh Mani

    Hi,
    The Function Module BAPI_MATERIAL_SAVEDATA has the options to pass the Z fields. There exits a structure parameters
    EXTENSIONIN
    EXTENSIONINX
    in BPAI. In EXTENSIONIN pass the data and value part you can pass  in EXTENSIONINX. So this will update the Z fileds in material
    master .

  • Material master creation problem in sales org views

    Hi
    I have faced problem while creating material master
    In mm01 >then select the org views basic data1&2 , sales org data1&2, purchaing, accounting and costing views >thanclick org levels> here enter the plant , stor loc, sales org & dist.chanel >then enter fill the all fields and save this is original procedure
    but problem occured at ... in org levels without dist.chan ( only enter plant ,sales org stor loc ) also system goes to sales org data-2
    in our development system .. in select sales org 1& 2 ... system should ask sales ogr &dist,chanel at org ..level scren ..if we does't ente dist.ch .. system does't allow the material master...actually like this in production system also worked  earler....but now our production system not worked like this procedure ...
    pls ..guide me to solve this issue any one
    regards
    sesidhar

    hi
    we have 1  sales org ,4 dist.chanel and 1 plant
    4 distbution channels are also assigned to sales org and plant
    but problem is ..when create material amster ...if select the select views sales orgdata 1,2 and sales gnerael plant data
    than press enter ... here system ask the palnt (mandatory), sales org(mandatory) and dist channel9optional).in production sysstem....
    plant          1000
    sale org     zosd
    DC             .........(BLANK)
    IF press enter system allow  to ... sales org data 2
    if DC ....(BLANK) System does 't allow to next screen sales org data 2
    how can i change this optional to mandatory in DC

  • Problem in Material master creation

    when iam creating material master, in sales view1 maintained Tax claassification. After saving the master record the Tax classification is disappearing.
    could any one know the solution? please help me.

    Hi Preveen,
    Use the following path in Customizing for Sales:                            
        -> Functions -> Taxes -> Tax by country                                     
    If sequence value 0 is defined for a country, change it to 1.               
    If other tax categories are defined for the same country, increase the sequence value for all tax categories of this country by 1.             
    Important: If materials exist for which tax data has already been  maintained in the country in question, this tax data must be  checked and, where necessary, modified using the "Change material" function.  (Note that tax data is saved in table                MLAN for each material and country.)                                                                               
    Regards,
    Mauro

  • Material master creation with Classification

    Hi All,
    I am using an MATMAS05 IDOC interface to create the material master data.
    I am able to create the Basic Data 1 & 2 views.
    Can any one tell me the segments or feilds in the IDOC from where i can populate values to create the material classification?
    Regards
    Sunil.

    hi,
    The idoc type CLFMAS01 should be posted first into R/3 box or is it  MATMAS05.
    and how this two documents will be interlinked ?

  • Material master creation error through LSMW

    Hi,
    I have a problem with creation material master through LSMW with object type BAPI.  I use below import methods
    Business Object BUS1001006 
    Method                SAVEDATA
    Message Type    MATMAS_BAPI
    Basic Type          MATMAS_BAPI03
    Material number is configured length of 12 with leading zeros.
    In my text file material number is given as XXXXXXXXXXX which is 11 digits. When I start IDoc processing it issues an error message u201CMG019 the numeric material number & was transferred without leading zerosu201D.
    Then I add 0 to material number in the file (it becomes 0XXXXXXXXXXX) and run IDOC processing it issues same error message again.  
    How I can resolve this issue?
    Thanks

    Hi,
    Please check the below link...
    Re: Creating new material using i/b MATMAS IDOC
    and also check the OSS note 707602.
    Hope it may help you.
    Kuber
    Edited by: kuberk on Aug 14, 2011 4:00 AM

  • Problem in configuration of material master

    Dear cons
    I want to make  quality management control key field is a required field in material master. so in T-code-
    OMSR I selected field selection group-99.& make it as a required field.At the time of creating material master  the system activated other field like certificate type & target QM system as required field along with QM CONTROL KEY.How can we make it only QM CONTROL KEY as a required not other.
    nrk

    THe field name for certificate type is QZGTP... Selct the right arrow in the transaction OMSR and make it as optional in MM01..
    Hope this helps..
    In a similar way try to do for Target system...QSSYS... make it as optional or hidden for MM01..
    Hope it will silve ur problem...
    karthick

  • Problem in BDC for Material master Change

    Hi,
      I have made a BDC to change the material master, I have done the recording with SHDB   I want to do changes in Sales data and MRP data, when I do the recording I have selected views and it was 4  , 11 AND 12 VIEW IN select vie option    but in some material  Classifcation view is maitain and it is coming at 2nd position and my selected views are shiftin by one position  due to this BDC is giving error Screen contain no filed  -
    I sthere any way that I acn directly select the Three views as Sales data , MRP1 and MRP2,   because when we do the recording it is not showing the name  it is showing as
    perform bdc_dynpro      using 'SAPLMGMM' '0070'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MSICHTAUSW-DYTXT(12)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=DEF_SAVE'.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(04)'
                                  'X'.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(11)'
                                  'X'.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(12)'
                                  'X'.
    regards,
    zafar

    Hi,
    Myproblem is solve , in the table MARA i found the filed VPSTA : Maitenance status,   Having the vakue may  KVEDLBZX  those value is diffrent for different  material   this value indicates
      User department                       Maintenance status
    Work scheduling                                      A
    Accounting                                               B
    Classification                                            C
    MRP                                                           D
    Purchasing                                                E
    Production resources/tools                       F
    Costing                                                      G
    Basic data                                                  K
    Storage                                                       L
    Forecasting                                                 P
    Quality management                                    Q
    Warehouse management                             S
    Sales                                                           V
    Plant stocks                                                 X
    Storage location stocks                               Z,
    after reading what fields are maitain according to that i have selected the proper views  and my problem is solve.
    regards,
       zafar

  • Problem with filtering on material

    I encountered a problem when filtering on material numbers that have a period in them (e.g. 111.10.114.00). 
    This happens only on materials that contain a period, and it only happens if you do not use the checkboxes to select the filter value. 
    If you use the funnel to filter AND use the checkbox to select what you want, then everything works fine.
    If you filter by using u201CKeep filter valueu201D and selecting the line then it does not work
    If done on material number that has no period (.) in it, then itu2019s ok.  If the material has a period (.) then filter does not work.  This seems to happen only with period as a character.  Tried materials with letters in them and dashes, these worked ok.
    does anyone had this issue before or knows any OSS Notes that could be helpful?
    Thanks
    best regards
    Nesimi

    hi,
    for executing  BAPI_MATERIAL_GET_DETAIL bapi i have to set
    VALUTIONARA .Thats why i am asking ,how to get valutionarea.
    regards
    Guru

Maybe you are looking for