SUBMIT Rfitemar, field G/L Account

Hi guys!
I'm working with SUBMIT RFITEMAR, inside a loop sentence like this:
loop at t_fbl5n into st_fbl5n
CALL 'LIST_FREE_MEMORY'.
SUBMIT rfitemar WITH dd_bukrs EQ st_fbl5n-bukrs
                    WITH dd_hkont EQ st_fbl5n-hkont
                    WITH x_opsel EQ 'X'
                    WITH pa_stida EQ vl_datum
                    WITH pa_vari EQ st_fbl5n-alv_layout
                    WITH x_norm EQ 'X'
                    WITH x_shbv EQ 'X'
                    EXPORTING LIST TO MEMORY
                      AND RETURN.
  CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
      listobject = list_tab
    EXCEPTIONS
      not_found  = 1
      OTHERS     = 2.
CHECK  sy-subrc = 0.
*Converting to ASCII
    CALL FUNCTION 'LIST_TO_ASCI'
      TABLES
        listasci           = t_tab2
        listobject         = list_tab
      EXCEPTIONS
        empty_list         = 1
        list_index_invalid = 2.
CHECK  sy-subrc <> 0.
* Start of processing of the INTERNAL TABLE t_tab2.
ENDLOOP.
I would like to pass the following fields:
G/L Account,
BUKRS
X_OPLSEL ='x'
PA_STIDA
pa_vari
x_norm
x_shbv
I'm not sure of the name of the field G/L account which is selected from "Dynamic Selections" TABLE. BSID FIELD HKONT
Althoug I use the field DD_HKONT it works fine in the first loop, in the second record, the results that I received from memory is the same than the first one. When I use the same values in FBL5N transaction i receive different results that my Z program.
Could you please guys, help me with that? I have to finish this program today a dn I was trying from different ways but i cannot change the resutls.
I hope you can help me whis this,
Best regards,
Gaby
Please use code tags
Edited by: Rob Burbank on Nov 12, 2010 10:12 AM

Hi! Just in case, the code that I have now is like this:
    trange_line-tablename = 'BSID'.
    trange_frange_t_line-fieldname = 'HKONT'.
    trange_frange_t_selopt_t_line-sign   = 'I'.
    trange_frange_t_selopt_t_line-option = 'EQ'.
    trange_frange_t_selopt_t_line-low    = st_trx-hkont.
    APPEND trange_frange_t_selopt_t_line
      TO trange_frange_t_line-selopt_t.
    APPEND trange_frange_t_line TO trange_line-frange_t.
    APPEND trange_line TO trange.
    CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX'
      EXPORTING
        field_ranges = trange
      IMPORTING
        expressions  = texpr.
    CALL FUNCTION 'LIST_FREE_MEMORY'
      TABLES
        listobject = p_list.
    SUBMIT rfitemar WITH dd_bukrs EQ st_trx-bukrs
                    WITH FREE SELECTIONS texpr
                    WITH x_opsel EQ 'X'
                    WITH pa_stida EQ vl_datum
                    WITH pa_vari EQ st_trx-alv_layout
                    WITH x_norm EQ 'X'
                    WITH x_shbv EQ 'X'
                    EXPORTING LIST TO MEMORY
                    AND RETURN.

