New GL allocations using customer fields functionality

Can anybody throw light on New GL FI allocations using extended fields(Customer fields). Not much info is present on this topic and detailed steps on how to achieve this would be appreciated. I am basically trying to allocate between a cost center to some custom field e.g. distribution channel. Is that possible?. If so how exactly.

I found the answer
The following steps must be executed to allocate to a customer field in new GL FI allocations
Step1-(OXK3) Add customer fields to the coding block.
Step2-(FAGL_GINS)Add the new custom fields to the FAGLFLEXT table.
Step3-(SE11) Create value and text table for the new fields added.
Step 4-(SE16n) Maintain products and distribution channel table.
Step 5- (GLGCS1) Add the new fields in the master data check.
Step 6-make the new custom fields as optional entry in the field status group variant for postings and also open the fields for corresponding posting keys.
Step 7-(GLGCA6) maintain Field usage for distribution.
Step 8-update customer fields to the required ledgers
now create a distribution cycle FAGLGA31  and execute it using FAGLGA35

Similar Messages

  • How to make reference wbs custom data carried to new wbs when using custom tab and custom table

    I created a custom tab for WBS elements by using user exit CNEX0007 and custom screen and put a table control in it.
    As table control's data has to be stored in a table I could not use append structure of PRPS.
    When I used reference wbs, PRPS custom fields were carried also but I could not find any solution to fill table control data with reference table.
    I need to get correspondence between reference number's and new id's key data. Is there any exit, enh. that I can store the relationship.

    Solved...
    I've used an enhancement point in include LCNPB_MF38.  CJWB_SUBTREE_COPY exports a table called newnumbers. Here you can find correspondances between copied WBS and new WBS.
    Exported table to memory id.
    And imported it in another user-exit. You can use proper user exit for your need.  ( EXIT_SAPLCNAU_002)

  • How to filter Groupwise records using custom fields?

    I am consuming the Groupwise web service and want to search
    the appointments based on value provided for a custom field. All
    the other searches (date, subject, message) are working fine. The
    only thing that does not work is search on the custom field. If I
    search on the Custom field the service returns all records.
    Following is the excerpt of the code. CFGWID is the field
    that is sent to groupwise with an application generated value. I am
    able to query the field but cannot filter appointments using the
    CFGWID field.
    <filter>
    <elements type="FilterGroup">
    <element type="FilterEntry">
    <op xsi:type="xsd:string">eq</op>
    <custom xsi:type="xsd:custom">cfgwid</custom>
    <value
    xsi:type="xsd:string">#arguments.AppMsgID#</value>
    </element>
    </elements>
    </filter>
    At this time there is only one entry in this filter. Any
    ideas?

    PS0510 wrote:
    > I am consuming the Groupwise web service
    First of all, "Groupwise web service"!? Please tell me more
    about this.
    I use Groupwise here and this sounds like an interesting
    feature!
    > and want to search the appointments based on value
    provided for a custom field.
    How are you searching the custom field? Are you accounting
    for the name
    space xsi: and xsd: values? There is a bit of quirkiness with
    CFML xml
    functionality when working with name spaces. I've always been
    able to
    work out these issues with a bit of Google searching.

  • Include a new tab and add custom fields in transaction ME21n

    Hi All,
    I have a requirement to add a new tab at the header level and include 4 custom fields to the tab in ME21N transaction. I need to use BADI for developing this. Can any one help me with the procedure to how to include the tab and add new fields to it.
    Regards,
    Clara

    check
    BADI
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
    http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/63ee7f486cc143a560799d8803ce29/content.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/srm/badi-general+information&
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
    http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
    The specified item was not found.
    http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
    http://support.sas.com/rnd/papers/sugi30/SAP.ppt
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    http://members.aol.com/_ht_a/skarkada/sap/
    http://www.ct-software.com/reportpool_frame.htm
    http://www.saphelp.com/SAP_Technical.htm
    http://www.kabai.com/abaps/q.htm
    http://www.guidancetech.com/people/holland/sap/abap/
    http://www.planetsap.com/download_abap_programs.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
    http://www.allsaplinks.com/badi.html
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3430https [original link is broken] [original link is broken] [original link is broken]:///people/alwin.vandeput2/blog/2006/04/13/how-to-search-for-badis-trace-it
    /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework /people/thomas.weiss/blog/2006/05/03/source-code-enhancements--part-5-of-the-series-on-the-new-enhancement-framework
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    http://www.esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt
    <b>TIP :- Suppose you want to find the bapi for creating a sales order, you usually use transaction VA01 for this. 
    Start va01 go to system-->status 
    Double click transaction VA01 
    Double click on package 
    Read the application component. (this is SD-SLS Sales) 
    Then open the transaction BAPI 
    Sales and distribution>Sales>sales order  --> createfromdat2 
    Adding small screen shots to my TIP.
    After finding the Application Component go to BAPI and check with the same path
    what we got SD-> SLS Sales
    You need to go to BAPI tcode
    you will find the application path as i mentioned
    goto Sales and Distribution
    click on createfromdat2 and check the BAPI</b>
    Rewards if useful.....................
    Minal

  • ISE 1.3 Guest API - using custom fields for guest creation?

    I am currently working with the new ISE 1.3 guest api, i have most everything working, i can create guests fine, with the basic information entered into the guest account like first name, last name, company, email, phone and so on. Now i need some more fields to enter other information in for that guest, and i have created 5 extra custom fields called option1-option5, and enabled them for the "Known Guests" page on my sponsor portal. I can however not figure out how they should be adressed in the xml input sent in the api request...anyone tried this ?
    Regards
    Jan

    Hi Johan,
    Sure i can lead on the way, the stuff i am doing is part of a complete system i build and sell, that integrates with ISE to give customers the ability to create guest accounts using a number of different social media facebook, google and so on, to self-provision accounts for guest acces (and many other things :-)
    I mainly use PHP for this, and for simplicity you can use a curl command line executed by any scripting you prefer, or use any curl library you might have available to you.
    So, you need an ise sponsor account that has the "api usage flag" allowed in the sponsor group it is a member of. Then you need to know a few things about the ise setup, that needs to be sent with your request to ise, to allow the creation of a guest account.
    If you need some code examples, send me a pm and we can figure something out
    API Reference :
    http://www.cisco.com/c/en/us/td/docs/security/ise/1-3/api_ref_guide/api_ref_book/ise_api_ref_guest.html

  • Is doing configuration for FB60 using customer field a core mod?

    Hello,
    For our project, a customer field 'ZZAPPROVER' was added in FB60 transaction code.
    It is possible through configuration through the following path:-
    SPRO --> Financial Accounting (New) --> Financial Accounting Global Settings (New) --> Ledgers --> Fields --> Customer Fields --> Edit Coding Block --> Customer-Defined Account Assignments --> Customer Include Structure
    This basically added the customer field 'ZZAPPROVER' to the include structure CI_COBL.
    The important point to note here is that it adds to BSEG table too.
    Now the business is asking whether this is considered as a core modification to SAP.
    Can anyone update where it is a core mod or not, and if there is any documentation to prove this?
    Your comments are highly appreciated!
    Regards,
    Sanjiv Janardhanan

    Hi,
    The adding of additional Customer field is available from ECC 6.0 onwards. This is a standard functionlity to enable the customer to add their own fields for better reporting. But SAP cautions that it is better to take backup before doing this addtioin. No posting transactions shall be performed while you are including the customer field. SAP recommends using the u201Clightu201D mode. For this, you only need to make the following entries so that all necessary changes to the dictionary and to the tables are performed automatically in the background:
    ●      Collection (package)
    ●      Field name
    ●      Field description
    ●      Data type
    Character field (CHAR)
    Character field with digits only (NUMC)
    Trust this helps much!
    Cheers!

  • Security using custom field in PCUI

    We would like to create a custom field on the header of the business partner to store information that would then be used in the security roles.
    For example, we want to create a branch field on the header of the business partner and then use this field to restrict access to specific accounts within the sytem using a CRM Security role.
    Does anyone know if you can use a custom field in the CRM system to restrict security within the PCUI application?
    If anyone has any information, I would greatly appreciate it as we are on a crunch to get this implemented!
    Thanks!

    Hi Darcie,
    If you add custom field and maintain value in it, i'm not sure if you can restrict access by CRM Security role.
    If your users are going to be entirely based only on portal/pcui (i.e. they would not use SAP-GUI log-in) then you can consider the option of tweaking your Accounts advanced search and not letting users see certain accounts (based on the value in EEWB / custom field)
    Hope this helps.
    Regards,
    Raviraj

  • How to add New Menu Bar using Custom.pll

    Hi All,
    I have developed a form based on the Oracle Apps form.For standard form i have to add one more menu bar in tools menu using custom.pll,i'm using 11.5.8 version.
    So can any one help me in thi regards as i'm new to this custom.pll,How can we add that New menu bar item and how can we open the custom.pll
    where we have to write the code and all the stuff.Which we have to use like wise.
    If any one is having the code on the regarding u can please pass me.
    Help me in this as it is urget to the client.
    Regards
    Siva

    Hi Donny thanks for ur reply,
    As i was new to the Custom.pll,i have opened the custom.pll throught Form Builder.I have found the packages of the Custom.pll,I have to add new Special Menu to it.If u have code can u please give me simple example.
    If I press that Menu I have to open New Form that i have Customized.And also to get values into that form.
    Can u please help me in this give me simple Example.In Which trigger i have to write the code and all the stuff....
    Bit urget
    If any one is having coding can pls send me to my mail id :[email protected]
    Regards
    Siva

  • Error using custom xpath function with XSL transformations in BPM

    Hi,
    We have created a custom xpath function for use with SOA Suite and BPM. This has been built as per specified within the http://docs.oracle.com/cd/E29597_01/dev.1111/e10224/bp_appx_functs.htm#SOASE11100. We have also reviewed the Oracle Sample for mapper-107-ExtensionFunctions (sample demonstrates the use of user-defined extension functions). This has been registered with jDeveloper and SOA within the oracle.soa.ext_11.1.1 (run ant to include in oracle.soa.ext.jar)
    We ideally want to use this is BPM within an xsl. However when consuming this function is either BPEL or BPM using an xsl, the xsl fails with an error such as:
    XPath expression failed to execute. An error occurs while processing the XPath expression; the expression is ora:doXSLTransformForDoc("xsl/Transformation_1.xsl", $inputVariable.payload). The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException: oramds:/deployed-composites/default/gwCustomXpathUtil_rev1.0/xsl/Transformation_1.xsl<Line 9, Column 113>: XML-22043: (Error) Extension function error: Method not found 'getWeekDayDate'. Check the detailed root cause described in the exception message text and verify that the XPath query is correct.
    In an Assign it operates fine and returns the expected result. We have included a combination of both of the Config files (ext-mapper-xpath-functions-config.xml and ext-soa-xpath-functions-config.xml) in the META-INF folder, however neither allow the use of this function in the XSL.
    I believe there may be an issue getting the custom xpath functions within XSL files. Hence I have also raised an SR. Has anyone experiences of this?
    Our SOA / BPM suite environment is using 11.1.1.6.4 and has the following patches applied:
    13801175
    14406487 (11.1.1.6.4 SOA Bundle)
    13896993
    13088538
    Regards Dave
    Edited by: DavidGaskell on Mar 14, 2013 10:08 PM

    Hi All,
    I am also facing the same issue...Experts can you please help us.
    hi DavidGaskell, did you find any resolution, if so can you share it with me.....
    Thanks,
    RR

  • Using custom fields of Infoset as Selection Criteria in Query Reporting

    Hi Experts,
    I have created one Infoset based on LDB PNPCE and added some custom fields to it. Coding has been done for the custom fields.
    But these additional custom fields are not available as selection criteria while creating the query.
    Can you please tell me how to use the custom fields as selection criteria?
    Reply soon
    Thanks in Advance.
    Raveesh

    Hello Guys,
    I just noticed that it is possible to select custom fields as selection criteria in case of SAP Query,
    but NOT is case of Infoset(Adhoc) query.
    Can anyone tell me the whether it is possible to select the custom fields as Selection Criteria in case of Infoset Query?
    Thanks in Advance,
    Raveesh

  • Using custom fields to create Target Groups?

    Hi Experts,
    I might be missing something but I couldn't find anything in the different help guides, so if anyone saw that please help!
    Do you know if it is possible to edit the available fields to search/filter Contacts, Accounts etc. when trying to add them to a Target Group?
    We are currently not really using any Marketing-related features but this will be a focus for us in a few months so we are having a closer look at this area. There might be some other settings in the Admin/Project Scope etc. that I am missing and need to check and activate.
    We have some custom fields integrated with our on premise SAP CRM system which are heavily used by our marketing departments for extracting Contact lists, this is why we would like to see how we could reproduce this in C4C.
    Thanks a lot in advance,
    JB.

    Hi JB,
    You can go to => Marketing => Target Groups => Your Group => Members => Personalize => Start Personalization => Add => Add Contacts => here you can select the field you want to change/hide, you can also drag and drop a field to change its order on the screen => Personalize => End Personalization.
    Please find attached file with only a few changes that I did on that screen.
    Best Regards,
    Cristiano Rosa

  • Use custom field for work phone number in CUCiLync

    Hi,
    I have searched and tried out all sorts of different settings for enabling/changing the way CUCiLync searches the Active Directory (AD) for contact phone numbers.
    But no matter what setting I use in the HKEY_CURRENT_USER\Software\Cisco Systems, inc.\ Client Services Framework\AdminData and/or HKEY_CURRENT_USER\Software\Cisco Systems, inc.\ Client Services Framework\Active Directory hive, CUCiLync still uses the default for Work phone number. The default for this is to use telephoneNumber, the value that I wish to use is the ipPhone field.
    The registry values that I have tested so far are these.
    HKEY_CURRENT_USER\Software\Cisco Systems, inc.\ Client Services Framework\AdminData
    LDAP_AttributeName_businessPhone
    LDAP_AttributeName_primaryPhoneNumberForSearches
    LDAP_AttributeName_otherPhone
    All set to ipPhone, and I have also tested to set it to another field in AD that contains the same value as the ipPhone, that is in my case extensionAttribute5.
    HKEY_CURRENT_USER\Software\Cisco Systems, inc.\ Client Services Framework\Active Directory
    BusinessPhone
    PreferredNumber
    DisableSecondaryNumberLookups
    First two set to ipPhone and the third set to 0, and I have also tested to set it to another field in AD that contains  the same value as the ipPhone, that is in my case extensionAttribute5.
    The above values comes from these two urls,
    http://www.cisco.com/en/US/docs/voice_ip_comm/cucimoc/8_5/english/installguide/config_active_directory.html#wp1141403
    http://www.cisco.com/en/US/docs/voice_ip_comm/cucimoc/8_5/english/installguide/config_active_directory.html#wp1137551
    The later url have this
    Table 3-9 LDAP Registry Subkeys
    Subkey   Names
    Description
    LDAP_AttributeName_primaryPhoneNumberForSearches
    Specify   the phone number that you use to resolve most LDAP queries. This value must   match one of the values specified for the following LDAP keys:
    •LDAP_AttributeName_businessPhone
    •LDAP_AttributeName_homePhone
    •LDAP_AttributeName_mobilePhone
    •LDAP_AttributeName_otherPhone
    The   values that are valid for the LDAP attribute keys listed above are:
    •telephoneNumber
    •homePhone
    •mobilePhone
    •otherTelephone
    •a   custom LDAP attribute value, for example, myCustomPhoneNumber
    The   value of the LDAP_AttributeName_primaryPhoneNumberForSearches key must match   one of the values in the list above, for example, telephoneNumber. Otherwise,   the value of the LDAP_AttributeName_businessPhone key is used.
    The version of CUCiLync is 8.5(3)-4.5.9, that is the latest I can find on the support download page, have also tried with earlier version 8.5.(1).
    Does anyone have any suggestions for how to achieve this, if at all possible?
    Roger Kallberg

    This is the reply we got from TAC.
    Regarding to your query, Can you please go through the attached flow diagram (also you can see it in the link given below). I hope it will clarify more on the telephone number display behavior in office communicator.
    As per this flow chart presently your setup is working as designed. As per the design, the number should be in E.164 format in order to be available in MOC.
    You have AD in your network as a source, so  OCS pulls this information from LDAP it is integrated with. As per Microsoft, here you need to add Normalization rules to OCS to normalize the number into the E164 format.
    http://technet.microsoft.com/en-us/library/bb964002%28office.12%29.aspx
    Phone number display for MOC contact:
    •-          OCS will not provide a contacts number unless it is correctly formatted to the E.164 standard.
    •-          The Address Book Service on OCS processes the contacts phone number and attempts to normalize it.
    •-          If correctly normalized then the number is inserted into the OCS address book.
    •-          Communicator will only display this normalized number if it is properly formatted in E.164 (+13125551234).
    •-          The E.164 standard defines an international numbering plan for public phone systems.
    •-          In the E.164 standard, each number contains a country code, an area code, and a subscriber number.
    •-          Each phone user has a globally unique number.
    •-          In Cisco UC Integration for Microsoft Office Communicator, phone numbers in E.164 format must begin with a plus character ("+").
    I have done some research to your first question. Can you please just go through the blog given below from the Microsoft.
    http://blogs.pointbridge.com/Blogs/schertz_jeff/Pages/Post.aspx?_ID=26.
    It tells that If the numbers not in E.164 format then the number will not appear in office communicator if LDAP integrated. Can you please check with Microsoft to see their inputs on this.

  • Excel Reporting using Custom Field as parameter from PWA 2013

    Hi,
    Iam trying to create a report in Excel 2013 ,using ODATA feed.  I am connecting to the Project Web App instance and I am able to get datas from various entities like Project ,Resource etc.
    Worklocation is a custom attribute belonging to Resource Entity in PWA.If I want to create a report which shows a list of resources in a particular work location  by providing work location as parameter/filter , how  can I do that ?
     I tried creating a pivot table with all required entities but when I am adding Work Location as filter , the drop down does not show all the locations available as Work location in PWA. Instead, it just shows the corresponding worklocation belonging
    to the resources avaialble in the data section.
    Is there any way to filter say,resources based on all the available worklocations?
    Can someone help me please?
    Thanks,
    Mridhula

    Hi,
    Iam trying to create a report in Excel 2013 ,using ODATA feed.  I am connecting to the Project Web App instance and I am able to get datas from various entities like Project ,Resource etc.
    Worklocation is a custom attribute belonging to Resource Entity in PWA.If I want to create a report which shows a list of resources in a particular work location  by providing work location as parameter/filter , how  can I do that ?
     I tried creating a pivot table with all required entities but when I am adding Work Location as filter , the drop down does not show all the locations available as Work location in PWA. Instead, it just shows the corresponding worklocation belonging
    to the resources avaialble in the data section.
    Is there any way to filter say,resources based on all the available worklocations?
    Can someone help me please?
    Thanks,
    Mridhula

  • 1 custom field not showing up for modification in new List Variant for KS12

    Dear SAP Experts,
    I need some help regarding list variants using custom fields.  I made a new List Variant for transaction KS12 using a few custom and standard fields.  The custom fields are in CI_CSKS structure. I did all this according to not 95080 using option two (Adjust screen 1399 in function group KMA1).  I got the header to display the name of the fields in SE51.  The strange things is that after I start KS12 with the new list variant one of the custom fields doesn't show up for modification if there is no value in it where this is not the case with the others.  That is if there is no value in it already (even on character) I can't enter new values in to it, which beats the purpose.  I checked the attributes of the the custom fields and they are all the same, unless I missed something.
    Does anyone have an idea why this could be?

    Hi Michael - I too have exactly the same problem in Lion. It seems to be a bug.
    A minor one, given all the other much larger issues I have with Lion.
    I'm living with it in the expectation that someone will fix it. I notified it ages ago - long before the recent Lion update.
    I am mainly using Snow Leopard. This problem doesn't happen in Snow.

  • Using ms project 2007 and vba macro to list all the custom fields used in the project?

    Hi,Using ms project 2007 vba macro, I would like to be able to list all the custom fields used in the project and their corresponding field names. e.g. let us say I create a calculated duration field and name it "expected duration" and the name
    of the field I select is Duration1.
    I am trying to write a macro that will list all the used custom fields such as the result would look like:
    Duration1 ---> "expected duration"
    Text1       ---> "anything"
    Flag1        ---> "....."
    Number1  ---> "..............."
    Can anyone provide me with the solution?
    Regards,
    Chuck

    John,
    I found this module, which provides the the list of custom fields used in the project but does not provide the name given to the field. Here below is the module and hope you could help me achieve this by modifying the macro to list the renamed field.
    ' MSP Checks all Custom Task Fields
    Sub checkfields2()
    'This macro will check and report out which custom task fields are used
    'It requires Project 2002 and above as it relies on the GetField
    'and FieldNameToFieldConstant methods which were not introduced until
    '2002.
    'It does not include resource fields, however it is a simple matter to
    'do it by replacing the pjTask constant with pjResource.
    'Copyright Jack Dahlgren, Oct. 2004
    Dim mycheck As Boolean
    Dim myType, usedfields As String
    Dim t As Task
    Dim ts As Tasks
    Dim i, it As Integer
    Set ts = ActiveProject.Tasks
    usedfields = "Custom Fields used in this file" & vbCrLf
    myType = "Text"
    usedfields = usedfields & vbCrLf & "--" & UCase(myType) & "--" & vbCrLf
    For i = 1 To 30
    mycheck = False
    it = 0
    While Not mycheck And (it < ts.Count)
    it = it + 1
    If Not ts(it) Is Nothing Then
    If ts(it).GetField(FieldNameToFieldConstant(myType & i, pjtask)) <> "" Then
    usedfields = usedfields & myType & CStr(i) & vbCr
    mycheck = True
    End If
    End If
    Wend
    Next i
    myType = "Number"
    usedfields = usedfields & vbCrLf & "--" & UCase(myType) & "--" & vbCrLf
    For i = 1 To 20
    mycheck = False
    it = 0
    While Not mycheck And (it < ts.Count)
    it = it + 1
    If Not ts(it) Is Nothing Then
    If ts(it).GetField(FieldNameToFieldConstant(myType & i, pjtask)) <> 0 Then
    usedfields = usedfields & myType & CStr(i) & vbCr
    mycheck = True
    End If
    End If
    Wend
    Next i
    myType = "Duration"
    usedfields = usedfields & vbCrLf & "--" & UCase(myType) & "--" & vbCrLf
    For i = 1 To 10
    mycheck = False
    it = 0
    While Not mycheck And (it < ts.Count)
    it = it + 1
    If Not ts(it) Is Nothing Then
    If Left(ts(it).GetField(FieldNameToFieldConstant(myType & i, pjtask)), 2) <> "0 " Then
    usedfields = usedfields & myType & CStr(i) & vbCr
    mycheck = True
    End If
    End If
    Wend
    Next i
    myType = "Cost"
    usedfields = usedfields & vbCrLf & "--" & UCase(myType) & "--" & vbCrLf
    For i = 1 To 10
    mycheck = False
    it = 0
    While Not mycheck And (it < ts.Count)
    it = it + 1
    If Not ts(it) Is Nothing Then
    If ts(it).GetField(FieldNameToFieldConstant(myType & i, pjtask)) <> 0 Then
    usedfields = usedfields & myType & CStr(i) & vbCr
    mycheck = True
    End If
    End If
    Wend
    Next i
    myType = "Start"
    usedfields = usedfields & vbCrLf & "--" & UCase(myType) & "--" & vbCrLf
    For i = 1 To 10
    mycheck = False
    it = 0
    While Not mycheck And (it < ts.Count)
    it = it + 1
    If Not ts(it) Is Nothing Then
    If ts(it).GetField(FieldNameToFieldConstant(myType & i, pjtask)) <> "NA" Then
    usedfields = usedfields & myType & CStr(i) & vbCr
    mycheck = True
    End If
    End If
    Wend
    Next i
    myType = "Finish"
    usedfields = usedfields & vbCrLf & "--" & UCase(myType) & "--" & vbCrLf
    For i = 1 To 10
    mycheck = False
    it = 0
    While Not mycheck And (it < ts.Count)
    it = it + 1
    If Not ts(it) Is Nothing Then
    If ts(it).GetField(FieldNameToFieldConstant(myType & i, pjtask)) <> "NA" Then
    usedfields = usedfields & myType & CStr(i) & vbCr
    mycheck = True
    End If
    End If
    Wend
    Next i
    MsgBox usedfields
    End Sub
    This is what the module gives me. But I would like to have beside Text 1 the name that is shown as below. e.g Text1 is "Test".
    Would you mind helping me achieve this?
    Thanks in advance.
    Chuck

Maybe you are looking for