Enhancing BAPI's

How can one add new fields to existing fields in BAPI's.
I have OOABAP program which takes data from UI and posts it Database using BAPI's.
I have been successfull in posting data for the existing fields, but i need to add some more fields, how do i do that??
Thanks..

Hi,
Look at the link, it explaines how to extend a BAPi
http://help.sap.com/saphelp_nw04/helpdata/en/c3/40999d8b8911d396b70004ac96334b/content.htm
Regards
Sudheer

Similar Messages

  • Enhance Bapi  BAPI_GOODSMVT_CREATE

    Hi ,
    I have a requierement to Enhance the standard function module IDOC_INPUT_MBGMCR to perform update to Ztable and to Perform validation to prevent duplicated record (this will handle in PI or need validation to be built within the function module) .
    I know the process how to enhance badi steps but i am not getting where should i put the code for update the Ztable.
    BAPI (Function module u2019BAPI_IDOC_INPUT1) which call subsequent FMs (u2018IDOC_INPUT_MBGMCRu2019 > u2018BAPI_GOODSMVT_CREATEu2019), further investigation is required if above standard function module BAPI_GOODSMVT_CREATE can be used and facilitate update the Z-table  where BAPI_GOODSMVT_CREATE is successfull.
    Then at which point i have to update the table.
    Moderator message: please choose more descriptive subject lines for your posts.
    Edited by: Thomas Zloch on Jul 8, 2011 9:31 AM
    Edited by: shilpi agarwal on Jul 8, 2011 9:37 AM

    I have replied to your question in [Enhance BADI|Enhance BADI;.  Have you tried to use the enhancement section/points available in BAPI_GOODSMVT_CREATE (after the subroutine call to MB_POST_GOODS_MOVEMENT).  Read the records in RETURN table after the sub-routine call to check whether the document is successfully posted.
    Regards, Vinod

  • Bapi enhancement using user/customer exits

    It is necessary to have access to all calls and purchase orders to be able to maintain the control of the ERS procedure centrally in the TBB system for the functionality u201CBestellselektionu201D [purchase order selection],. Without delay, all necessary purchase order and call data is provided for the table 'ERS'  u201Crealtimeu201D via the interface from SRM. It must be ensured that this table is always filled for SRM scopes synchronous with the SAP standard tables (EKKO, purchase order header data, EKPO purchase order item data, EKAN vendor address, EKPA partner roles etc.). For this purpose, efforts are made to load this table during each creation or change of a purchase order. On the ERP side, the u201EBAPI_PO_CREATE1u201C, which is called by SRM via RFC in the ERP, serves the purpose of creating purchase orders. The BAPI_PO_CHANGE is used for changes in the purchase orders. These BAPIs can be enhanced by the Customer exits EXIT_SAPL2012_003 respective EXIT_SAPL2012_004. With the help of the exits, a function module is called, which then provides the customer-specific fields of the table 'ERS'
    i want to enhance bapi using customer /user exit
    so how shall i proceed with this requirement ??
    how sahll i code the include for this req???
    i m using the functions ::
    1] EXIT_SAPL2012_003
    2] EXIT_SAPL2012_004
    so how can i enhance the bapi using user exits..
    I want to transfer the data from SRM system to TBB system with the customizzed table filled with this data at ERP ie TBB side .. so plz reply how shall i proceed ???

    Thanks Naresh, it helped...
    Can you please help on the below:
    1. For outbound Sales order IDoc- CRMXIF_ORDER_SAVE_M01,need BADIs for modification of the IDoc before it gets generated.
    2. Need program to generate output as outbound IDoc- CRMXIF_ORDER_SAVE_M01  for sales order conformation/acknowledgement.
    3. Need a BADI after the EDI Sales order is saved.
    Thanks in advance
    Vijay

  • BAPI BTE Event

    Hi,
    I am trying to enhance BAPI 'BAPI_ACC_DOCUMENT_POST'. I have added code in the function module, did other needed customizing as explained in note.487722 but, struggling to find a right event. I am getting a short dump when using any of the Post document events like 1020, 1030, 1050, etc.
    Did any one had success with any of the events?
    Regards,
    Ram Dindi.

    Hi Max,
    yes, i tried and no dump.
    I think the combination between BTE 1050 and BAPI_ACC_DOCUMENT_POST doesn't work. But I'm not sure...
    The system makes a activity-Check
    SD00 <> RFBU creates the dump.
    here the shortdump
    000010   *                                                                          
    000020   * FORM CHECK_ACTIVITY_TAB_POST                                             
    000030   * Diese Form prüft, ob für diesen Vorgang alles Ok war und nun             
    000040   * verbucht werden kann                                                     
    000050   *                                                                          
    000060   FORM CHECK_ACTIVITY_TAB_POST.                                              
    000070   * Pflegen der Tabelle ACTIVITY_TAB                                         
    000080     CLEAR WF-EXIT.                                                           
    000090     CLEAR ACTIVITY_TAB.                                                      
    000100     ACTIVITY_TAB-NAME   = UF-ACTIV.                                          
    000110     READ TABLE ACTIVITY_TAB WITH KEY ACTIVITY_TAB-NAME.                      
    000120   *    Prüfen, ob Fehler im Belegkopf oder Eintrag nicht gefunden            
    000130     IF SY-SUBRC                   NE 0    OR                                 
    000140        ACTIVITY_TAB-HEADER_ERROR   = 'X'  OR                                 
    000150        ACTIVITY_TAB-POSITION_ERROR = 'X'  OR                                 
    000160        ACTIVITY_TAB-POSITION       = ' '.                                    
         >        MESSAGE X167 WITH UF-ACTIV.                                           
    000180        WF-EXIT = 'X'.                                                        
    000190        EXIT.                                                                 
    000200     ENDIF.                                                                   
    thanx.
    Sheela

  • Regarding career as a SAP ABAP fresher

    Hi All ,
    My name is Rohit Prakash, I had done my certification from ATOS Bangalore in june 2012. After Struggling a lot I was able to find a contract to hire position for one of the MNC's in Bangalore. As the project is going to be over , I am again left in fix . I am having a relevant experience of 8 months .
    Having knowledge on DDIC ,Reports,Enhancements, BAPIs , Dailog programming and web dynpro.
    So please guide me and assist me if any suitable opening for 0.8 months experience candidate.
    mail id : [email protected]
    Contact no : 07760570955.
    Thanks n Regards

    Dear Rohit,
    Don't loss hope first of all. There are still no. of job vacancy in the Market for real good developer, you just need to do some things. Like never stop learning. Participate on SCN, try to resolve PR's issues.
    Keep practicing your concept, brush-up your skills.By this i won't miss a single interview opportunity.
    And for that interview opportunity keep yourself update with job portal sites(career's of company, other sites like naukri.com )  and try to involve with person on LinkedIn and some FB groups is also there.
    If i got some link, will share with you for sure...
    All the very best.
    Good Day..
    --ChanS

  • Learn New concepts in ABAP

    Dear Experts,
    I Have 3 more years of experience in SAP ABAP - Reports, Enhancements, BAPI, BADI, Forms, Etc...May i know how to improve my self.
    i plan to learn ABAP advance concepts, Please sugges suitable thing and it should be give bright feature for me.
    Please give your valuable suggestion.
    Thanks in Advance,
    Jayakumar.M
    Edited by: Jayakumar on Jul 22, 2009 8:39 AM

    You can start with the community contributed [eLearning titles|https://www.sdn.sap.com/irj/scn/abap-elearning].
    We have also recently launched [Learning on Demand by SAP |http://learningondemandbysap.com]which provides ready access to a variety of ABAP related courses.

  • Interested in PLM

    Hi All,
    I am BW consultant.Interested in PLM .Could you please tell about PLM and if I want learn PLM what shall i do? This module comes under functional or technical?
    Thanks,
    Rakesh

    Hi Rakesh,
    There are different tracktion for PLM in SAP
    1. <b>Product Data Management</b>
    which covers Material Management, Bill of Material, Document Managment System, Classification System, Variant Configurations, CAD Interfaces. etc.
    Most of the Industries will be using these cross application components for their Engineering Departments.
    2. <b>Program Management</b>
    Where Entire Program is capture i.e. From Customer Enquirry to the Order execution and till Dispatch.
    Here again Project System, CFolder, CProjects, DMS, MM, BOM, Workflow etc can be a part of the PLM
    3. <b>Asset LifeCylce Management</b>
    This is used in different Scenarios where companies wants to trace there assets
    or lifecycle of their assets.
    Project Systems and DMS will be mostly involved.
    4.<b> Quality Managment</b>
    Strictly Speaking PLM Products are used in R& D Department, Engineering Department, Design & Drafting Departments of the Companies/organizations,
    Where they try to modify their existing Products, try to Design as per the customer requirements, Try to launch new Product by doing R & D works.
    PLM is Mostly used in these Departments of the Organizations
    SAP Material Material Details:-
    http://help.sap.com/saphelp_ppm400/helpdata/en/index.htm
    http://help.sap.com/saphelp_cpro31/helpdata/en/home.htm
    For Certification on SAP PLM follow the below link:
    https://websmp203.sap-ag.de/certification
    (Note you need Service ID to access this link)
    Certification - Solution Consultant
    Certificate Name Exam Topics Duration (h)/
    No. of questions Software
    Components Curriculum Booking Code
    (SAP internal)
    mySAP PLM – Quality Management (2005) German/English 3 / 80 mySAP ERP2005 (ECC 6.0) C_TPLM40_05
    PLM - Maintenance & Repair with mySAP ERP 2005 German/English 3 / 80 SAP ECC 6.0 C_TPLM30_05
    PLM - Project Management with mySAP ERP 2005 German/English 3 / 80 SAP ERP Central Component 6.0 English/German C_TPLM22_05
    mySAP PLM – Quality Management (2003) German/English 3 / 80 SAP R/3 Enterprise English/German C_TPLM40_03
    mySAP PLM - Project Management (2003) German/English 3 / 80 SAP R/3 Enterprise German/English C_TPLM22_03
    mySAP PLM - Asset Life Cycle Management - Plant Maintenance (2003) German/English 3 / 80 SAP R/3 Enterprise German/English C_TPLM30_03
    mySAP PLM - Asset Life Cycle Management - Customer Service (2003) German/English 3 / 80 SAP R/3 Enterprise German/English C_CS47_03
    SAP Consultant Certification
    Solution Consultant PLM - Project Management with mySAP ERP 2005
    Software components: SAP ERP Central Component 6.0
    Certification exam is included in course TPLM22 and is also offered in separate certification events at many SAP locations.
    Certification ID (Booking code): C_TPLM22_05
    Certification duration: 3 hours
    Number of certification questions: 30
    Required certificates for participation in this certification test: None
    Consultant Academy courses for certification preparation: TPLM20 (Project Management I), TPLM22 (Project Management II (Case Study))
    Alternative Project Team Training courses for certification preparation: PLM200 (Project Management), PLM210 (Project Management - Structuring), PLM 220 (Project Management – Logistic), PLM230 (Project Management – Controlling), PLM240 (Project Management – Reporting)
    Please note that you are not allowed to use any reference materials during the certification test (no access to online documentation or to any SAP system).
    The certification test Solution Consultant PLM – Project Management with mySAP ERP 2005 verifies the knowledge in the area of the mySAP Product Lifecycle Management for the consultant profile Project Management. This certificate proves that the candidate has a basic understanding within this consultant profile, and can implement this knowledge practically in projects.
    The certification test consists of questions from the areas specified below:
    Topic Areas
    1. Project Structuring (+++)
    Basic data in PS: work breakdown structure, network and activities, milestones, PS texts, documents
    Project Builder and project planning board
    Project simulation
    Standard work breakdown structure, standard network
    Assembly processing
    2. Dates
    Time scheduling and scheduling (network scheduling, project scheduling, overall network scheduling)
    Actual dates
    3. Resources
    Work center
    Capacity planning and capacity evaluation
    Workforce planning to HR resource
    Confirmation and working time sheet
    Internet scenarios
    Workflows in PS
    4. Material
    Work breakdown structure BOM
    BOM PS interface
    Component assignment in the network
    Material procurement through in-house production or external procurement
    Collective stock and project stock
    Requirements grouping
    Progress tracking
    ProMan
    Delivery from the project
    5. Costs and Budget (++)
    Cost planning in the work breakdown structure
    Network costing
    Assigning orders to the project
    Budgeting and availability control
    Commitment and actual costs through account assignment and order assignment
    6. Revenue and Payments
    Revenue and payment planning in the project
    Sales pricing and quotation creation
    Resource-related billing
    Milestone billing and down payment processing
    7. Period-End Closing
    Template allocation
    Application of overhead
    Interest calculation
    Progress analysis and Progress Analysis Workbench.
    Results analysis
    Incoming orders
    Settlement
    8 Miscellaneous
    Exernal service and service activities
    Organizational units in SAP ERP
    Info systems in project management
    Field selection
    OpenPS
    Amount of questions by topic (as percentage of test):
    + = 1 - 10%
    ++ = 11 - 20%
    +++ = over 20%
    SAP Consultant Certification
    Solution Consultant mySAP PLM – Quality Management (2003)
    Software components: R/3 Enterprise (SAR R/3 Enterprise Core 4.70/SAP R/3 Enterprise Extension Set 1.10)
    Certification duration: 3 hours
    Number of certification questions: 80 multiple choice questions
    Required certificates for participation in this certification test: None
    Courses for certification preparation:
    PLM400 (Quality Management) or LO170 (Quality Management)
    PLM405 (Quality Inspections) or LO705 (Quality Inspections)
    PLM410 (Quality Notifications) or LO710 (Quality Notifications)
    PLM415 (QM in Procurement) or LO715 (QM in Procurement)
    PLM420 (QM in Discrete Manufacturing) or LO720 (QM in Discrete and Repetitive Manufacturing)
    PLM421 (QM in the Process Industry) or LO721 (QM in the Process Industry)
    PLM425 (QM in Sales and Distribution/Quality Certificates) or LO725 (QM in Sales and Distribution/Quality Certificates)
    Participants who have attended the prerequisite courses in SAP R/3 4.6C, can learn about the new developments for SAP R/3 Enterprise by attending the delta course D47QM.
    TPLM40 Quality Management (Case Study)
    Please note that you are not allowed to use any reference materials during the certification test (no access to online documentation or to any SAP system).
    The certification test Solution Consultant mySAP PLM – Quality Management (2003) verifies the knowledge in the area of the mySAP Product Lifecycle Management for the consultant profile Quality Management. This certificate proves that the candidate has a basic understanding within this consultant profile, and can implement this knowledge practically in projects.
    The certification test consists of questions from the areas specified below:
    Topic Areas
    1. Integration of QM and MM (++)
    Material master
    Quality info record: Procurement
    Source inspection, GR inspection
    Vendor evaluation, vendor release, vendor selection
    Manufacturer part number
    Handling Unit Management
    Warehouse Management
    2. QM in Discrete Manufacturing (++)
    Integrated inspection planning
    Routing, reference operation set, rate routing
    Inspection during production
    Inspection at end of production
    Inspection for external processing
    Inspection during repetitive manufacturing
    Statistical Process Control (SPC)
    3. QM in the Process Industry
    Integrated inspection planning
    Master recipe
    Integrated inspection processing
    Inspection during production
    Inspection at end of production
    Batch valuation
    Recurring inspections
    Statistical process control (SPC)
    Engineering change management
    Digital signature
    Batch record
    4. Integration of QM in the areas Service and Sales and Distribution
    Inspections for delivery
    Quality info. record: Sales and Distribution
    Make-to-order production
    Make-to-stock production
    Repairs and returns processing
    5. Quality Planning (++)
    Basic data
    Inspection planning
    Logistics master data
    6. Quality Inspections (++)
    Inspection lot
    Defects recording
    Results recording
    Usage decision
    7. Quality Certificates
    Certificate planning
    Certificate creation
    Quality certificates on the Web
    Quality data interchange
    8. Quality Notifications
    Notification systems
    Customer complaint
    Complaints against vendors
    Internal problem notification
    Simplified notification
    ISR
    SAP Support Desk
    Solution database
    9. Quality Control (++)
    Dynamic modification
    Statistical Process Control (SPC)
    Quality key figures, results history
    Quality-related costs
    Standard analyses, flexible analyses, early warning system
    Business Information Warehouse
    Interfaces to subsystems (QM-STI)
    10. Test Equipment Management
    Test equipment
    Calibration planning
    Calibration inspection
    Test equipment tracking
    11. Sample Management
    Physical samples
    Physical-sample categories
    Confirmation requirement
    Sample-drawing procedure
    12. Stability Studies
    Creating a stability study
    Initial test
    Stability planning
    Stability tests
    Completing a stability study
    13. Configuration and Organization
    Customizing
    Enhancements
    BAPIs
    BAdIs
    Field selection
    Lists
    Status management
    User roles
    Analysis tools
    Interfaces
    Follow-up actions
    SAPScript Forms
    Authorization concept
    Amount of questions by topic (as percentage of test):
    + = 1 - 10%
    ++ = 11 - 20%
    +++ = over 20%
    SAP Consultant Certification
    Solution Consultant PLM - Maintenance & Repair with mySAP ERP 2005
    Software components: SAP ECC 6.0 ( SAP ERP Central Component 6.0)
    Certification exam is included in course TPLM30 and is also offered in separate certification events at many SAP locations.
    Certification ID (Booking code): C_TPLM30_05
    Certification duration: 3 hours
    Number of certification questions: 80 multiple choice questions
    Required certificates for participation in this certification test: none
    Courses for certification preparation: PLM300 (Business Processes in Plant Maintenance), PLM305 (Structuring and Managing Technical Objects), PLM310 (Preventive Maintenance and Service), PLM315 (Maintenance Processing: Operational Functions), PLM318 (Analytics in Enterprise Asset Management), TPLM30 (Asset Life-Cycle Management - Plant Maintenance (Case Study))
    Please note that you are not allowed to use any reference materials during the certification test (no access to online documentation or to any SAP system).
    The certification test Solution Consultant PLM - Maintenance & Repair with mySAP ERP 2005 verifies the knowledge in the area of solution mySAP Product Lifecycle Management for the consultant profile Maintenance & Repair. This certificate proves that the candidate has a basic understanding within this consultant profile, and can implement this knowledge practically in projects.
    The certification test consists of questions from the areas specified below:
    Topic Areas
    1. Organizational Units and Master Data in Plant Maintenance (++)
    Organizational Units
    Maintenance Plant and Planning Plant
    Work Centers
    Functional Locations
    Structure Indicator
    Reference Location and Functional Location
    Creation Options
    Data Transfer
    Equipment
    Installation/Dismantling at Functional Locations
    Equipment Hierarchy
    Change Documentation
    Equipment Category
    Synchronization of material/construction type
    Synchronization of equipment/serial number
    Material and Serial Numbers
    Serial Number Profile
    Goods Movement and Warehouse Stock
    Valuation Batches
    Bills of Material (BOM)
    Assemblies
    BOM Categories
    Item Categories
    Change Documentation
    Additional Functions
    Classification
    Measuring Points and Counters
    Partners and Addresses
    Document Link
    Status Management
    2. Maintenance Processing (+++)
    Corrective Maintenance
    Notification Types
    Objects and Object Information
    Catalogs and Catalog Profiles
    Integration Notification/Order
    List Viewer for Notifications and Orders
    Order Type
    Object List
    Operation List
    Relationships
    Material List
    Availability Check
    Order Release and Printing
    Material Withdrawal
    Completion Confirmation in Time
    Technical Completion Confirmation
    Technical Completion
    Action Log and Document Flow
    Processing External Services
    External Services as Individual Purchase Order
    External Services with External Work Centers
    External Services with Service Entry Sheets
    Processing Refurbishment Tasks
    Valuation Type and Valuation Category in the Material Master
    Refurbishment Without Serial Numbers
    Refurbishment with Serial Numbers
    Inventory Management and Controlling
    Processing Maintenance Projects
    Planning and Executing Maintenance Projects
    Completion, Settlement, and Monitoring of Maintenance Projects
    Capacity Planning
    Scheduling
    Work Center and Available Capacity
    3. Controlling Functions in Plant Maintenance (++)
    Plant Maintenance in the Organizational Structures of Accounting
    Cost Estimation
    Planned/Actual Cost Determination
    Order Settlement
    Logistics Information System (LIS)
    Plant Maintenance Information System (PMIS)
    4. Preventive Maintenance (+++)
    Task List Management
    Task List Types
    Profile and User Fields
    Component Assignment
    Task List and Order
    Single Cycle Plan
    Structure
    Scheduling Indicator
    Deadline Monitoring
    Change Documentation
    Strategy Plan
    Maintenance Strategy
    Task List and Maintenance Strategy
    Change Documentation
    Performance-Based Maintenance Planning
    Counters and Measurement Documents
    Maintenance Plan Scheduling
    Deadline Monitoring
    Maintenance Planning with Multi-Counter Plans
    Cycle Sets
    Link Type
    Weighting Key in the Test:
    + = 1 - 10%
    ++ = 11 - 20%
    +++ = over 20%
    Regards
    Rehman
    Reward Your Points If Useful

  • PS and FICO in one system, payroll in other - payroll posting run fails

    Hi,
    We are a system solution is which one server contains FICO, PS, MM, SD Travel, CATS and mini-HR.
    The other has mini-FICO, HR and payroll. System is 604 SP36.
    We don't want to have the PS conifguration in HR server but we need to have travel costs via one ALE to HR server and then process them and return travel accounting information back to FI.
    Finally payroll run to send results back to FI. This is when we have problems to have G/L account assignments.
    Question is what is the minimunm way to have WBS element information for payroll to run. Enhance BaPI to transfer travel expense data (tables PTRV_HEAD and PTRV_PERIO or PTRV_SCOS)? Any suggestions?
    Prompt answer is highly appreciated.
    Thanks in advance,
    Pia

    For that, you need to synchronize the FI system with HR system with IDOC and then assign the new GL in HR system.
    This process should be reverse from FI to HR. The same IDOC will run however you need take the help of ABAP person to make it reverse from FI to HR.
    - Aby

  • Work of ABAP consultant

    Hi friends,
    Can anybody explain me what exactly needs to be done to the following objects copied from a previous version(4.6) to ECC 6.0
    Reports
    BDCs
    Scripts & Smartforms
    Enhancements
    BAPIs
    Data Dictionary Objects
    Thanks

    Hi,
    When an upgrade has been carried on a system, large number of data dictionary & repository objects get affected in the newer version.
    1. You have to start with identifying the objects which have undergone a change. So run the transaction SPDD which provides the details of SAP Standard Dictionary objects that have been modified by the client. Users need to take a decision to keep the changes or revert back to the SAP Standard Structure. More often decision is to keep the change. This is mandatory activity in upgrade and avoids data loses in new system. Following links contains necesary documentation on SPDD.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2e/6d66617d9011d396b60000e82de14a/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2e/6d66647d9011d396b60000e82de14a/content.htm
    2. After completing SPDD transaction, we need to run SPAU Transaction to get the list of Standard SAP programs that have been modified.  This activity can be done in phases even after the upgrade. Generally this will be done in same go so that your testing results are consistent and have more confident in upgrade.
    Check the below link. It elaborates on adjusting repository objects.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c8/61ec66e33611d1954b0000e82de14a/content.htm
    3. Also check whether the custom programs have been copied properly. Remove any obsolete statements. Also replace the obsolete function modules. Function modules like WS_UPLOAD & DOWNLOAD have become obsolete in ECC 6.0.
    4. In case of BDC, compare the screen with the older version. There is a possibility that few fields would have missed out. You may have to do some tweking in the program too. Same is the case with sap scripts.
    5. Also make sure that the objects are unicode compatible. 
    Reward if useful.
    Regards
    Sayee

  • Sales Order Costing. Error values, need BAPI or Userexit or Enhancements

    Hi Experts,
    I have a situation to solve the Errors in Sales Order Costing.
    My Error is,  its not splitting values equally,,, (BOM Item Price Values)
    for example...
    let i have a parent Item A.
    and Child Items as A1, A2, A3.
    Now the Qty of A is 100. for each item the price value is 50. so the total value is 5000/-
    Now If i need one A, then I need 8 A1's, 4 A2's, 3 A3's.and let think A1 value and A2 value and A3 value (single Unit ) are equal. and let the value be 100.
    but in BOM i can see all the values of A1, A2, A3 as same. (500, 500, 500) but it should be (800, 400, 300)
    The single Unit Price is not multiplying with Quantity, but its equally splitting.
    Please tell me Can I find and BAPI or Userexit or any enhancements or any Configurations to do.
    Thanks & Regards
    Dileep .C

    no replies and my thread was dead.

  • IS-RETAIL: How to update custom enhancement field using BAPI?

    Hi gurus,
    Like ECC BAPI: BAPI_MATERIAL_SAVEDATA,
    This BAPI(BAPI_MATERIAL_MAINTAINDATA_RT) is specific for IS-RETAIL to create and update material master data.
    But now If I append one custom field "ZFIELD" to end of table MARA, my question is how to update this custom enhancement field(ZFIELD) using BAPI(BAPI_MATERIAL_MAINTAINDATA_RT)
    Thanks in advance!

    Hi DongHai,
    I suggest you create your own BAPI. Just copy the codes in BAPI_MATERIAL_MAINTAINDATA_RT and add your custom fields. If you want to append the data of the custom field in table MARA, first, you have to create a structure table then goto SE11, type MARA and display. Click the APPEND STRUCTURE then choose the structure that you've created. Hope this will help.
    Rewards if useful
    Regards,
    Mark

  • BAPI for purchase order enhancement in DMS

    hi, guru,
    one of the client requirement is,
    Is there any BAPI s for enhance ment of DMS and Purchase order FUnctionalities?
    points!!!!!!!!!!1

    Hi,
    regarding the DMS BAPIs please see the transaction BAPI in your system or the SAP note 766277 which contains a complete documentation on all DMS BAPIs.
    Best regards,
    Christoph

  • BAPI to update enhanced Infotype 0006

    Hi,
       I have enhanced the standard infotype 0006 to add a new field zzrelation. I wanto to update values for this field using a BAPI.
       Is there a standard BAPI which has extension tables, for updating this enhanced 0006 infotype. So that I can pass the value of the custom field through the extension tables.
    Thanks in advance

    Hi Mukul,
    Use HR_INFOTYPE_OPERATION FM. The example is for info type 2006, replace it with 0006, also fill the table p0006 properly else it will give problem. You may use HR_READ_INFOTYPE to fill p0006.
    DATA:          p2006              TYPE p2006,
             gs_return          TYPE bapireturn1.
                             MOVE-CORRESPONDING <ABWKONTI_PTO> TO p2006.
                             CALL FUNCTION 'HR_INFOTYPE_OPERATION'
                                 EXPORTING
                                      INFTY            = '2006'
                                      NUMBER           = pernr-pernr
                                      SUBTYPE          = '94'
                                    OBJECTID         =
                                    LOCKINDICATOR    =
                                      VALIDITYEND      = p2006-endda
                                      VALIDITYBEGIN    = p2006-begda
                                    RECORDNUMBER     =
                                      RECORD           = p2006
                                      OPERATION        = 'MOD'
                                    TCLAS            = 'A'
                                    DIALOG_MODE      = '0'
                                    NOCOMMIT         =
                                    VIEW_IDENTIFIER  =
                                    SECONDARY_RECORD =
                                 IMPORTING
                                      RETURN           = gs_return
                                    KEY              =
    Br/Manas

  • Call bapi in Enhancement

    hi ,
    i do Enhancement and i call from their to bapi that i build and
    when i put debugger in the fm it don't get inside of it ,what can be the problem?
    Regards

    HI Joyjit Ghosh  ,
    this is my code :
    IF i_sst  = 'ZZ_PRC'.
    BREAK-POINT.
          LOOP AT i_t_var_range INTO ttab
                WHERE vts = 'YY_ST'.
          ENDLOOP.
    BREAK-POINT.
        CALL FUNCTION 'YHR_GET_EMP_DATA'
          EXPORTING
            PERNR       = '1234'
          TABLES
            emp_data          = emp_data
    BREAK-POINT.
    when i  run the QUARY the debbuger start and do the loop before the fm (i have data in TTAB) but when i push f5 on the FM I go inside metods .
    i do double click on the FM NAME AND I see the fm code.
    Regards

  • Enhancement during BAPI Call

    Hi All,
    I have created an enhancement in VL01N while creating Delivery.
    Now when I do manual Delivery the code is working fine . Enhancement gets triggred and the desired output is achived.
    But the problem comes when the I uase BAPI to create the Delivery,  whenevr I use BAPI 'BAPI_OUTB_DELIVERY_CREATE_SLS' to create the delivery the enhancement does not get triggered & that logic is not performed so the final result is wrong .
    This is not olny in case of delivery, this is in all cases like Creating Invoice, Sales Order etc. We have written some checks in these creation after which these documents should be created. But now when I use BAPI's instead of manual creation these checks dont work and the document get created even when they had not to be created.
    Can you please help me in this ASAP.
    Thanks,
    Sameer

    Hi Sameer,
    You have to implement the same piece of code in BAPIs also, even BAPI : BAPI_OUTB_DELIVERY_CREATE_SLS enahncement points.
    Please check the feasibility of the same. This BAPi is also calling two BADis badi_dlv_create_sls_extin and badi_dlv_create_extout, probably the implementation of the same will help you to solve your problem.
    Please check feasiblity, best wishes,
    regards,
    Antony Thomas

Maybe you are looking for

  • Error while adding items to shopping cart

    We have SRM Server 5 with integrated ITS. We are at patch level - Basis/ABAP at 12 & SRM at 5 (all latest).We have an error as below. We are able to login & go till "Shopping Cart". But when we try to add an item quantity through the path -Shop->Inte

  • Problem in digitally signing a particular element of an XML Document

    hi all!! I was trying to sign a particular element of an XML document using JSR105 (XML Digital Signatures) API. For which i used +#xpointer(id('idvalue'))+ and +#idvalue+ as the URI for the reference i create as below : Reference ref = fac.newRefere

  • Java API - Needs to be more confusing for beginers (API translation)

    Hi, I have found a great method in which has some code that is exactly what is required to put my concept into computer science; although I do not have enough knowledge of Java to create a class which will enable me to access the required methods wit

  • Assigning infotypes to infogroups and usergroup (country specific)

    I am an abapper so I apologise for what may be a too basic question, but I have searched and not able to find complete answer. I have a situation where I am using 1 User group i.e. '07' which is assigned to Infogroup 'Z1' which is for Hire Action 'Z1

  • Finder and QTimeplayer won't display flash 8 content

    Hi, Finder's inbuild preview as well as the quicktime player won't display flash 8 swf's It can only show earlier flash movies. I have flash 8.022 pro on mac os 10.4.7 I can however see flash 8 content in all of my browsers. Is there a component or p