AFS Tables

Hi,
I'm looking tables for the following fields,
o     J_3ABWEL_COLOR
o     J_3ABWEL_COUNTRY
o     J_3ABWEL_QUAL_R
o     J_3ABWEL_SIZE
o     J_3ABWEL_QUAL
o     AFS/COLLECTION
o     J_3ASEAN
o     /AFS/THEME
o     J_3ASIZE
Please help me if some one know.
Thanks.
Pria

Hello,
Some commonly used tables in AFS are mentioned as
Tables name       details
1.CABN              -  Characteristic table
2.J_3APGEN      - AFS Product grid entries
3.J_3ASORT      - AFS Sort - Seque
4.AUSP              - Characteristic Values
5.J_3ABSSI       - AFS STOCK (Sizes
6.J_3AVBFAE
7.J_3APGHD
But if you are interested in getting the information on all the tables involved in AFS solution then you need to follow the following
steps:Go to the t-code "SE11" then and type J_3* and press F4. In this way you will get all AFS related tables..
Regards,
Sarthak

Similar Messages

  • AFS Table

    Dear All
    I am using ECC6.0 AFS
    I am trying Sale Order Assortment Details (color Size qty rate shiptocountry ) in sapscript
    which table contains these details
    Thanks and Regards
    Suresh

    Please explain more about assortments - AFS does support assortments only via Sales Bill of Material.
    This does not include ship to country  Only header/components both could have grid as well.
    Margie

  • Table for temporarily stock /requirement  for tocde /afs/mdo4

    Dear expart,
    I developed a zreport for display STO number, Production order number, operation etc.
    mainly I use here AFPO,AFRU, MSEG, MCHB & J_3ABDSI Table.
    My problem is, when I compare with Tcode /afs/md04 tab-temporarily stock /requirement  .
    for some MATNR
    data show properly.
    and some MATNR are blank  with message Last MRP run on 04.04.2011 or such date.
    Hhow i can filter the in Z-report which MATNR are not in Tcode /afs/md04 tab-temporarily stock /requirement  .
    my code is.
    SELECT  j_3abdsiaufnr j_3abdsimatnr j_3abdsij_4krcat j_3abdsimbdat j_3abdsi~menge INTO TABLE it_eket FROM j_3abdsi
        FOR ALL ENTRIES IN it_final1
        WHERE
              j_3abdsi~j_4krcat = it_final1-j_4ksca AND
              j_3abdsi~matnr = it_final1-matnr AND
              j_3abdsi~werks = it_final1-werks AND
              j_3abdsi~bdart = 'TB' AND
              j_3abdsi~plart = 'B' AND
              j_3abdsi~bsart = 'UB'.
    Pls help .
    Rayhan
    Edited by: Abu Rayhan on Apr 5, 2011 10:24 AM

    CLEAR i_data1.
      REFRESH i_data1.
      LOOP AT i_mara.
        READ TABLE i_marc WITH KEY matnr = i_mara-matnr  BINARY SEARCH .
        IF sy-subrc = 0 .
          CALL FUNCTION 'J_3AM_DISPOSITION_DISPL'
            EXPORTING
              i_matnr                 = i_mara-matnr
              i_werks                 = p_werks
          I_DIALOG                = ' '
          I_SPERR                 = ' '
          I_AUFRUF                = ' '
          I_BANER                 = ' '
             i_todate                = todate
          I_HEADER_ONLY           = ' '
           IMPORTING
             ex_dbba                 = i_data3
          E_MDKP                  =
          EX_PBBD                 =
          EX_MELD                 =
          E_CM61M                 =
           EXCEPTIONS
             material_gesperrt       = 1
             wbz_fehler              = 2
             material_prgr           = 3
             dispo_gesperrt          = 4
             OTHERS                  = 5
          IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ELSE.
            IF i_data3[] IS NOT INITIAL.
              LOOP AT i_data3 INTO i_data4 .
                  IF ( i_data4-j_3astat ='A' OR i_data4-j_3astat ='T') AND i_data4-j_3abskz ='C'   .
                    READ TABLE i_t001l WITH KEY lgort = i_data4-lgonr  BINARY SEARCH .
                    IF sy-subrc = 0 .
                      CLEAR i_data1str.
                      i_data1str-matnr = i_data4-matnr.
                      i_data1str-j_3asize = i_data4-j_3asize .
                      i_data1str-lgort = i_data4-lgonr.
                      i_data1str-menge = i_data4-menge .
                      COLLECT i_data1str INTO i_data1.
                    ENDIF.
                  ENDIF.
              ENDLOOP.
            ENDIF.
          ENDIF.
      ENDLOOP.
    Questions
    i_mara  recordset 500 material
    It take more than 3 house to finished this report.
    do changed ?
    do you help me ?
    Think.

  • Table Name of Purchase Requisition Grid Line Item (SAP-AFS)

    Dear All,
    As im in the midst of preparing a report on the purchase requisitions with grid value and its respective quantity for those which are not converted as POs.
    im not able to find the table which holds the AFS grid details related to the PR. im using EBAN to fetch the PR header and line item details and i tried joining with the EKET table, but resulting with the list of PR details those which are converted as POs, since EKET holds the PO sheduled line item details.
    Reference Transaction - me53n - Item details table control.
    Kindly help me to find the table which hold the above said data.
    thanks in advance.Rating assured.
    Message was edited by: Raja K.P

    Hi Raja
       The tables you have mentioned are enough for extracting the details you need. Hope the below code helps you.
    tables: eban, eket.
    parameters: p_werks like eban-werks.
    select-options: s_bsart for eban-bsart,
                    s_erdat for eban-erdat obligatory,
                    s_matnr for eban-matnr.
    data: begin of itab occurs 0,
             banfn like eban-banfn,
             bnfpo like eban-bnfpo,
             bsart like eban-bsart,
             matnr like eban-matnr,
             menge like eban-menge,
             ebeln like eban-ebeln,
             ebelp like eban-ebelp,
             menge1 like eket-menge1,
           end of itab.
    start-of-selection.
      select a~banfn a~bnfpo a~bsart a~matnr
             a~menge a~ebeln a~ebelp b~menge
             into table itab
             from eban as a
             inner join eket as b
             on b~ebeln = a~ebeln
             and b~ebelp = a~ebelp
             where a~werks = p_werks
             and   a~bsart in s_bsart
             and   a~erdat in s_erdat
             and   a~matnr in s_matnr
             and   ( a~ebeln eq space  or
                     a~menge ne b~menge ).
    Now internal table itab will have all the open PR Numbers, for partially open PR's you will have itab-ebeln populated. For these entries subtract itab-menge1 from itab-menge to get the open qty.
    Kind Regards
    Eswar

  • Extractor For AFS System [ Table /AFS/MARM & /AFS/MWKE & /AFS/MLGN2 ]

    Hi Guru,
    Exist a Extractor Standard for this table? for exmple i thinking for /AFS/MARM ( 0MAT_UNIT ?? )
    I would like to implement a delta extractor using one of the usual method, for exmple by reading the table ( CDPOS / CDHR ) or using the BTE ( Transactio Event ) .
    I accept any kind of suggestion, in particular if someone has already implemented a possible solution.
    Regards
    Max

    Hi
    why do want to select the data from PSA table ?Already your trying to load data from PSA to DSO.
    you want to populate the AFS field value in DSO right?
    1. First you have to add AFS field in ur DSO
    2. Write the Start routine based on ur scenario(select the data based on ur scenario and put into internal table).
    3. wirte AFS field leval  transfer routine(Read the corresponding record based on docu num,item num) pass into RESULT.
    Regards,
    GR

  • AFS Sort - Sequence  (table J_3ASORT)

    We are in the process of upgrading from SAP 4.5B (AFS 2.5B) to ECC 5 (AFS 5).  Table J_3ASORT has been marked as 'obsolete' by SAP and no new/substitute table is mentioned (in the SAP documentation nor notes - that I could find) that will contain data that I can use in its place.
    J_3ASORT is used in many of our customer applications to control the sequence of our sizes / dimensions as they are presented on the screen or report.
    If I let the screen display in the sequence based on the dimension then we will get (for example):
    Dimension value Sort sequence
    1X              00001350    
    28              00000100    
    2X              00001400    
    30              00000200    
    32              00000300    
    34              00000400    
    36              00000500    
    38              00000600    
    3X              00001500    
    40              00000700    
    42              00000800    
    44              00000900    
    46              00001000    
    48              00001100    
    4X              00001600    
    50              00001200    
    52              00001300   
    The dimensions are not in the correct 'size' sequence, but rather they are in the ASCII sort sequence.
    When I use the sort sequence, I get the better readable version of:
    Dimension value Sort sequence
    28              00000100    
    30              00000200    
    32              00000300    
    34              00000400    
    36              00000500    
    38              00000600    
    40              00000700    
    42              00000800    
    44              00000900    
    46              00001000    
    48              00001100    
    50              00001200    
    52              00001300    
    1X              00001350    
    2X              00001400    
    3X              00001500    
    4X              00001600   
    Short of creating a new Z table does somebody know of a table that can be used to the same effect of being able to assign a sort sequence to the various dimensions?
    I very much appreciate your time and effort.
    Henry

    Henry,
             Did you try out this note - Note 856352 - AFS 5.0 upgrade: Wrong values order for grid characteristics. Now in AFS 5.0 the characteristics maintenance is thro ct04. The dimension sort sequence for the relevant grids are now maintained in the following table - J_3APGDI . I guess you will have to populate this table using your dimension and grid relationships.
    I hope this piece of information was useful to you.
    Regards,
    Gary

  • Tables & Fields for AFS characteristics values

    Hi Gurus,
    Need a help to find otu the Characteristic vlues of AFS-Material FIELD NAMES and their TABLE NAMES.
    If any one konws please let me know that will be great.
    Exactly the i want to find out the FIELD NAMES of the Characteristic Values of a AFS Material. Where these characteristics values are going and sitting in Which FIELDS and in which TABLES.....Ok...
    Advance thanks aand Regards,
    Madhu.G

    Sudha,
    You can find all material document details in table MSEG.
    Regards,
    John.

  • PP - No data in Field J_3ARESM (reserved qty) of 2lis_02_pabdsi(AFS based)

    Hi,
    I have loaded data for the AFS based datasource 2LIS_AF_PABDSI of PP. But there is no data in the field -
    J_3ARESM(reserved quantity) - only showing 0,000. Used RSA3 transaction to extract data.
    I checked it after filling up the setup tables. Data is present for all other fields.
    Using MB25 transaction, when I give a particular production order - it has reservation data.
    But, no data is present for Reservation Quantity in 2LIS_AF_PABDSI.
    Thanks & Regards
    Shine Sasimohanan
    +91-9632674245

    Hi
    I think this standard datasource is not fit for this filed. J_3ARESM(reserved quantity) filed populate through J_3ABDSI this table try it once with z datsource mapping through
    J_3ARESM- ZJ_3ARESM(AFS Fixed reserved quantity)
    Hope its help.
    By,
    Praveen Yagnamurthy,
    SAP BI Consultant,
    Blue Marlin Systems-INDIA.
    http://bluemarlinsys.com/bi

  • End Routine to populate custom AFS field for Billing Item extractor

    I have the following scenario for Billing 2LIS_13_VDITM datasource
    Doc_No   Item  Material    Item_Categ   AFS_field
    2000        11     XYZ          123
    2000        12     XYZ          123                  US1
    3000        11     PQR          456                 
    3000        12     PQR          456                  CA1
    I need to populate the AFS_field in the first row also for all Doc Nos for certain Item categories (eg 123 & 456). I need to do this on the first transformation from PSA to DSO. I was planning to write a SELECT statement in the Start Routine with the PSA table as the reference as seen below and then write an End Routine calling this reference table. But the PSA table name is different in Dev, QA and Prod so I cannot use this.
    TYPES: BEGIN OF S_AFS,
    VBELN TYPE C LENGTH 10,
    PSTYV TYPE C LENGTH 4,
    MATNR TYPE C LENGTH 18,
    J_4KRCAT TYPE C LENGTH 16,
    J_4KSCAT TYPE C LENGTH 16,
    END OF S_AFS.
    DATA: LT_AFS TYPE STANDARD TABLE OF S_AFS,
          LS_AFS TYPE S_AFS.
    DATA: LT_DATA TYPE tyt_SC_1.
    LT_DATA[] = SOURCE_PACKAGE[].
    SORT LT_DATA DESCENDING BY VBELN MATNR J_4KRCAT.
    DELETE ADJACENT DUPLICATES FROM LT_DATA COMPARING VBELN MATNR.
    SELECT VBELN MATNR J_4KRCAT J_4KSCAT
    INTO CORRESPONDING FIELDS OF TABLE LT_AFS
    FROM /BIC/B0000777001
    FOR ALL ENTRIES IN LT_DATA WHERE VBELN = LT_DATA-VBELN AND MATNR =
    LT_DATA-MATNR.
    SORT LT_AFS BY VBELN MATNR.
    I am not an expert in writing ABAP code. Any suggestions are greatly appreciated and points will be assigned. Thank you.

    Hi
    why do want to select the data from PSA table ?Already your trying to load data from PSA to DSO.
    you want to populate the AFS field value in DSO right?
    1. First you have to add AFS field in ur DSO
    2. Write the Start routine based on ur scenario(select the data based on ur scenario and put into internal table).
    3. wirte AFS field leval  transfer routine(Read the corresponding record based on docu num,item num) pass into RESULT.
    Regards,
    GR

  • AFS User Exit for Allocation Run Sorting

    Hi Gurus,
    can you please help us in order to identify which BAPI or User Exit needs to be used to perform a custom sorting on AFS Allocation Run?
    My aim is to perform a specific calculation on a single field of the requirement sorting table (/AFS/SOFN_V-SOFNA) during ARun processing..
    Given a specific value of this field (that will be EDATU - confirmed delivery date) I want to assign a dynamic value based on a comparison with an external table, in order to determine whether EDATU belongs to range A, B or C
    Any idea?
    Thanks in advance for your help
    Regards, Alessio

    solved with the help of SAP note.

  • Error while updating AFS weights & measures material master data using BAPI

    Hello ABAP experts,
    Please help me in finding the right way in updating AFS weights & measures data (/AFS/MARM) data using BAPI /AFS/BAPI_MATERIAL_SAVE_DATA.
    I'm populating the following table parameters of the BAPI,
    1. SKUUNITSOFMEASURE with /AFS/MARM records
    s_bapi_marm-ALT_UNIT = 'EA'.
    s_bapi_marm-ALT_UNIT_ISO = 'EA'.
    s_bapi_marm-grid_value = 'XXXXS'.
    *s_bapi_marm-STOCK_CATEGORY = '01000'.
    s_bapi_marm-volume  = '10'.
    s_bapi_marm-GROSS_WT  = '10'.
    s_bapi_marm-NET_WEIGHT  = '10'.
    append s_bapi_marm to t_bapi_marm.
    2. UNITSOFMEASURE with MARM records
    s_bapi_uom-ALT_UNIT = 'EA'.
    s_bapi_uom-ALT_UNIT_ISO = 'EA'.
    s_bapi_uom-NUMERATOR = '1'.
    s_bapi_uom-DENOMINATR = '1'.
    s_bapi_uom-UNIT_OF_WT = 'KG'.
    s_bapi_uom-VOLUMEUNIT = 'CCM'.
    append s_bapi_uom to t_bapi_uom.
    But the BAPI returns me an error "Stock Category & is not valid in Category structure  &"
    Let me know if you have any inputs on this one.
    Thanks,
    Partha.

    Hi VAMSHI,
    I have your same error but I don't know how to solve it. We have active "material split valuation" and valuation type is mandatory field if using ACCOUNTING and COSTING views.
    Please, let me know.
    Thanks in advance.
    GB

  • 'BAPI_PO_CREATE1'  Multiple account assignment is not possible for AFS item

    'BAPI_PO_CREATE1'  -> This BAPI works perfectly without the  'account assignment' option . But  for purchase requisitions which have account assignments  BAPI returns the error  - E|8W |185   |Multiple account assignment is not possible for AFS items.
    Can somebody please help me to get this error resoleve .
    My coding I have done like below.
    DATA: pohead  TYPE bapimepoheader.
    DATA: poheadx TYPE bapimepoheaderx.
    CONSTANTS : c_x VALUE 'X'.
    DATA: exp_head TYPE bapimepoheader.
    DATA: return  TYPE TABLE OF bapiret2 WITH HEADER LINE.
    DATA: poitem  TYPE TABLE OF bapimepoitem WITH HEADER LINE.
    DATA: poitemx TYPE TABLE OF bapimepoitemx WITH HEADER LINE.
    DATA: posched  TYPE TABLE OF bapimeposchedule WITH HEADER LINE.
    DATA: poschedx TYPE TABLE OF bapimeposchedulx WITH HEADER LINE.
    DATA: POACCOUNT  TYPE TABLE OF BAPIMEPOACCOUNT WITH HEADER LINE.
    DATA: POACCOUNTX TYPE TABLE OF BAPIMEPOACCOUNTx WITH HEADER LINE.
      pohead-comp_code = '1000'.   "IEQ1 plant. "'1000'.
      pohead-doc_type   = 'NB'     .
      pohead-creat_date = sy-datum   .
      pohead-vendor = EKKO-LIFNR. "'0000500004'.
      pohead-purch_org = purch_org.
      pohead-pur_group = purch_grp.
      pohead-langu      = sy-langu   .
      pohead-doc_date   = sy-datum.
      poheadx-comp_code  = c_x.
      poheadx-doc_type   = c_x.
      poheadx-creat_date = c_x.
      poheadx-vendor     = c_x.
      poheadx-langu      = c_x.
      poheadx-purch_org  = c_x.
      poheadx-pur_group  = c_x.
      poheadx-doc_date   = c_x.
      poitem-po_item    = iLineItem.      "1.
      poitem-material   = req_item-MATERIAL.   " '000000000040000234'.
      poitem-plant      = req_item-PLANT.
      poitem-quantity   = req_item-QUANTITY.
      poitem-net_price  = NET_PRICE.
      poitem-price_unit = PRICE_UNIT.
      poitem-shipping   = 'Z1'.
      poitem-preq_no    = req_item-PREQ_NO.
      poitem-preq_item  = req_item-PREQ_ITEM.
      poitem-acctasscat = 'K'.
      APPEND poitem.
      poitemx-po_item    = iLineItem. "1.
      poitemx-po_itemx   = c_x.
      poitemx-material   = c_x.
      poitemx-plant      = c_x .
      poitemx-quantity   = c_x .
      poitemx-tax_code   = c_x .
      poitemx-item_cat   = c_x .
      poitemx-acctasscat = c_x .
      poitemx-net_price  = c_x.
      poitemx-price_unit = c_x.
      poitemx-shipping   = c_x.
      poitemx-preq_no    = c_x.
      poitemx-preq_item  = c_x.
      poitemx-acctasscat = c_x.
      APPEND poitemx.
      POACCOUNT-PO_ITEM = iLineItem.
      POACCOUNT-SERIAL_NO = iLineItem.
      POACCOUNT-GL_ACCOUNT = '0000211010'.
      POACCOUNT-SD_DOC = '0001001056'.       
      POACCOUNT-ITM_NUMBER = '000100'.       
      POACCOUNT-CO_AREA = '1000'.
      APPEND POACCOUNT.
      POACCOUNTX-PO_ITEM = '00001'.
      POACCOUNTX-SERIAL_NO = '01'." '01'.
      POACCOUNTX-PO_ITEMX = 'X'.
      POACCOUNTX-SERIAL_NOX = 'X'.
      POACCOUNTX-GL_ACCOUNT = 'X'.
      POACCOUNTX-SD_DOC = 'X'.
      POACCOUNTX-ITM_NUMBER = 'X'.
      APPEND POACCOUNTX.
      CALL FUNCTION 'BAPI_PO_CREATE1'
        EXPORTING
          poheader  = pohead
          poheaderx = poheadx
        IMPORTING
        exppurchaseorder = ex_po_number
        expheader        = exp_head
        TABLES
          return    = return
          poitem    = poitem
          poitemx   = poitemx
          POACCOUNT = POACCOUNT
          POACCOUNTX = POACCOUNTX.

    I  found the answer

  • Create material Master by connecting SAP Tables to SQL server tables

    We would like to use data in SQL server tables to upload material master into ECC. We have a number of rules embedded into the SQL server tables and would like that the LSMW program should pick up records directly from the SQL table without passing through a flat file format. Can anyone guide us how to accomplish this. We are on SAP AFS ECC 5.0 Thanks in advance

    Is anyone having any ideas on this ...?

  • How to know in an IDOC you are at the end of processing the EDIDD table?

    I am fairly new to processing IDOCS.
    I am working with the user exit EXIT_SAPLVEDF_002.  This is in the IDOC FM IDCO_OUTPU_INVOIC.  I am working with SAP AFS (the IDOC is /AFS/INVOIC02 but is the same as IDOC INVOIC02 with added logic for AFS).
    I know the FM processes one segment at a time and builds the EDIDD table and then passes it to the user exit after it adds each segment to the table.
    There isn't any other user exit that executes near the end of the processing - none that I could find.
    I am looking to do something that is similar to someone doing a SAVE in DYNPRO and using a user exit to do any final processing before the document is saved.
    Is there some segment name that is the key so that I know I am at the end of processing?
    Is there some status in the IDOC control record that would be set so I would know when it hits this that I can now review the entire EDIDD table?
    Points awarded for any help!
    Thanks.
    Scott

    I found the segment to search for - it's the summary segment 'ED1EDS01'.  It is passed after the detail processing has been added into the EDIDD table.

  • Update zfields in MARA table

    hi,
    In my client system a custom view is maintained for MM* transactions
    I have added two custom fields in MARA table as well as this custom view.
    Now i have to populate value for this two custom fields.
    i am using "/AFS/BAPI_MATERIAL_SAVEDATA" to update this two fields. But the fields are not updated and the bapi gives the follwoing message "The material cannot be maintained since no maintainable data transferred"
    What are the parameter in which i have to pass values for populating any zfield?
    Currently i am just passing HEADER DATA , EXTENSIONIN and EXTENSIONINX.
    I think i am missing something.
    Please help.

    Some settings may be required as discussed here.
    Update custom fields of MARA using MATERIAL_MAINTAIN_DARK
    Also you can try this BAPI.
    BAPI_MATERIAL_SAVEDATA.

Maybe you are looking for