To include BSEG-MATNR in FI substituiton field.

Dear Expert,
I need to substitute BSEG-MATNR with a constant value from prerequisite (BKPF-TCODE and BSEG-HKONT) but there is no BSEG-MATNR in substitution field (Class 009). Help required. TQ

Hi
1. Go to SE16N
2. Enter Table name = GB01
3. In the space where you enter T code, enter "&SAP_EDIT" and press enter
4. Enter BCL TAB (Table) = BSEG and BCLFIELD (Field) = MATNR and execute
5. Remove X that you see in the next screen
6. Save
7. Select the entry and click on menu Table Entry > Transport
8. Run Program RGUGBR00, select all check boxes
Now you can use this field BSEG-MATNR in substitution...
Regards
Ajay M

Similar Messages

  • How to include BSEG ANLN1 into OBCY selection.

    Hi,
    I need to include BSEG ANLN1 into selection of summarise FI   Tcode OBCY. Appreciate some advise. TQ

    Hi,
    I am not convinced whether we can do it. The field names are stored in table TTYPS-FI Summarization: Document Fields Allowed.
    Take the help of technical consultant and see if you can maintain the table entries there.
    Aravind

  • Reading data from BSEG table with Non-key fields in where clause

    Hi All,
        I have to read data from BSEG table based on WBS element field (PROJK). As I'm not passing key fields to WHERE clause system couldnt run the select statement. Since BSEG is a cluster table I cant even create secondary index on PROJK field.
       Could you please tell me, how to improve its performance.
    Regards
    Jaker.

    SELECT bukrs
                 belnr
                 gjahr
                 shkzg
                 dmbtr
                 hkont
                 lifnr
                 matnr
                 werks
                 menge
                 meins
                 ebeln
            FROM bseg
            INTO TABLE it_bseg
            PACKAGE SIZE 10
            FOR ALL ENTRIES IN it_final
            WHERE  bukrs EQ it_final-bukrs
               AND belnr EQ it_final-belnr
               AND gjahr EQ it_final-gjahr
               AND buzei EQ it_final-buzei
               AND hkont EQ it_final-hkont
               AND werks IN s_werks.
    By using package and fetch from BSEG table. gathering all other information to a final internal table.This will reduce the hit to database.And also try to put that data in hashed internal table which is it_bseg....then definetly improve the performance.
    <REMOVED BY MODERATOR>
    Dara.
    Edited by: Alvaro Tejada Galindo on Apr 21, 2008 12:47 PM

  • Include Flat file name as a field in the PSA / DSO.

    Hi,
    I have a requirement to include the Flat file name also in the DSO which is used for loading the data from a flat file source. I have created a new infoobject for File Name in the DSO. Can you guide me from which table I can get this information.
    I was thinking of reading this information from the table which stores the file name in a routine in the transformation to the DSO.
    I came across the table RSLDPSEL, it stores the Infopackage name and file name. But this does not work when I am using the same infopackage to load multiple files. Thanks in advance.
    Regards,
    Hari.

    Hi,
    The main challenge is to get the Technical name of the infopackage in the transformation ( field routine) from PSA (Datasource Source) to DSO for the Filename info object.
    Is there any table which stores the Infopackage and the corresponding data target information in BI 7.0 sothat I could use the field routine in transformation to get the Infopackage ID based on the data target (DSO) ?
    Once I have the technical name of the Infopackage, my logic is to query the RSLDPSEL table and find the file name based on Infopackage ID.
    Please share your thoughts on how this scenario could be realised.
    Thanks,
    Regards,
    Hari

  • How can I search the attribute including type and length of the field in the SD table or form such as sales executive table through debug?

    Some users show that  the sales docment external name is not printed completely in the form of delivery form printing, so I want to find how much length of the field is there through debugging. I am very expected to gain some suggestion from you.

    for exploding the bom if you know header material use
      CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
        EXPORTING
          CAPID                 = 'PP01'
          DATUV                 = SY-DATUM
          MEHRS                 = 'X'
          MTNRV                 = P_MATNR
          WERKS                 = P_WERKS
        TABLES
          STB                   = I_BOM
        EXCEPTIONS
          ALT_NOT_FOUND         = 1
          CALL_INVALID          = 2
          MATERIAL_NOT_FOUND    = 3
          MISSING_AUTHORIZATION = 4
          NO_BOM_FOUND          = 5
          NO_PLANT_DATA         = 6
          NO_SUITABLE_BOM_FOUND = 7
          CONVERSION_ERROR      = 8
          OTHERS                = 9.
    now check PLPO & PLKO table for routing or AFVC and AFVV for routing.
    if production order created you have to check in afvc and afvv else check in plpo and plko.
    for checking with plpo and plko you have to check MAPL table.
    for bom and material link
    MAST,STPO,STKO.
    stlnr is the common field
    regards
    shiba dutta

  • How to write code for this logic in a routine, very urgent --help me

    hi all,
    i want to apply this logic into one subroutin ZABC.
    here i m giving my logic ,can any body help me in coding for this, this is very urgent, i hv to submit on wednesday.
    4.1 Read the company code number BSEG-BUKRS from document line item.
    4.2 Fetch PRDHA from MARA into GV_PRDHA where MATNR = BSEG-MATNR.
    4.3 Fetch Business area (GSBER) from ZFIBU into GV_GSBER where (PRDHA = GV_PRDHA and BUKRS = BSEG-BUKRS) OR (PRDHA = GV_PRDHA and BUKRS = SPACE).
    4.4 If business area match is found, go to step 3.9. Else continue.
    4.5 If BKPF-BLART IN set “ZVS_POSDT” OR BKPF-XBLNR starts with “I0*”, execute steps below. Else, go to Step 3.6.
    i. MOVE: BSEG-BKURS TO work area field WA_ZFIBUE-BUKRS,
    BSEG-MATNR TO work area field WA_ZFIBUE-MATNR,
    GV_PRDHA TO work area field WA_ZFIBUE-PRDHA,
    BSEG-HKONT TO work area field WA_ZFIBUE-HKONT,
    BSEG-GSBER TO work area field WA_ZFIBUE-GSBER,
    BSEG-PSWBT TO work area field WA_ZFIBUE-PSWBT,
    BKPF-BUDAT TO work area field WA_ZFIBUE-BUDAT,
    SY-DATUM TO work area field WA_ZFIBUE-CREDATE,
    SY-UZEIT TO work area field WA_ZFIBUE-CRETIME,
    Fetch running serial number (WA_ZFIBUE-SERIALNO) from ZFICO. This number will be stored in ZFICO with PARAMTYPE = "BPM030307", SUBTYPE = "ZFIBUE" and KEY1 = "SERIALNO". The actual serial number will be stored in the field VALUE1.
    i. Insert WA_ZFIBUE INTO ZFIBUE.
    ii. Send email notification to the user (if it is not already sent to user on the same posting date).
    Use function module ‘SO_NEW_DOCUMENT_ATT_SEND_API1’ to send mail.
    Fetch email address and date of last email from ZFICO. These values will be stored in ZFICO with PARAMTYPE = "BPM030307", SUBTYPE = "EMAIL" and KEY1 = "<USERNAME>". The email address will be stored in the field VALUE1 and posting date in VALUE2. Once mail is sent, VALUE2 is updated with latest posting date (BKPF-BUDAT).
    iii. Increment the running serial number and update ZFICO with new serial number.
    a. GV_ SERIALNO = WA_ZFIBUE-SERIALNO + 1
    b. Update ZFICO Set value1 = GV_SERIALNO
    Where PARAMTYPE = "BPM030307" AND
    SUBTYPE = "ZFIBUE" AND
    KEY1 = "SERIALNO".
    iv Move “VDFT” to BSEG-GSBER.
    v. Exit routine.
    4.6 Fetch MTART into GV_MTART from MARA where MATNR = BSEG-MATNR.
    4.7 If SY-BATCH = INITIAL AND GV_MTART <> ‘ROH’, issue the error message - “Maintain the mapping of product hierarchy <PRDHA> from article <MATNR> for <BUKRS>”. Else, go to step 3.8.
    4.8 If SY-BATCH <> INITIAL AND GV_MTART <> ‘ROH’, issue the error message - “Maintain product hierarchy on article master”. Go to step 3.10.
    4.9 Move GV_GSBER TO BSEG-GSBER.
    4.10 Exit Routine
    plz give me reply asap --this is very urgent
    thanks in advance
    swathi

    Hi Swathi,
    If it's very very urgent then you better get on with it, don't waste time on the web. Chop chop.

  • How to Change Material number in Accouting Document on ML81N

    Hi,
    I have a requirement to change the Material Number based on the User custom data from the Custom Tab.
    Since Service PO does not contains any material number, so based on the custom tab, we are trying to update the same.
    Using ML81N T-Code.
    Please suggest is there any User Exit or BADI to add or change the Material number in the Accounting Document.
    Regards.
    Praveer.

    You have to update the field BSEG - MATNR from your custom field to see the material number in accounting document.
    There are many exit or badi available for t-code ML81N.. Just find appropriate one by using the document Methods to find Customer/User Exit's & BADi's for a Transaction Code!

  • Including Payment Method field BSEG-ZLSCH in Down Payment (T code F-29)

    Hi There;
    Can any one help me in creating an extra field in Down Payment document?
    There is a requirement to include the SAP Standard Payment Method field in Down Payment screen layout.
    I appreciate your help.
    Thanks
    Arshad

    Hi Arshad,
    Pl goto FBZP tcode.
    Select 'All company code' tab->select your co code->give spl gl indicator which you want use under Customer-Sp. G/L transactions to be paid field and Save.
    I hope this solves your issue.
    Regards,
    Shaik.A
    Edited by: shaik A on Feb 8, 2009 8:31 AM

  • Expand FI_GL_4 by BSEG and PUR fields

    Hi Experts,
    I am trying to expand FI-data from standard datasource FI_GL_4 by purchase information.
    Above all: EBELN & EBELP
    Additionally fields (BSEG): MWART, ZUONR,
    Additionally fields (EKBE, for Scheduling agreements): MENGE, MEINS
    Due to the fact that I am unexperienced to FI-extraction I was searching for notes, hints etc.
    I found thread: 0FI_GL_4 customer exit 
    , which seemed to be very helpful.
    But after studying that, I am facing some (similar) problems:
    1) Expanding FI_GL_4 by append fields to Customer Include CI_BSIS (as recommended in note 410799)
    After creating CI_BSIS and adding EBELN & EBELP to it I cannot activate the include, because there are some dependend tables (other own datasources) which already contain these fields. That brings up some errors.
    How can I activate the extract structure?
    Should I let begin these fields with ZZ*, but in that case I think it will not be filled automatically.
    I cannot implement note 430303 as all these fields are contained in DTFIGL_WF.
    2) Field ZUONR not filled
    This component is already in the structure DTFIGL_4, but it is not filled (RSA3 shows no data in that field, however it is filled in table BSEG for a acc-nr)
    It seems to be that it has been added by a SAP enhancement to that datasource afterwards.
    As shown in  http://help.sap.com/saphelp_nw04/helpdata/en/f2/f7e93a4295ac61e10000000a114084/frameset.htm
    the column Table of Origin is empty.
    How can I get data into that field?
    3) How should I append fields to FI_GL_4 to be filled by EKBE (MENGE, MEINS).
    Do I have to create a new append and fill them via CMOD?
    Or can I also use CI_BSIS and fill them by a function module?
    I would be really happy, if you could help me asap!
    Maybe Mr. Simon Turnbull has an idea to get along with it?
    Thanks a lot in advance!!!
    Best regards,
    Daniel
    Edited by: Daniel Haserodt on Sep 27, 2011 11:43 AM
    Edited by: Daniel Haserodt on Sep 27, 2011 11:47 AM

    Hi Suyhas,
    thanks for your encouraging reply.
    1)
    yes, I try to append fields EBELN & EBELP (without ZZ*), but it seems to be that these both fields are
    somehow used in 2 customer-spezific datasources (Lets call them ZBW_t1 & ZBW_t2).
    I guess the CI_BSIS is used within these DS, too. Maybe that's why there are some dependencies and this trouble.
    The error message is below:
    TABL CI_BSIS activated
    Check table CI_BSIS
    Enhancement category for table missing
    Enhancement category for include or subtype missing
    Field EBELN does not lie within customer namespace
    Field EBELP does not lie within customer namespace
    List of tables dependent on CI_BSIS
    Table DTFIGL_4
    Table ZBW_t1
    Table ZBW_t2
    Table CI_BSIS was checked with warnings
    =========================================================================
    Adjustment of active dependent objects
    =========================================================================
    TABL DTFIGL_4 was adjusted
    TABL ZBW_t1 is inconsistent in active version
    Check table ZBW_t1
    Enhancement category 3 possible, but include or subty. not yet classified
    Field EBELN in table ZBW_t1 is specified twice. Please check
    Field EBELP in table ZBW_t1 is specified twice. Please check
    Check on table ZBW_t1 resulted in errors
    TABL ZBW_t2 is inconsistent in active version
    Check table ZBW_t2
    Enhancement category 3 possible, but include or subty. not yet classified
    Field EBELN in table ZBW_t2 is specified twice. Please check
    Field EBELP in table ZBW_t2 is specified twice. Please check
    Check on table ZBW_t2 resulted in errors
    2)
    I have to check whether ZUONR is used in these other extract-structures.
    But there are no (syntax-)errors during activation.
    I respond to it later...
    Regards,
    Daniel

  • Custom Fields not shown in BSEG using OXK3 transaction

    Hi,
    I have added new custom fields in Expert Mode using OXK3 transaction to add new fields in BSEG table.
    The Include CI_COBL is created with custom fields in OXK3  .
    I then tried to add fields by selecting "Add Field to BSEG" but an access key is required which I do not have.
    Now is there any other way or what is the next step to reflect the custom fields in BSEG table after creating the CI_COBL in OXK3 transaction.
    I do not have access to SAP Marketplace from where I can refer to SAP Notes.
    Thanks
    Amit

    Hello Amit,
    Are you sure this is a question related to SAP ByDesign and not SAP ECC?
    You will certainly have more luck finding answers in the right forum thread.
    Best regards.
    Jacques-Antoine Ollier

  • Free fields on BSEG

    Hello Expert,
    I have to add 3 new fields on BSEG. I remember that the fileds XREF1, XREF2, and XREF3 were free fields. But I have seen that XREF3 is used by MM module.
    The fields, i need,  should be available for transaction FB01 to post invoice from another system.
    Can you give me some suggestion?
    Thanks. Bye.

    Hi Josy
    In order to add new field to the table BSEG you have two possibilities:
    - Add the required fields in the coding block.                        
       Path in the implementation guide is                                 
       Financial Accounting                                                
         -> Special Purpose Ledger                                         
            -> Basic Settings                                              
               -> Maintain Coding Block.                                                                               
    (Transaction   > OXK3)                                                                               
    - Using an "Append structure" for table BSEG.
    The aspects to be      considered are described in R/3 Online Documentation. You can access
       R/3 Online Documentation from any R/3 screen -> Help -> R/3 library.
       In R/3 Library, go to                                               
       -> BC - Basis Components                                            
         -> ABAP Workbench                                                 
           -> BC ABAP Dictionary                                           
             -> Tables                                                     
               -> Append Structures.                                       
    However, with this option on posting a document, the field is not    automatically added to the standard dynpros. Any modification must   be included in as a change to the standard system.                     
    Here is also information from development:  include technology is a suitable method to isolate SAP standard fields from customer fields in transparent tables.                            
    It is not suitable for cluster tables like BSEG.                                                                               
    The critical difference between transparent tables and cluster tables is that for cluster (and pool) tables the order of fields on        the database is always the same as the order in the dictionary.        
    For transparent tables an arbitrary translation between these orders can be achieved by the R/3 data base interface.                                                                               
    This implies that new fields can only be appended to table BSEG.       
    Any insertion inbetween existing fields or any change of field order would lead to a database conversion which is unacceptable     for huge tables like BSEG.                                             
    So event with an include structure for your customer fields   you would be in the situation that                                                                               
    a.) with the include at the end of BSEG you would be able to insert    
    fields here, but new fields delivered by SAP and inserted              
    in front of the include would lead to conversion if                    
    your include is non-empty.                                             
    New fields appended by SAP after the include would lead to situation   
    b.) with the include within BSEG, any new fields entered               
    into the include structure would lead to a conversion.                                                                               
    So an include can never solve the conflict of SAP and customer   adding new fields to a cluster table.                                                                               
    Therefore SAP and customer will always append fields to the end of  BSEG directly.
    During the upgrade the conflict has to be solved using   transaction SPDD (dictionary adjustment).                              
    During the upgrade(prior to activation) you will be prompted to run SPDD and see all your customer fields and possibly new SAP fields.          
    Here you can assure that your fields which are a formal modification will be retained in BSEG and new SAP fields will be appended to the  end of current BSEG definition behind your user fields."      
    Hope it helps
    kind regards
    davide

  • Include a field in the table maintenance generator

    Hi All,
    There is a Z table with MATNR and another numeric field and the table maintenance generator exists for the table. The requirement is to include another field for MAKTX ( Material description) in the table maintenance generator with input disabled. Is it possible to do the same in the table maintenance generator else please suggest me the best solution.
    Thanks in Advance.

    Hi Srinivasa,
    This is quite simple, first add the field MAKTX into the Table and activate it .
    Now again generate the Table maintainence for the table.
    from Table maintainence generator go to the main program
    there click the screen maintained for Table maintainence generator .
    in the Pbo of the screen write the following code.
    assume table name is table1.
    Loop at screen.
    if screen-name = table1-maktx.
    screen-input = '0'.
    modify screen.
    endif.
    endloop.
    this will automatically disable the material description field in the Table Maintainence Generator.
    This is will solve your problem
    Regards,
    Madhavi

  • Need Change material field (MATNR) in FB02... can you help

    Hi ALL...
    I need to change material field in posted line items. Is their any way to open this field in FB02 i tries doing it with table V_TBAER ie setting in OB32 , but it still doesnt allow me field edition ...
    Can this be done thru BDC or any function module is there?
    Business requires it urgently.
    Thnx in advance
    Shubhada

    Hi,
    Go through the following SAP Path:Financial Accounting->Financial Accounting Basic settings->Document->Rules for changing documents->Document change rules,Line item.
    Create new entries with Field name BSEG-MATNR.
    Hope this is useful.

  • Updating custom fields in BSEG table

    Hi Experts,
    I searched through SDN but did not find satisfactory answer to my problem.
    The scenario is that FIDCC2 Idoc is coming to SAP system. This Idoc has extended to include few custom fields. These fields need to be updated in table BSEG. Table BSEG also contains these custom fields. However, the Idoc processing routine is not updating custom fields in table BSEG with the data coming in Idoc. How can I do that?
    Thanks in advance,
    Netrey

    This message is processed by function module IDOC_INPUT_FIDCC2. If you drill down into the code a little bit, you should be able to find BTE/open FI or user exit calls (CALL CUSTOMER-FUNCTION) before the document is being posted.
    I found two that are using the ACCIT structure for passing the line items, which should contain your customer fields as well, if they were added to BSEG properly (via transaction OXK3).
    Please have a look.
    Thomas

  • How to map idoc segment field E1IDB02-FIIKONTO with BSEG-ESRNR.

    Hi,
    I have searched for lot of threads in the forum , and also i tried myself but i am not able to map this fields segment with my logic, so please anyone kindly contribute in mapping idoc segment field  with the logic given below:
    idoc type :PAYEXT  outbound idoc.
    message type: PEXR2002
    This is my logic: i need to populate the ISR number(BSEG-ESRNR  ) in idoc segment field( E1IDB02-FIIKONTO)
    DATA : str1 TYPE string,
          len1  TYPE i,
          len2  TYPE i,
          str2  TYPE string,
          str3  TYPE string.
    str1 = '01-1234-4'. ---> BSEG-ESRNR  "ISR Subscriber Number
    REPLACE FIRST OCCURRENCE OF '-' IN str1 WITH '_'.
    REPLACE ALL OCCURRENCES OF  '-' IN str1 WITH space.
    CONDENSE str1.
    len1 = STRLEN( str1 ).
    IF len1 LT '9'.
    len2 = '9' - len1.
    CASE len2.
       WHEN '1'.
         REPLACE ALL OCCURRENCES OF '_' IN str1 WITH '00'.
       WHEN '2'.
         REPLACE ALL OCCURRENCES OF '_' IN str1 WITH '000'.
       WHEN '3'.
         REPLACE ALL OCCURRENCES OF '_' IN str1 WITH '0000'.
       WHEN '4'.
         REPLACE ALL OCCURRENCES OF '_' IN str1 WITH '000000'.
       WHEN OTHERS.
    ENDCASE.
    ELSEIF len1 EQ '9'.
    REPLACE ALL OCCURRENCES OF '_' IN str1 WITH '0'.
    ELSEIF len1 GT '9'.
    REPLACE ALL OCCURRENCES OF '_' IN str1 WITH space.
    CONDENSE str1.
    ENDIF.
    Thanks in Advance.

    Resolved.