Similar Messages

  • Field Business Area is a required field for GL account  - urgent

    Hi all,
    we had created a new plant 3800. During configurations , business users created material for 3800 on 3000 and started purchase. Now after configurations, those materials had to be extended on plant 3800. Material have been extended but when the stock is transfered from 3000 to 3800 via MB1B , system says "
    Field Business Area is a required field for GL account ICI 2201001".
    Any idea that why this error comes? I have checked every thing, cudnt sought out.
    Kindly help.
    Regards,
    Aisha Ishrat
    ICI Pakistan Ltd.

    Hi
    When you are transferring the material from one plant to other plant using mvt type 301 or 303/305 etc.,
    there is a field selection variation between the mvt type and G/L account which was triggered for this Transaction.For mvt type 301, the filed Business area is not mandatory and for G/L account 2201001 the feild is mandatory.
    You can resolve this by changing one of the field selection group, i.e. either MVt type or G/L account.to do this follow the procedure.
    1.Go to SE38
    2.Type program RM07CUFA
    3.Execute the program
    4.It will ask for Mvt type nad G/L account number, give the details and execute
    5.System will display the difference between the two filed selection groups.
    6.From the same screen , you can change the fileds option by selecting the error log.
    Regards
    Ramakrishna

  • Field cost centre is a required field for GL account Error

    The error that I get during a sales transaction is: Field cost centre is a required field for GL account Error. Where or which transaction in FI do I use to maintain this setting.
    Thank you.

    Hi,
    Goto Tcode - OKB9. Search for that G/L account number under your co. code. There select the row, you can maintain the cost center directly. Else for Account assignment detail column, keep it as 1(Valuation area mandatory). Then under new entries maintain the valuation area, which is nothing but the plant, and against that maintain the cost center.
    Hope this resolves your query.
    Please let me know if you need any additional information.
    Thanks,
    Prithwiraj.

  • Adding new field in SC Account Assignment Screen (only for information)

    Hi guys,
    we have a requirement, to <b>show</b> additional fields within the account assignment screen. The contents should only be displayed as information for the user. It is not necessary, respectively not wanted to save this data within SRM or the Backend-System.
    2 questions:
    a) Is it necessary to expand the item-structure of the SC (INCL_EEW_PD_ITEM_CSF_SC) AND to expand the accounting structure (INCL_EEW_PD_ACC_CSF) for this fields?
    b) Is it sufficient, that the INCL_EEW*-structures of the PO-/billing-document etc. are <b>NOT</b> expanded with the additional fields to avoid the saving? In OSS-Note 458591 it is mentioned, that it is necessary to expand the CI-COBL-structure within the Backend-System.
    Thanks in advance with best regards.
    Bernd
    ps. We are using SRM 4.0.

    Hi
    <b>We have done this several times, in our past previous SRM implemenatations.</b>
    a) Yes. You need to expand the item structure at the Shopping cart level to display your Custom fields in the We bapage. As Per OSS Note - 672960, you can see the details. For display purpose, at least these custom fields must be created in the standard include structures [e.g., INCL_EEW_PD_ACC_CSF, etc ].
    b) Yes, no need to expand any other SAP Include structure, incase you don't want the field contents to be saved in backend system (incase of Purchase Order / Purchase Req).
    <u>Please see the follwoing links, which deal with the similar requirements, you have asked for in detail with code and other relevant details -></u>
    Re: Item Field Appearing In Account Assignment Field
    Re: Control Busniess Area Field in Account Assignment..
    Re: Add new account assignment field
    Re: Account assignment category not passed into Target Objects Badi
    Re: Add customer fields in Shopping cart and purchase order
    Re: Hiding CUF fields in SC Basic data
    displaying custom fields on shopping cart
    Custom Fields in Cost Assignment Tab
    How to add the custom field in SRM EBP shopping cart?
    Add customer fields in Shopping cart and purchase order
    Hope this will definitely help. Do let me know, incase you face any issues.
    Regards
    - Atul

  • How to populate Assignment field in gl account

    Hello SAP Guru,
    I am doing EBS BRS.
    In Tcode FF68 to generate pay in slip. In this Tcode I am putting 009 in group field.
    When I am posting the check then bank clearing account in refrence no. this group field 009 appears. But I want it to be in Assignment field of bank clearing account.I want to use it for auto clearing. by matching Assignment field from bank statment and assignment field from bank account  i.e clearing accuont.
    Thanks
    Raj

    Hi Rajeev,
    Assign the correct sort key to the GL Account in the master data so that it populates the data to ASSIGNMENT (ZUONR) field.
    Do let me know if it works.
    If there is no sort code defined assigns a value to assignment field then create a new one -- in the Implementation Guide (IMG) under Determine Standard Sorting for Line Items.
    Regards,
    Binay Agarwal

  • Table name and field name for accounting and material document in MM

    Hi
    Table name and field name for accounting and material document in MM
    how can we diffreentiate the accounting document in MIGO and MIRO ?

    Hi,
    For Goods reciept documents you can search from the tables  MKPF-Header: Material Document and MSEG-Document Segment: Material,
    and for Invoice documents you can search in  tables   BKPF-Accounting Document Header and BSEG-Accounting Document Segment.
    For differentiating the Accounting documents in MIRO and MIGO based on posting key and document types for GRN -document key is -WE and for MIRO document is -RE.......
    Hope this may help you.....................

  • Clearing to Special Ledger Field in GL Account Master

    What are the implications of checking off this field in the account master data setup?  We are using parallel ledgers in our current implementation so this is something we need to understand when building the chart of accounts.

    Hi
    Go to transaction code - MASS and select the Object type like GL A/c's.  Select SKAT (Chart of Accounts: Description and enter the standard fields and select the "Choose Selection fields".  Here u will get the GL Master data fields and upload the data.
    Regards
    Shammi

  • Reference field in SA accounting document

    Hi Friends,
    Got a requirement, to avoid populating the reference field in accounting field only for type SA (G/L account document). So, while creating through VBOF,   I am debugging to findout the place where the field is getting populated.
    Can anyone help me to understand on how it is getting copied from invoice? Is there any userexits to achieve the same?
    Thanks in advance.

    Hi,
    yes it is possible to change the refernce field in teh accounting document once posted.
    You ahve to mantain Rules for Changing Documents in SPRO.
    The path is ING--Financial Accounting (New)Financial Accounting Global Settings (New)DocumentRules for Changing Documents--Document Change Rules, Document Header
    Here amke a new entry as below
    Field NAme BKPF-BKTXT
    Account type blank
    Tarnsaction Type blank
    Company code Blank
    Check the box for "Field can be changed"
    Hoe this helps
    Reagrds
    Pratiksha
    *Assign Points if useful

  • Can we make as P.center as required field for Bank accounts

    hi friends,
    can we make as profit center as required field for bank accounts in field status group.
    If we make as required, what are the impact /consequences will happen. We are drawing Financial statements at profit center level.
    We are using ECC 6.0 with document splitting.
    Regards,
    Suresh

    Hi,
    If you have document splitting active, where profit center is mandatory, do not make profit center mandatory at the field status group level as this will not allow the documents to split where there are more than one profit center in a document.
    The bank line item gets automatically split in the ratio of liability or Assets line items profit center. And if you make Profit center mandatory in Bank line item then this splitting will not take place. Moreover you will not be able to post any document having more than one profit center.
    You can test this out all by yourself in a test system. Post an Invoice(FB60) as foolows:-
    Expense -Dr.(P.C.-A)- 100
    Expense -Dr.(P.C.-B)-200
       To vendor - 300
    This entry will show in general ledger view as :-
    Expense -Dr.(P.C.-A) - 100
    Expense -Dr.(P.C.-B) - 200
       To vendor .(P.C.-A) - 100
       To vendor .(P.C.-B) - 100
    Now go to F-53 and post payment:-
    Enter Bank Account no., amount, and also enter profit center on the first screen as u hv made P.C. mandatory, and select the above document no. and try posting it. You will get error in this case.
    Do let me know if it is of any help to you.
    Regards,
    SAPFICO

  • Item Field Appearing In Account Assignment Field

    Hello
    I have added the customer specific field at the item level of the shopping cart and added the code in BBP_DOC_CHANGE_BADI. When I activate teh BADI this field also appears in Account assignment fields which shudnt appear and when i deactivate the badi it doesnt appear in account assignment fields. Was there something wrong in the badi implementation. Please help.
    Thanks
    Viky

    Hi
    As I told you earlier, Please refer to the SAP OSS note - 672960.
    <u>Here are the details -></u>
    <b><u>Account assignment fields</u></b>
    For the account assignment fields, use the INCL_EEW_PD_ACC_CSF structure. The account assignment fields are independent of the document type. To display the fields on the account assignment detail screen, you must carry out the following steps:
    1. Use Transaction SE16 to include the user-defined fields that were defined in structure INCL_EEW_PD_ACC_CSF in table BBP_C_ACC_F.
    2. Include the fields and the texts for the account assignment fields from INCL_EEW_PD_ACC_CSF in table BBP_C_ACCFD (according to point 1).
    3. In the IMG activity ' Supplier Relationship Management -> SRM Server -> Cross-Application Basic Settings -> Account Assignment -> Define Account Assignment Categories', you can now add user-defined fields to existing account assignment categories.
    <b>Alternatively, you can use BBP_CUF_BADI_2 to hide all the unnecessary fields from Display in the Shopping cart.</b>
    Hope this will help.
    Regards
    - Atul

  • Bus. area, Segment fields in MM accounting documents

    Hi all of you,
    We have balancing fields Business area, PCtr and Segment. In every accounting document we have to fill the balancing fields. It is working fine in FI postings. When coming to MM postings, like in P.O -> GR -> IR there is no possible to enter or derive the balancing fields with out Account assignment category. If we are selecting the account assignment category in P.O then system is not posting the inventory to the BSX account.
    Client requirement is to post every inventory postings to the respective balancing fields only as he is taking financial reports for each balancing fields.
    There is no possibility to give Constant in Document splitting as we have 40 segments, 25 Business areas and 650 profit centers. And more over we are using the BADi for Segment ( FAGL_DERIVE_SEGMENT) which means segment identification without the Profit center.
    What is the solution for the above issue. I think this is fail in New GL.
    Anyone please help me out regarding.
    Thanks & Regards
    Ramki
    Edited by: Ramki on Apr 16, 2009 10:05 AM

    hi
    raise a message with sap and check what they suggest. (being its missed functionality)

  • Automatic population of Order field in the Account Assignment tab in VA01

    Hi Experts,
    May i ask if the Order field in the Account Assignment tab in creating Sales Order ( VA01) will automatically populated when the Alt. Int. Ord field in the Additional Data B tab do have values?
    If YES, what are the needed configurations to meet this kind of functionality?
    Please advise.
    Liz

    Please through some more light on that.
    As per my under standing you want to populate the Value from one field to another field.
    If is it so you can do that with the help of good ABAPer who can populate the value from one Location to another Z-Location.

  • Search help for 'Account ID' field in 'Identify Account' section

    Hello all,
    We are on CRM 5.0.
    I want to attach the search help 'BUPA' for the 'Account ID' field in 'Identify Account' view of IC Webclient.
    Can you please let me know how I can achieve this.
    Regards,
    Nag

    Hello Glenn,
    Thanks for the reply.
    Let me rephrase my question.
    Account ID is already there as a search field. But I want to add F4 search help for this field.
    So when the user hits F4 key, the system should display the 'BUPA' search help so that user can search for the BP number by name, zip code etc.
    So I want to attach the search help 'BUPA' to the 'Account ID' field in the screen.
    Can you please let me know how to do that?

  • CUP: Mapping LDAP field to CUP Accounting Number field

    Hello CUP Experts,
    I have encountered a problem with the LDAP field mapping that I simply can't figure out on my own.
    We have a field named employeeNumber in our LDAP system, I want that employeeNumber to end up in the CUP field named Accounting Number and eventually hoping that this data will end up in the corresponding Accounting Number field in the back-end user master field.
    - This Accounting Number field is visible in the back-end system in SU01D on the Logon data tab in section Other Data.
    In the LDAP Mapping I have mapped a CUP field named ACCOUNTNR to the LDAP employeeNumber under additional fields.
    Is the CUP field named something else than ACCOUNTNR in CUP?
    Does anyone know of a solution to this problem or a similar problem?
    Thanks in advance,
    Stefan Ericsson
    +358-50-4867527

    Hi Stefan!
    Which issue exactly are you trying to solve:
    1. The LDAP field goes into the CUP request, but not into SU01
    2. The LDAP field does not even show up in CUP
    1) can be solved by maintaining Configuration - Field Mapping - Provisioning
    2) should work as you did it, alternatively you might be able to use a custom field (CAREFUL! once you use a custome field you'll never get it out of CUP again!)
    Kind regards,
    Frank.

  • Table for picking PURCHASE ORDER field corresponding to accounting document

    Dear All
    Table for picking PURCHASE ORDER field corresponding to accounting document.
    Thanks
    Rahul Jain

    Dear Jayram
    I know that Purchase order field can be picked from BSEG table but i am not able to capture the data into it. Whenever i book a invoice through FB60 or MIRO i give the reference PO number which is not getting updated in BSEG, BSAK and other relevant tables.
    Thanks
    Rahul Jain

Maybe you are looking for

  • Any pages i open from the net are way too bright where do i adjust this

    when i view any pages i open the color white is so bright i cant see things on the pages. like for example on sears i look at curtains and all around if its a light color i cant pick it out. i dont know how or where to make the adjustment. thanks

  • Error while entering values in table.

    Hi All, I have a quantity field in table having data type as dec and length as 13 and decimal places as 5. But when i enter 255 in table,it automatically changes to .255 but it should be 255. Thanks and Regards, Amanpreet Sehgal

  • Problem during creation of equipment

    dear sap gurus, I m facing the problem creating equipment.when i creating equiment the pop message shows as "Customer-specific check determined that the update is not permitted'  plz how it can be rectified Rakesh mane

  • Oracle10g

    Hello, I have oracle 9i installed on windows XP(prof). Do I have to uninstall 9i before installing Oracle Database 10g Standard Edition One? Please advice. Thank you, Eric.

  • Oc4j stanalone

    Hi all using Jdev tp4 and oc4j tp4 stanalone. i have tried to deploy on clean installations with different java version but with no results. have anyone deployed on OC4J TP4 ? from the error log is seen that deployment starts normally but is terminat