Long text field required in customer field

HI everybody,
  We are in the implementation of SRM 5.0. Here requirement is using z include structure, the customer fields have to be added.
In structure, i can add my own fields. But customer wants long text in customer fields.
If i maintain a field with 300 character means, screen displayed as single field as lengthy one.
But customer wants long text.Main worry from customer side is, they want to able to copy and paste paragraph into SRM customer field.
So please suggest me that how can i acheive this issue.
Txns in advance

Hi.
You call read/write this field with FM REAd_TEXT of WRITE_TEXT, check this example:ù
ztdline       TYPE tline           OCCURS 0   WITH HEADER LINE,
        CALL FUNCTION 'READ_TEXT'
          EXPORTING
            client                  = sy-mandt
            id                      = 'F01'
            language                = 'I'
            name                    = ekko-ebeln
            object                  = 'EKKO'
          TABLES
            lines                   = ztdline
          EXCEPTIONS
            id                      = 1
            language                = 2
            name                    = 3
            not_found               = 4
            object                  = 5
            reference_check         = 6
            wrong_access_to_archive = 7
            OTHERS                  = 8.
        IF sy-subrc <> 0.
     MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
             WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
the table ztdline have the long text.

Similar Messages

  • Required a customer field(located in the profitability segment box) as mand

    our client is requested  that the customer field (located in the Profitability Segment box) be a mandatory field for GL accounts which are getting posted directly from FI. This field is needed so that proper reporting can be generated for bad debt and product liability claims. Currently this field is not a mandatory when making journal entries, so there were some postings happened with out customer field. Due to this we are unable to extract exact values in CO-PA reports . Please can some one help me on this and explain the process and settings for this??
    Thanks in advance.
    Regards,
    Venkat

    Hi Eli,
    I have posted note to SAP and i got the below reply from them.
    Get this functionality you should change
    the coding of form DERIVE_CRITERIA_EXTENDED from include RKEVRK2L after
    uninstallation of note 115500(in case you have installed) like this:
    Im Dialogfall (Kontierungspopup) Verprobung ob für Feld
    Mußeingabe erforderlich (Merkmalsgruppe!)
    (nicht f. Faktura, da dort keine Fehlermeldung moeglich)
    if ( xt_criteria-field is initial
    BEGIN OF DELETION *****
    and xt_criteria-status eq '2'
    and not is_status_flags-dialog is initial ) .
    perform send_message using 'KE' 'E' '494'
    END OF DELETION *****
    BEGIN OF INSERTION *****
    and xt_criteria-status eq '2' ) .
    data: l_mtyp type c.
    if not IS_STATUS_FLAGS-DIALOG is initial.
    l_mtyp = 'E'.
    else.
    l_mtyp = 'W'.
    endif.
    perform send_message using 'KE' l_mtyp '494'
    END OF INSERTION *****
    xt_criteria-fieldname
    is_cobl-vorgn
    i_char_group
    endif.
    Afterwards you have to run function module RKE_GENERATE_INTERFACE_ACT
    for your operating concern to update the generated program RK2LXXXX.
    Thanks & Regards,
    Venkat

  • How to get field description for custom field just like orgeh in SQ01 Repor

    Good Day Friends,
    I want to share one of my issue with you.Hope you will resolve it easily .
    I have enhaced standard infotype 0001 to maintain JOB CODE field, i also have maintained the
    JOB CODE, JOB CODE DESCRIPTION in one custom table  ( ZHR_JOBDISC ) .
    I have given farigen key relation between this custom table ( ZHR_JOBDISC ) and PA0001. i also have created one search help and assigned to the Field JOB CODE.
    But when i am trying to write the query in SQ01 . i am unable to fetch description.
    if you observe the standard fields position (PLANS), Organisational Unit (ORGEH).while writing query if you right click on PLANS will show the description of position, similarly  if you right click on ORGEH it will show the description org unit.
    but i am unable to get the description of my custom field.
    Please give clarification where i am doing wrong ?

    Good day Ravindra,
    Please, could you consider as reference notes 367585, 332842 and 491403.
    This is well described in the documentation for the interface of IF_TEXT_IDENTIFIER.
    Transaction SE24, enter IF_TEXT_IDENTIFIER, Display' function and check
    the 'Interface documentation'. Please choose "HR Class" upon executing for Text Recognition.
    Additionally check the following website:
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/d9/9958e0c50a11d396f80000
    e82de14a/frameset.htm
    Hope this information helps.
    Kind regards,
    Graziela

  • Making a form field required when another field is selected

    I have a contact form with the usual fields required (name, address, city, etc.). I'm adding a Country pull-down list to the form, which will default to the US being selected. Since a "State" field is not relevant for anyone filling out the form from another country, I'd like to make the State field required only if the country selected is United States, and not required for any other country. Is there a way to do this?
    Thanks,
    R-Co

    What you need is to be able to create a required textfield when the first textfield shows USA and destroy the required field when another country is selected.
    The following may help to understand create and destroy
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Deleting and rebuilding validations</title>
    <link href="http://labs.adobe.com/technologies/spry/widgets/textfieldvalidation/SpryValidationTextFiel d.css" rel="stylesheet">
    </head>
    <body>
    <form id="form1" method="post" action="#">
      <p>
        <input type="radio" name="radio" id="Married" value="Married" onclick="val(this);">
        <label for="Married">Married</label>
      </p>
      <p>
        <input type="radio" name="radio" id="Defacto" value="Defacto" onclick="val(this);">
        <label for="Defacto">Defacto</label>
      </p>
      <p>
        <input type="radio" name="radio" id="Single" value="Single" onclick="val(this);">
        <label for="radio">Single</label>
      </p>
      <hr>
      <span id="sprytextfield1">
        <label for="f_married">Married</label>
        <input name="married" id="f_married" type="text" value="">
        <span class="textfieldRequiredMsg">A value is required.</span>
      </span>
      <span id="sprytextfield2">
        <label for="f_defacto">Defacto</label>
        <input name="defacto" id="f_defacto" type="text" value="">
        <span class="textfieldRequiredMsg">A value is required.</span>
      </span>
      <span id="sprytextfield3">
        <label for="f_single">Single</label>
        <input name="single" id="f_single" type="text" value="">
        <span class="textfieldRequiredMsg">A value is required.</span>
      </span>
      <hr>
      <input type="submit" value="Submit" />
    </form>
    <script src="http://labs.adobe.com/technologies/spry/includes_minified/SpryValidationTextField.js"></script>
    <script>
    var sprytextfield1,
            sprytextfield2,
            sprytextfield3;
    // build validations and delete / destroy them
    function val(e){
        // get the value
        value = e.value;
        // see what radion button we have
        if(value == "Married"){
            // if there inst a validaton build one
            if(!sprytextfield1){
                sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
            // if there is a validaiton in sprytextfield destory it, and clear the variable
            if(sprytextfield2 && sprytextfield2.destroy){
                sprytextfield2.resetClasses();
                sprytextfield2.destroy();
                sprytextfield2 = null;
            // same as the rest
            if(sprytextfield3 && sprytextfield3.destroy){
                sprytextfield3.resetClasses();
                sprytextfield3.destroy();
                sprytextfield3 = null;
        } else if(value == 'Defacto'){
            if(!sprytextfield2){
                sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2");
            if(sprytextfield1 && sprytextfield1.destroy){
                sprytextfield1.resetClasses();
                sprytextfield1.destroy();
                sprytextfield1 = null;
            if(sprytextfield3 && sprytextfield3.destroy){
                sprytextfield3.resetClasses();
                sprytextfield3.destroy();
                sprytextfield3 = null;
        } else if(value == 'Single'){
            if(!sprytextfield3){
                sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3");
            if(sprytextfield1 && sprytextfield1.destroy){
                sprytextfield1.resetClasses();
                sprytextfield1.destroy();
                sprytextfield1 = null;
            if(sprytextfield2 && sprytextfield2.destroy){
                sprytextfield2.resetClasses();
                sprytextfield2.destroy();
                sprytextfield2 = null;
        // proceed with the rest as normal
        return true;
    </script>
    </body>
    </html>

  • FBV1 - missing standard field and adding customer field

    Hi there,
    I am in a process of developing a batch input program based on RFBIBL00 to upload preliminary posted documents.
    The problem is some fields are not there. A standard field BKPF-REINDAT is missing. Also there is a requirement to add a customer field from BSEG (on vendor screen).
    I have searched SAP notes for possible solutions, most of them include modifying screens by hand and adding the required fields there (i.e. Note 1347046 - VATDATE: Field missing in batch input parking (FBV1)).
    This is quite a serious modification, requiring access key to change SAP objects. Before I decide to change SAP standard objects I kindly ask whether anyone tried that ? REINDAT might work, as it's a standard field, but I'm note sure about customer fields.
    Has anyone tried modifying FBV1 or any of FI posting screens by hand and can provide some input on this ?
    Thanks,
    Bart

    Dear Bart ,
    as You know the field in question is  intended only for US-Federal customers.
    The field is not availble into the standard system using the parking transaction; therefore You should run se51 at Your own responsability and do the changes.
    If You need to be completely sure about the impact on the customer System, please kindly open a message on the marketplace.
    I hope this can help.
    Mauri

  • Task custom field and formula custom field don't correspond Project Server 2013

    Hi people, I have an interesting case in Project Server 2013 SP1 CU Apr:
    I have a custom task number field called AM. This field get's filled by a PSI action with actual material costs from an external system.
    I also have a custom task cost formula field that is called AM*. This field is a formula field that has the formula [AM]. And summary tasks use the formula field as well.
    As soon as I create a project, assign costs in the external system and let PSI fill the values within AM I get correct values in AM. But nothing is calculated on AM*. If I edit the project in the browser and publish, check in and revisit the project
    AM* still isn't filled.
    If I open the project in MS Project Pro the calculation comes through nicely, however I do not want to use MS project Pro to see correct data in browser.
    Some tests I have already done:
    I have noticed that when I create a new calculated task field AM2*, this get's calculated correctly on the already existing task.
    I have also noticed that opening the custom field in server settings and just saving the field creates correct values on AM*.
    What is going on? I don't want to save the custom formula field every day... There are 11 custom formula fields in the environment at the moment.

    Hi Gary,
    Thank you for the quick response. Please note that the fieldnames are [AM] and [AM*]. There is a difference in field name due to the astrix. However I did think about the situation and changing one of the field names all together didn't do anything for the
    situation at hand.
    It looks like some kind of refresh thing, because without changing anything in the custom field just saving the field in server settings will turn op good values. However, values already turned up good in Project Professional 2013. And that suggest
    that there is a calculation error on the PWA side wouldn't you say?
    Anyway, thank you for taking time to look into this matter.
    Erik

  • Custom Infotype with multiple long text fields

    Hi,
    We have a need to create a custom Infotype (in PA or PD) that will contain more than one long-text area.
    I've searched this forum and found that there are generally two approaches :
    1. use the HR clusters for long-text and setting the ITXEX field in PA
    2. using SAP standard text area (SO10) and functions such as READ_TEXT, SAVE_TEXT, etc.
    The problem with (1) is that it can only store one long-text.  We need to have many.  Please correct me if we can hold more than one long text in the cluster...?
    With regard to (2), I'm just not sure that this is the correct place to store the long text...?
    If I was to adopt option (2), could I just use the key of PA9nnn (ie: PAKEY) as the key/TDNAME for STXH?
    Are there any other methods to store long text?
    As well, is it possible to create a custom Infotype in PD?  Can we use PM01 to create PD infotypes?
    Thanks,
    Raj

    Raj
    Sorry I'm not much help on the two questions you have raised...you have probably already got answers by now anyway..however FYI check out link below for enhancing PD infotypes (use transaction PPCI).
    enhance infotypes

  • G/L account Long Text required entry

    Good day all
    Can some one please tell me if it's possible to make the field Long Text a required entry when creating/maintaining a G/L master record.
    Thank you.
    Louise

    Dear Louise,
    Yes, it is possible. You can use transaction variant.
    http://help.sap.com/saphelp_webas620/helpdata/en/eb/5fab41d79b11d296190000e82de14a/content.htm
    In the SAP Reference IMG, you can create transaction variants. Choose Basis Components -> Application Personalization -> Tailoring of Application Transactions -> Configure Transaction-Related Display Values for Fields (Transaction SHD0). Transaction variants allow you to preset values for fields in a transaction, set field attributes, or hide entire screens.
    To execute a transaction variant, you define a variant transaction using the Transaction Maintenance transaction (SE93).
    Once you have entered a transaction code and short description, choose transaction type Transaction with variant (Variant transaction).
    To define a variant, enter the name of the transaction and the name of the variant. You can then use the new transaction code to start the special variant of the transaction.
    Regards,
    Naveen.

  • Add custom fields on selection screen  and ouput in Transaction QM11

    Hi All,
       i have the requirement to enhance the transaction qm11( Report : RQMELL10) to add the custom fields on the report selection screen and in the report output.
      i tried to add the fields on selection screen by copy the standard program RQMELL10 to custom one. and tried to add the fields above to the coding tab but i am not able to display the text for those fields of select-options. can any one help me is it the right way to copy the standard program to custom program and adding the custom fields and how to get the text element for the custom fields which we are going to add it. i tried to add the text element in program text elements but it is not appering on the report.
    please requeting the help asap if it is possible.

    Have a glance in below thread.
    Enhancing transaction QM10
    Also, there are some more threads available in enhancing the QM10 / QM11. Please search those as well.

  • Adding Custom fields to standard  SAP-EBP application

    Hi,
    A functionality requires some custom fields to be added to the standard SAP-SRM EBP ( Manage business partners) application.
    If I copy the whole BBP_VENDOR_CREATE program into a Z-program, and the BBPMAININT internet service to a Z-application, then would it be feasible??
    Which is the best way to add custom fields in a SAP standard EBP application--in the 'Manage business partners' section.
    Regards,
    Goutam

    Hi
    I don't think it's easily possible to add custom fields to the existing transaction - BBPMAININT.
    For adding customer fields you can refer the SAP OSS not - 672960, but I don't think it will be of much help here.
    <b>Since SAP has not upgraded this transaction - BBPMAININT for a quite long time, you need to do all the logic and validation from your end.</b>
    <u>Better to go for you own Z (custom program) and make your logic accordingly.</u>
    Regards
    - Atul

  • Custom fields values not saved in AUFK using bapi_alm_order_maintain

    Hi ,
        We have a requirement where we have to update the custom fields in enhancement tab of IW31 using bapi_alm_order_maintain.
    We are able to get the successful creation of work order ,but the custom fields are not updated in enhancement tab aswell in aufk table. We are passing values in below table of bapi.
    EXTENSION_IN
                STRUCTURE           =  CI_AUFK
                VALUEPART1        =  '20091223' .
    Please provide the solution.

    Hi Phani,
    May be these links are helpful:
    BAPI extention to work order aiming AUFK custom field filling
    Update custom fields in MARA (BAPI_MATERIAL_SAVEDATA)
    Also search sdn using the BAPI function module, you may get some idea.
    Regards,
    Swarna Munukoti

  • Creating a new project with custom fields using web services

    I've been trying unsuccessfully for the last week or so to successfully create a new project from web services and I believe the main problem that I've been running into is that one of the required fields is a custom field. I've tried creating the Project
    in a couple of different ways and haven't had any success up to this point, so any help would be appreciated. I've tried creating it with both a REST call to /_api/ProjectServer/Projects and a SOAP call to /_vti_bin/PSI/Project.asmx. Below are the best shots
    I've made at the two different calls with the errors I received. If anyone has any leads on the best way to do this the help would be appreciated!
    REST POST /_api/ProjectServer/Projects
    'odata.type' : 'PS.PublishedProject',
    'Name' : 'OData Name',
    'Custom_9d77d62aa92e4d40adc8446c90eb7456' : "O&M"
    Response
    error: {
    code: "11713, Microsoft.ProjectServer.PJClientCallableException"
    message: {
    lang: "en-US"
    value: "PJClientCallableException: CustomFieldRequiredValueNotProvided CustomFieldRequiredValueNotProvided mdpropuid = 9d77d62a-a92e-4d40-adc8-446c90eb7456"
    SOAP POST /_vti_bin/PSI/Project.asmx
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:proj="http://schemas.microsoft.com/office/project/server/webservices/Project/" xmlns:projds="http://schemas.microsoft.com/office/project/server/webservices/ProjectDataSet/">
    <soapenv:Header />
    <soapenv:Body>
    <proj:QueueCreateProject>
    <proj:dataset>
    <ProjectDataSet xmlns="http://schemas.microsoft.com/office/project/server/webservices/ProjectDataSet/">
    <Project>
    <PROJ_UID>e1c2d38b-1529-4128-b707-42a94045e55b</PROJ_UID>
    <PROJ_NAME>Proj Dept Test 2</PROJ_NAME>
    <PROJ_TYPE>0</PROJ_TYPE>
    </Project>
    <ProjectCustomFields>
    <CUSTOM_FIELD_UID>4802a711-62a0-4f84-8e08-c7d22daadb5b</CUSTOM_FIELD_UID>
    <PROJ_UID>e1c2d38b-1529-4128-b707-42a94045e55b</PROJ_UID>
    <MD_PROP_UID>9d77d62a-a92e-4d40-adc8-446c90eb7456</MD_PROP_UID>
    <FIELD_TYPE_ENUM>21</FIELD_TYPE_ENUM>
    <CODE_VALUE>a47930d6-b89d-4f3a-b4e3-522015fe82a1</CODE_VALUE>
    </ProjectCustomFields>
    </ProjectDataSet>
    </proj:dataset>
    <proj:validateOnly>true</proj:validateOnly>
    </proj:QueueCreateProject>
    </soapenv:Body>
    </soapenv:Envelope>
    Response
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Body>
    <s:Fault>
    <faultcode>s:Server</faultcode>
    <faultstring xml:lang="en-US">ProjectServerError(s) LastError=GeneralUnhandledException Instructions: Pass this into PSClientError constructor to access all error information</faultstring>
    <detail>
    <errinfo>
    <general>
    <class name="General Unhandled Exception in _Project.QueueCreateProject_">
    <error id="42" name="GeneralUnhandledException" uid="184feeaf-906a-e411-9b2a-00155d388b02" Exception="System.Data.StrongTypingException: The value for column 'PROJ_TYPE' in table 'Project' is DBNull. ---> System.InvalidCastException: Specified cast is not valid.
    at Microsoft.Office.Project.Server.Schema.ProjectDataSet.ProjectRow.get_PROJ_TYPE()
    --- End of inner exception stack trace ---
    at Microsoft.Office.Project.Server.Schema.ProjectDataSet.ProjectRow.get_PROJ_TYPE()
    at Microsoft.Office.Project.Server.BusinessLayer.Project.FixupProjectType(ProjectDataSet projDS)
    at Microsoft.Office.Project.Server.BusinessLayer.Project.QueueCreateProject(Guid jobUid, ProjectDataSet dataset, Boolean validateOnly)
    at Microsoft.Office.Project.Server.Wcf.Implementation.ProjectImpl.&lt;>c__DisplayClasse.&lt;QueueCreateProject>b__d()
    at Microsoft.Office.Project.Server.Wcf.Implementation.WcfMethodInvocation.InvokeBusinessObjectMethod(String businessObjectName, String methodName, IEnumerable`1 actions)"/>
    </class>
    </general>
    </errinfo>
    </detail>
    </s:Fault>
    </s:Body>
    </s:Envelope>

    Julie,
    You can create the fields that are project specifc & you can create fields that apply to all projects but have specific options for projects. Your goal is to create fields that are specific to each project, but right now you get all fields from you old project - is this correct?
    From your description below it appears that the fields in your original project are marked as applied to all projects & hence when you create a new project they are inherited. If you mark those fields as applied to certain project & then create a new project those fields will not be inherited.
    But you are right in the sense that it is limiting that there is no multi-select for "applies to" field.

  • Saving custom fields to MSEG added in additional TAB in MIGO transaction

    Hi Experts,
    I am facing an issue with an enhancement in MIGO transaction for which i need help. I have gone through several threads with similar issues but none of them have solved my issue. I have worked around with all BADIs of MIGO and user exits available but to no avail so I am posting a new thread.
    The requirement is pretty straight forward of adding a custom TAB in item details section of MIGO transaction. I have done that using BADI: MB_MIGO_BADI, method PBO_DETAIL. I created a screen with my custom fields and passed them in this method. The TAB appears as expected with all the fields. The custom fields are in MSEG table which has been enhanced and it needs to be updated with the user values on the screen.
    The issue creeps in when there are multiple materials in the purchasing document and user works around with them. Say he clicks on the second material and in the custom TAB changes its details in custom fields. Now he clicks on the fourth material and changes its details. Continues this for all the materials in random order. How do i identify in my custom screen [developed separately and called in PBO_DETAIL of the BADI] which details belong to which material or line number. The only way to do it is by using the purchasing order number and line item number. These are not available in my custom screen and needs to be exported from somewhere and imported there. I have not been able to identify the point where export can be done.
    Can anyone help me out with this problem? Either the point where export can be done or any other way of identifying the link between the line number / material number and the custom field details entered by the user.
    Thanks,
    Ritvik

    Hi Ritvik,
    you will not need it.
    The item methods will process exactly the item what the addional item data are related to. In PBO_DETAIL and PAI_DETAIL, use parameter I_LINE_ID for the item reference.
    Note: Not only read SCN etc,  also the parameters desciption of the methods used.
    Regards,
    Clemens

  • 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.

  • Copying custom fields from SRM PO to ECC PO standard fields

    Hi All,
    There are three custom fields which are added in SRM SC and PO at item level. My requirement is to map these three custom fields to three standard fields in ECC PO. Can any one please explain me, how the replication of SRM PO to ECC PO happens? I could find a function module "B470_PO_CREATE". Can any one tell me through which transaction or program this FM will be triggered.
    Any useful answer will be rewarded
    Thanks,
    Deepthi

    Hi Kumar,
    Sorry for the late reply. I have the solution for this question.
    For copying the custom fields code is to be written in the BADI "BBP_ECS_PO_OUT_BADI", method "BBP_B46B_PO_OUTBOUND". This BADI has both ECC PO fields and all the SRM fields(including the custom fields added in PO and SC) in separate structures.IS_HEADER, IT_ITEM etc has all the SRM PO values. CS_BAPI_POHEADER, CT_BAPI_POITEM etc has ECC PO values.
    There are two function modules, BBP_PD_PO_TRANSFER_EXEC and BBP_PD_PO_TRANSFER_EXEC_V2. Execute these function modules with the GUID for PO after PO change or create in SRM system. Once the FM is executed the BADI will be triggered and the additional functionality carried out and PO replication from SRM to ECC happens.
    Hope this helps you. Please let me know if you need any more information.
    Thanks,
    Deepthi

Maybe you are looking for