Maybe you are looking for

  • PGI and Delivery based on FIFO

    Dear All, I have a requirement that while GR we enter the batch based on the manufacturing date. I want PGI and delivery on FIFO based on the GR date of the material. Moreover, we have two company codes using the same material codes. I want to have F

  • Using snow leopard on external hard drive w/Mountain Lion OS Mac

    I need to use Snow Leopard in order to use some expensive software that will not work in Lion or Mountain Lion. All of our computers have been upgraded to Mountain Lion, whcih doesn't support Rosetta. I was able to install Snow Leopard on an external

  • CLASSPATH problem with Application Server 8.2

    Hello everyone. i am new to using the App server 8.2 for deploying a web application. we decided to use it because we were having too many problems with Web Server. We successfully deployed the application and it runs. however, when accessing a page

  • Frame combining timelapse script for Shake, Motion or Final Cut Pro?

    Can anybody here write a Shake, Motion or FCP compatible script which would enable the construction of timelapse clips from low light video footage? Or does anybody know if there is a plugin that can do this? The idea is to mimic long exposure frames

  • Cubemember MDX in Excel; how to exclude just one piece of a data set?

    0 I have a large and complicated workbook that uses thousands of cubemember and cubevalue formulas. Due to some company changes, I am in the process of altering my workbook to point to a new cube that has substantially the same data. Below is a highl