AMPL_ATTEMPTS SAP (Main Structure for AMPL Batch Program) Structure details

Dictionary Type: Structure
Description: Main Structure for AMPL Batch Program




ABAP Code to SELECT data from AMPL_ATTEMPTS
Related tables to AMPL_ATTEMPTS
Access table AMPL_ATTEMPTS




Structure field list including key, data, relationships and ABAP select examples

AMPL_ATTEMPTS is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Main Structure for AMPL Batch Program" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_AMPL_ATTEMPTS TYPE AMPL_ATTEMPTS.

The AMPL_ATTEMPTS table consists of various fields, each holding specific information or linking keys about Main Structure for AMPL Batch Program data available in SAP. These include FAILED (Checkbox), REJECT_REASON (Character String 60), MANDT (Client), BMATN (Number of firm's own (internal) inventory-managed material).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type)


SAP AMPL_ATTEMPTS structure fields - Full list of fields found in SAP data dictionary

Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
SUCCEEDEDCheckbox XFELDCHAR1XFELD
FAILEDCheckbox XFELDCHAR1XFELD
REJECT_REASONCharacter String 60 CHAR_60CHAR60CHAR_60
MANDTClient MANDTCLNT3T000MANDT
BMATNNumber of firm's own (internal) inventory-managed material MPMATCHAR18MARAMATN1MATNRMAT
AMPNRNumber of AMPL record AMPNRNUMC5NUM5
EMATNMaterial Number Corresponding to Manufacturer Part Number EMATNCHAR18MARAMATN1MATNRHTN
MFRNRNumber of a Manufacturer MFRNRCHAR10LFA1ALPHALIFNR
WERKSPlant WERKS_MASKCHAR4T001WWERKSWRK
DATUVDate as of which the MPN materail may be procured AMPABDATS8DATUM
DATUBDate until which the MPN material may be procured AMPBIDATS8DATUM
REVLVRevision Level REVLVCHAR2NUMCVREVLVRVS
AMPSPBlocked manufacturer/part combinations AMPSPCHAR4TAMPSPAMPSP
REOAMDeletion indicator: AMPL record REOAMCHAR1XFELD
ERDATDate on Which Record Was Created ERDATDATS8DATUM
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM

Key field Non-key field



How do I retrieve data from SAP structure AMPL_ATTEMPTS using ABAP code?

As AMPL_ATTEMPTS is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on AMPL_ATTEMPTS as there is no data to select.

How to access SAP table AMPL_ATTEMPTS

Within an ECC or HANA version of SAP you can also view further information about AMPL_ATTEMPTS and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!