Field assignment

I have a structure zst with field moisture having value 20 field wellmilled having value 40
I wish to do like this
myfield = 'moisture'
display zst-moisture
myfield = 'wellmilled'
display zst-wellmilled
How to do this pls explain

report y.
data:
  fieldname       type string,
  begin of zst,
    moisture      type i,
    wellmilled    type i,
  end OF zst.
FIELD-SYMBOLS:
  <fs>            type i.
zst-moisture = 20.
zst-wellmilled = 40.
CONCATENATE `zst-` `moisture` into fieldname in CHARACTER MODE.
assign (fieldname) to <fs>.
write:/ <fs>.
CONCATENATE `zst-` `wellmilled` into fieldname in CHARACTER MODE.
assign (fieldname) to <fs>.
write:/ <fs>.

Similar Messages

  • Message No F5808 Field Assign. is a required field for G/L Account.

    Hi Guys,
    I have a problem when releasing a cancel credit memo billing document.
    It shows the following error message:
    Field Assign. is a required field for G/L Account.
    Message No. F5808
    Diagnosis,
    The value field "Assign." in the interface to Financial Accounting is an initial value but you are required to make an entry in the field selection for G/L Account XXXX in company code XXXX linked to the field selection for posting key "50".
    System Response
    Error
    Procedure
    It might be an error in the configuration of the G/L account field selection. The initial application, used to call up the interface must otherwise define a value for field "Assign.". If this is the case, contact the consultant responsible for the application.

    Hi,
    The Assignment Number BSEG-ZUONR (I suppose "Assign." means it here.) field status for posting key and GL is optional and mandatory.
    I think the GL Account SORT KEY in FS00 is the assignment selection for Billing to FI doc. Say if the SORT KEY is Posting Date, the assignment from Billing to FI Doc would be the date of posting.
    But if the SORT KEY is blank ( This is case for my G/L account), the system will select the assignment written in Billing document header (VBRK-ZUONR).
    I checked other billing documents, which are not in the same billing type as the one with error, and found it follow the above logic.
    So how come this time it shows the above error? Really confused.
    Emma
    Edited by: qun yang on Sep 22, 2011 9:12 AM

  • ICR field assignment process 003 debits/credits indicator

    Hello experts,
    I'm currently implementing ICR processes 001 - 003 for a client. For process 002, I defined a special field assignment using the SL-funtionality. For process 003 no field assignment has to be configured, nevertheless I'm missing the values for field DRCRK which I thought would get them from SHKZG. DRCRK is part of the field catalog for process 003. Can anyone help me on that?
    Regards,
    Maria Noack

    Hello Maria,
    Please check with the customer and make sure that they really want to use process 001 as well as 003. Usually they will want to have GL open items as well as subledger open items in the same process so the documents from both sources can be reconciled against each other.
    Regarding your question: During data selection the amounts are converted according to their debit/credit indicator before they are transferred to the reconciliation system. Therefore the debit/credit indicator is not transferred to the reconciliation system.
    Example:
    In the original system you have a document with the following values:
    DOCNR: 1234
    SHKZG: H
    WRBTR: 1.000,00
    During data transfer this is converted as follows:
    DOCNR: 1234
    DRCRK: [SPACE]
    TSL: -1.000,00
    If DRCRK contained 'H' you could not be sure what amount you are acutally dealing with here...
    Some customers added SHKZG to their line items table to have this information available as well.
    Hope this explains the implementation of the standard logic.
    Ralph

  • FB01: "Posting with ref." slould I modify the field 'Assignment' by hand?

    Hi All,
    I'd like to post a document by t.code FB01 and using the function "post with reference".
    When i save the new document, it takes the field 'Assignment' from the reference-document i've put in.
    Should I modify it by hand before saving it?
    Or ther's the way to obtain it in the right way automatically?
    Thanks
    Gandalf

    Hi,
    You need to change the required fields manually, before actually posting a document with a reference document.
    More over, its better to simulate a document before saving(posting).
    Regards,
    Praisty

  • Concatenating data for field assignment in Dynamic Action

    In a dynamic action I am creating a record in a custom infotype.  In one of the custom infotype fields I need to assign a value of the number 28 concatenated with the personnel number.  The line in the dynamic action is
    W P9007-Z_INS_EE_PK = '28'&Pernr but the problem is I cannot get a concatenation to work.  How do you go about concatenating data together in a field assignment?

    Hi David,
    For this, you will have to write a small routine in a program and then call it in the dynamic action. Consult your technical team on this. Get them to write a routine which would concatenate the value and pass it to field RP50D-FIELD1. You would then call the routine and default the fields as shown below:
    F ZPROGRAM(Z_CONCATENATE)
    I INS,9007,,,
    W P9007-Z_INS_EE_PK=RP50D-FIELD1
    Here, ZPROGRAM is the name of the program and Z_CONCATENATE is the routine which would contain the logic to populate field RP50D-FIELD1 with concatenated value.
    Donnie

  • PA Value Field Assignment

    Hello,
    Can you please what PA Value Field Assignment is and how it is configured?
    Thank you very much.

    Hi Salman,
    Please refer notes: 52849 - INFO: Transfer of conditions with +/- signs
    Hope this helps

  • MIRO, field "Assignement".

    Hi,
    how can I set in MIRO the field "Assignement" so that will be hidden?
    Best regards

    Hi,
    Path: SPRO - IMG - SAP NETWEAVER - GENERAL SEETINGS - Field Display Characteristics - Configure Application Transaction Fields
    1. Enter <b>T.Code: MIRO</b>
    Create Transaction and Screen Variants
    Select the <b>Assignement</b> as required.
    or
    Go to <b>T.Code SHD0</b>
    With regards,
    B.Ravindranath

  • Value field  assigned to value category

    HI ALL,
    WHILE DOING GR I AM GETTING ERROR "Value field  assigned to value category".
    PLEASE HELP
    THANKS IN ADVANCE
    SRIDHAR

    HI ALL
    Message no. ZK001
    THANKS,
    SRIDHAR

  • Line Item Field "Assignment" not populating

    I am posting a KR doc. The assignment field in the line item is not populating with the date on the document is being posted in either of the line items, posting key 31 posting to Vendor and posting key 40 posting to an expense G/L account. The assignment field remains empty. I have checked some documents in the other company codes where this field is being populated with the date in the yyyymmdd.
    Please let me know what controls this and how can I make this field populate.

    Th Sory key for the GL for that company code should have the document date as the sort key.... check in FS00

  • Value Fields assignment. urgent!!!!!

    < MODERATOR:  Message locked.  Please read the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] before posting next time. >
    hi gurus,
    we use costing based COPA. i have created a new value field and assign it to a  SD condition. but when billing, there is error, i check the system and found this value field has been actived but can not displayed in my operating concern. i want to transfer the value field to operating data structure with T-code KEA0. but failed. because it is actived in the column "Copy from". it is in our production system. very urgent. the following is the error message.
    Operating concern 6000 does not contain value field VV150 
    Message no. KE891 
    Diagnosis 
    Value field VV150 is not found in operating concern 6000. This value field is nevertheless assigned to condition type ZD69. 
    System Response 
    The billing document cannot be posted to Profitability Analysis. 
    Procedure 
    Delete the assignment to condition type ZD69 for operating concern 6000. You do this in Customizing for Profitability Analysis underFlows of Actual Values -> Transfer of Billing Documents -> Assign Value Fields.
    your valuable point will be assigned.
    thanks in advance.
    Ivan

    You have to declare the l_lotno and l_batno as global variables.
    here they are local variables and their scope is withing the block in which they are defined.
    Declare them outside the blocks(Performs etc)
    Regards,
    Ravi

  • Sap Query custom field assigned to wrong field group (in extract)

    Hello,
    I want to add an extra field to InfoSet /SAPQUERY/MEBANF at EBAN level. I added a field in a normal way:
    I fill it with a constant value. I adapted Sap Query:
    In result, I got the value in new column but only for certain rows:
    The value is there only for EBAN rows which have EBKN entries related.
    I checked the program, and my new field is added to field group %fg07 with some other fields from table EBKN (not EBAN):
    Fields from field group %fg07 are inserted to extract only in event get EBKN, so if there is no entries in EBKN, my field will not be inserted into extract:
    I tried a lot of things (assigning my field to new field group in InfoSource, adding a field on EBKN level). I can say that every extra field created by me was assigned to field group &fg07.
    Am I doing something wrong?
    The target is to add new field in the document overview panel in ME2xN transaction. I know that there is user-exit EXIT_SAPLMEQUERY_002 where I can specify a Z* query. But this solution requires a copy of InfoSet and query to Z*. Adding a new field to standard Sap query is the fastest way.
    Message was edited by: Rafal Matuszewski
    Now I tried to append EBAN table with my Z* field. I regenerated InfoSet and query but the result is still wrong:
    insert EBAN-GSFRG into %fg06.
    insert EBAN-ZUGBA into %fg06.
    insert EBKN-VBELN into %fg07.
    insert EBKN-AUFNR into %fg07.
    insert EBKN-KOSTL into %fg07.
    insert EBAN-ZZDELIV_DATE_MRP into %fg07.   <-- here again the Z* field is assigned to field group related to EBKN table

    Thanks Sandra

  • R/3 fields assignment to communication structure.

    Hi all,
    Is there a one place(easy way) where I can get a complete list of communcation structure infoobjects and to what R/3 source fields are these infoobjects assigned instead of checking in infosource because it takes a lot of time.
    please let me know.
    thanks,
    Sabrina.

    Hello Sabrina,
    as a rule of thumb the name of the transfer structure normally is the name of the dataSource in the source-system plus two characters, which define the source system.
    e.g. DataSoruce 0co_area_attr
    Name of transfer structure for system 1 0co_area_attr_AB
    Name of transfer structure for system 2 0co_area_attr_CD
    The same goes for dataSources defined using RSO2.
    The exact mapping between name of datasource and name of transfer structure is in table RSDSTS.

  • TF20015: The field 'Assigned To' contains the value 'xyz' that is not in the list of supported values.

    When creating a new work item, a list of valid users is populated in the 'assigned to' drop down list. When I select one of the listed domain user values, the drop down color changes to yellow and the error 'TF20015...' is shown.
    When selecting the user 'Team Foundation Server Service user' instead of one of the domain users, another error is shown. The 'Assigned By' seams to be valid but the 'Changed by' property, which contains my current domain user 'xyz', seams
    to be an invalid value.
    Error occurs in Team Explorer for VS2008/2010 and Team Web Explorer
    Environment: TFS 2010 RC
    Does anyone have some tips where to look at?

    This is the case by default (see below)
    <FIELD name="Assigned To"
    refname="System.AssignedTo" type="String"
    syncnamechanges="true">
    <HELPTEXT>The person currently working on this task</HELPTEXT> 
    <ALLOWEXISTINGVALUE
    /> 
    <ALLOWEDVALUES expanditems="true"
    filteritems="excludegroups">
    <LISTITEM
    value="[project]\Contributors" /> 
    </ALLOWEDVALUES>
    </FIELD>

  • Generic wsdl - how can you tell what the field assignment is?

    When using the generic wsdl, it seems that your custom fields are mapped to fields such as:
    customcurrency12
    customtext4
    When accessing the asset class, how can tell what field is assigned to what custom value? When I look in the admin > application customization > asset > asset field setup
    I can see the list of fields and field types but not the number on the end so that I can assign it in my web service code. Is there a way to see what your custom fields are mapped to (i.e. custom standard discount is mapped to custompercent11)
    Thanks in advance any help you can lend on this,
    AspnetDev

    You can use the getMapping web service to get al ist of all the fields for a record type. for each field you get the ElementName (which is what you get in the generic wsdl) and DisplayName which you can use it to match to your fields.
    <Field>
         <DisplayName>My Custom Field</DisplayName>
         <ElementName>CustomText74</ElementName>
         <DataType>Text (Short)</DataType>
    </Field>
    -JLV

  • Default field assignment

    Hi
    while display the balance inTC-FS10N the assignment field is pickup the posting date data even if we put the Purchase order no.while entering the data during vendor invoice creation.It is by default. Now how to change that default assignment.Pl. clarify.
    Thanks
    shivaji

    Hi
    In the particular GL account master record, you might have assigned '001' sorting key.   Check the master record.  If you remove the sorting key, then it will take what ever you type in assignment field while processing transaction.
    Try once, if got solved, assign points.
    Regards
    Sarma BH

  • Change the Condition type to Value Field Assignment in KE4I

    Hi All,
    I have a requirement where a condition type which has been assigned to a Value Field needs to be changed/re-assigned to a different value field.
    There are already some postings into the current value field.
    How can I handle these postings once I change the assignment in KE4I.
    Please help me.
    Thanks in advance,
    erp.warrior.

    Hi
    Once you change in KE4I - It would impact only the subsequent postings... Historical postings wont be impacted...
    If you want to impact them as well - Follow one of these 2 approaches
    a. Then reverse the billing documents which have posted to this Value Field.... Change KE4I and post them again...
    b. Do a KE21N upload i.e. a -ve amount on the Old value field and a +ve amount on the new value field
    Regards
    Ajay M

