BAPISOSY SAP (Transfer Structure for Source Search) Structure details

Dictionary Type: Structure
Description: Transfer Structure for Source Search




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




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

BAPISOSY 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 "Transfer Structure for Source Search" 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_BAPISOSY TYPE BAPISOSY.

The BAPISOSY table consists of various fields, each holding specific information or linking keys about Transfer Structure for Source Search data available in SAP. These include SUPPL_PLNT (Plant from Which Material is Procured), AGREEMENT (Number of Principal Purchase Agreement), AGMT_ITEM (Item Number of Principal Purchase Agreement), INFO_REC (Number of Purchasing Info Record).. 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 BAPISOSY 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
FIXED_VENDFixed Vendor FLIEFCHAR10LFA1ALPHALIFNR
SUPPL_PLNTPlant from Which Material is Procured BEWRKCHAR4T001WWERKS
AGREEMENTNumber of Principal Purchase Agreement KONNRCHAR10EKKOALPHAEBELNKTR
AGMT_ITEMItem Number of Principal Purchase Agreement KTPNRNUMC5EKPOEBELP
INFO_RECNumber of Purchasing Info Record INFNRCHAR10EINAALPHAINFNRINFMEIN_C
DOC_CATPurchasing Document Category BSTYPCHAR1BSTYP
PURCH_ORGPurchasing Organization EKORGCHAR4T024EEKORGEKO
PO_UNITPurchase Order Unit of Measure BSTMEUNIT3T006CUNITMEINS
ITEM_CATItem Category in Purchasing Document PSTYPCHAR1T163PSTYP
PUR_MATMaterial Number EMATNRCHAR18MARAMATN1MATNRMAT
ITEM_CAT_EXTItem Category in Purchasing Document EPSTPCHAR1EPSTP
PO_UNIT_ISOOrder unit in ISO code BSTME_ISOCHAR3T006IISOCD_UNIT
PUR_MAT_EXTERNALLong Material Number for PUR_MAT Field MGV_PUR_MAT_EXTERNALCHAR40MATNR_EXT
PUR_MAT_GUIDExternal GUID for PUR_MAT Field MGV_PUR_MAT_GUIDCHAR32MATNR_EGUID
PUR_MAT_VERSIONVersion Number for PUR_MAT Field MGV_PUR_MAT_VERSIONCHAR10MATNWMATNR_VERS

Key field Non-key field



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

As BAPISOSY 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 BAPISOSY as there is no data to select.

How to access SAP table BAPISOSY

Within an ECC or HANA version of SAP you can also view further information about BAPISOSY 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!