Maybe you are looking for

  • Error when calling a Webservice's public method in Forms10g

    Hi, I'm getting the following error when calling a webservice's public method, i'm using Forms10g 10.1.2.3 java.rmi.RemoteException; nested exception is: HTTP transport error javax.xml.soap.SOAPException java.security.PrivilegedActionException javax.

  • How to find charset of a string??

    i pass an input thru a utf-8 encoded html form to a jsp. when i read it using bufferedreader and when i do request.getencoding( input text) it always shows me ISO8859_1, whether the data is english or japanese or any other language. how do i get the

  • Cannot connect to Database after install Developer Suite

    Help.. I installed Oracle Database and everything seems work properly. I can connect to the database. (system/oracle@orcl) well, but after I install the developer suite, I can't connect to the database anymore. I did check the services and both Oracl

  • Does too many extents afftect database performance?

    Hi gurus There are some tablespaces created with "UNIFORM SIZE 1M" which should be created "SYSTEM" . The database version is 10g. I worry about that too much extents will affect the database performance even availability cause extent management over

  • Good Receipt Reversal using Idoc WMMBXY

    Hi to all, I've the following issue in a 4.6C R/3. I want to reverse a Goods Receipt from Purchase Order (MB01; goods movement 102) using inbound idoc WMMBXY. When I try to reverse some quantity in the PO of a material position without batch, there's