Long text for line item appears twice in my PO form...

Hello Experts,
I am wondering why my long text for my 1st line item is appearing twice. In my PO, I only
maintained a long text for my 1st PO line item appeards twice. below is my code:
/E          ITEM_LINE_1
IZ           &EKPO-EBELP&,,&EKPO-TXZ01&
IZ           ,,&EKPO-EMATN&,,&EKPO-MENGE&,,&EKPO-MEINS&,,&EKPO-UMREZ&,,&EKPO-NETPR&,,
=           &EKPO-NETWR&
/:           DEFINE &LV_TEXTNAME& = ''
/:           PERFORM GET_LONGTEXT_ITEM IN PROGRAM ZMMRP0008
/:           USING &EKPO-EBELN&
/:           USING &EKPO-EBELP&
/:           CHANGING &LV_TEXTNAME&
/:           ENDPERFORM
/:           INCLUDE &LV_TEXTNAME& OBJECT 'EKPO' ID 'F01'
The element 'ITEM_LINE_1' is called per line item. So in my case, 3 times. The INCLUDE statement
at the end of the element is for the longtext. I am now confused as to why it appears twice for the 1st line item.
Thank you guys and take care!

Hi,
You can debug and check whats happening there.
Regards,
Ram

Similar Messages

  • KP06, Long Text for Line Items

    I have to upload long text from flat file to transaction KP06 usind BDC. I need to use SAVE_TEXT but i need to know the parameters i need to pass like
    TextObject, Name, Text Id,LINES etc for the specific transaction code KP06.
    And whether i need to pass the long text obtained by flat file to the LINES in TABLES TAB of the FM.

    HI,
    you have to ask to your functional consultant
    check in se75 tcode you can get some tips
    TextObject,  which is there in se75
    Name,    usually it will be a number eg: some document number
    Text Id,    usually it will be like '001 or '002' like this  
    LINES  
    regards,
    Venkatesh

  • Add Long text for consignement item

    Hello all,
    For Item category Standard, I can add a long text in a contract, but for item category consignement when I click the button text overview, I don't find the space to add a long text.
    It's clear that it's related to customizing but I can't find it. can someone help me in this issue.
    Thanks
    Mohamed

    Hi Mohamed,
    This issue seems related to the thread :
    Re: Item texts in contract
    could you please verify and eventually close also this one ?
    Thanx & Regards,
    Mauro

  • CREATE SUBSTITUTION RULE FOR u0093COPYING LINE ITEM TEXT FOR LINE ITEMSu0094

    Hi every body
    When user post transactions in FB60 we have give the line item text, Suppose no.of lineitems are there in tht instnace my client asked to create the substitution rule to “COPYING LINE ITEM TEXT FOR LINE ITEMS”
    pls tell me the processes how to create the substitution rule
    Plz can anyboby help me out...
    laxmi velaga

    sorry,
    link doesn't work:
    here's the content:
    you must add your rules at event 3 (complete document)
    in an exit of ZGGBS000:
    data htext type bseg-sgtxt.
    *find
      LOOP AT BOOL_DATA-BSEG INTO BSEG
                      WHERE    bseg-sgtxt <> space.
      move  bseg-sgtxt to htext.
      ENDLOOP.
    *copy
      LOOP AT BOOL_DATA-BSEG INTO BSEG
                      WHERE    bseg-sgtxt = space.
      move  htext to bseg-sgtxt
    *modify
      MODIFY BOOL_DATA-BSEG FROM BSEG.^
      ENDLOOP.
    http://help.sap.com/saphelp_47x200/helpdata/en/5b/d231a843c611d182b30000e829fbfe/frameset.htm
    please reward useful answers
    thanks and regards
    Andreas

  • Use of long text in maintenance item

    Hi Experts ,
    What  is use of long text in maintenance item, Which  T code is use for to create long text for maintenance item
    With best regards,
    AVI DDS.

    hi
    if you have maintained the tasklist ,i think it will copy the maintenance item short and long text to the maintenance order or notification created
    regards
    thyagarajan

  • Post long text for document line item via FI-GL Inbound IDoc

    Hi guru,
    I am trying post extension ZFIDCP02 linked basic type FIDCCP02 and message type FIDCC2 IDoc in R/3 (4.6c) via IBM Websphere (Inbound IDoc),
    I am use inbound function module IDOC_INPUT_FIDCC2 and activate exit 008 (EXIT_SAPLF050_008) and exit 002 (EXIT_SAPLF050_002),
    In the extension ZFIDCP02 and under E1FISEG, I am add my segment  ZITEXT include field TDSPRAS, TDID, TDOBJECT, TDLINE.
    I am send  ZFIDCP02 IDoc via IBM Websphere no error  but all field TDSPRAS, TDID, TDOBJECT, TDLINE in my segment  ZITEXT not post in FI-GL.
    How can I  post long text for document line item (ZITEXT) in FI-GL ?.
    and I'm mean post ZITEXT to bank statement via IDOC.
    Please throw light on this  and  may be I  'm want solution or example ABAP code for exit 002 (EXIT_SAPLF050_002).
    Thanks in advance,
    Akkapong Pirachai
    CAT Telecom
    Edited by: Akkapong Pirachai on Aug 20, 2008 7:40 AM

    Close question because long time for answer.

  • Service procurement for the free texts ( Multiple line items in PO)

    In the service procurement for the free texts ( Multiple line items in PO)referring to the same  Contract we are cretaing the POs
    thro ME59 ( Program RM06BB20)  an unusual error message appears as under:
    "_Material/Service group STGOP2 does not exist"_This Material group is unavailable in T023 as well.
    We checked the same issue by recreating with the exact data in the Test environment and everything works OK
    We are working on the R3 version 470...
    Any body faced such an issue ?
    Any clues pls?
    Regards,
    Nagarajan

    Hello,
    We have faced another issue of the same nature while a PO is being created using the tcode ME21N for service free text items referring a PR ( Service item has no Contract assigned but a fixed vendor)
    The error relates to SE419 ( Mat grp 'XXXX' does not exist)
    Any takers..
    We are using a custom doc type  for the PR
    Any hep /clue is appreciated
    Regards,
    Nagarajan

  • Text in Line Items for BCS top side entry

    Do any of you experts out there know of a way to enter text in bcs line items for top side entries?
    Thanks
    Tim

    Dear Charles,
    I understand that you are asking for line item texts in BCS. This can be acheived by an enhanecemnt in the code and I have done it before. this code is there in an OSS note and you can apply this note by using transaction SNOTE. (Can u pls check the oss and u can fix it asap. If u dont find  the same let me know. I was checking this in my laptop and I ahve to go for a meeting now). I confirm that u can fix this in 5 minutes with that note.
    You will see the line item texts in the screen after that.
    Pls let me know if it helped.
    Thanks & Rgds
    Samir Neji

  • Default values for long text for mic in inspection plan

    hi,
    Some long text are coming default when i am creating inpection plan for mic.
    This is coming for only particular plant. For other plant it is not coming. Is there anywhere we can make it as default for a particualar line item . ie for particular characteristics i.e 10, 20 etc
    sathish. R

    Hi,
    I am not sure , whether you are mentioning about Long text for MIC or Default insp char number (10,20,30..) in the insp plan.
    If you are talking about Insp char number in the insp plan . you can specify the same in SPRO , QM->Q planning ->Insp planning -> General -> Maintain profiles for default values.
    Regards
    K.M.Arun

  • User exit to make the field 'Long text for UD' as mandatory

    Hi Gurus,
    My requiremen is that while doing UD, I need to make the field 'Long text for UD' as mandatory for the rejected materials
    pls suggest.
    Thanks
    Ganesh

    Hi,
    U can use the badi ME_PROCESS_PO_CUST methid  PO PROCESS_ITEM. In this u have both doc type and line item data and using this u can through the error message to make the field compulsory.u can go to the 'Goto' in menu and in this go to 'Sample code' .Here u will find how to use this badi.

  • The long text for purchase order text  field in mm03

    Hi,
         Please provide me long text for purchase order field.in mm03 the view purchase order text having the long text for purchase order.this is enter when ever your creating the material.but we have table and field name for that and also how to handle this long text.please provide me urgently.
    Thanks & Regards,
    Radhakrishna.

    Hi,
    A sample code for ur requirement.
    TABLES : ekko,   "Purchasing Document Header
             ekpo,   "Purchasing Document Item
             thead.  "SAPscript: Text Header
    DATA: t_theads LIKE stxh  OCCURS 0 WITH HEADER LINE.
    DATA: t_tlines LIKE tline OCCURS 0 WITH HEADER LINE.
    DATA: v_ebeln_ebelp(15) TYPE c.
    TYPES: BEGIN OF t_download,
           ebeln LIKE ekko-ebeln,
           ebelp LIKE ekpo-ebelp,
           tdobject LIKE stxh-tdobject,
           tdid LIKE stxh-tdid,
           tdspras LIKE stxh-tdspras,
           count(4) TYPE c,
           tdformat LIKE tline-tdformat,
           tdline LIKE tline-tdline,
         END OF t_download.
    TYPES: BEGIN OF t_header,
          line1(20) TYPE c,
          line2(20) TYPE c,
          line3(20) TYPE c,
          line4(10) TYPE c,
          line5(10) TYPE c,
          line6(10) TYPE c,
          line7(10) TYPE c,
          line8(10) TYPE c,
          END OF t_header.
    DATA: g_filename TYPE string.
    DATA: gt_header TYPE STANDARD TABLE OF t_header.
    DATA: gs_header TYPE t_header.
    DATA: gt_download TYPE STANDARD TABLE OF t_download.
    DATA: gs_download TYPE t_download,
        gt_tlines   LIKE tline OCCURS 0 WITH HEADER LINE.
    DATA: v_subrc TYPE subrc.
    DATA: v_nb_lines TYPE i.
    DATA: v_ok TYPE i.
    DATA: v_ko TYPE i.
    DATA: v_ow TYPE i.
    DATA:  p_fname TYPE string.
    DATA: g_append.
                              SELECTION SCREEN                          *
    SELECT-OPTIONS : s_ebeln  FOR ekko-ebeln.
    PARAMETERS:
       p_filedn(132) TYPE c OBLIGATORY,
       p_file(132) TYPE c OBLIGATORY.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_filedn.
      PERFORM file_f4_get CHANGING p_filedn.
    START-OF-SELECTION.
    *Select all the purchase order corresponding to select criteria
      CLEAR t_theads. REFRESH t_theads.
      SELECT *
      FROM ekko
      WHERE ebeln IN s_ebeln.
    *Select all the text for P.O. header
        SELECT * FROM stxh
              APPENDING TABLE t_theads
              WHERE tdobject = 'EKKO'
              AND tdname      = ekko-ebeln.
    *Select Item of each P.O.
        SELECT *
        FROM ekpo
        WHERE ebeln = ekko-ebeln.
          CONCATENATE ekpo-ebeln ekpo-ebelp
          INTO v_ebeln_ebelp.
    *Select the text for P.O. item.
          SELECT * FROM stxh
                APPENDING TABLE t_theads
                WHERE tdobject = 'EKPO'
                  AND tdname   = v_ebeln_ebelp.
        ENDSELECT.              "select ekpo
      ENDSELECT.             "select ekko
      DESCRIBE TABLE t_theads LINES v_nb_lines.
      LOOP AT t_theads.
    Read the text from pool
        CLEAR thead.
        REFRESH t_tlines.
        CALL FUNCTION 'READ_TEXT'                               "#EC *
             EXPORTING
                  id                      = t_theads-tdid
                  language                = t_theads-tdspras
                  name                    = t_theads-tdname
                  object                  = t_theads-tdobject
             IMPORTING
                  header                  = thead
             TABLES
                  lines                   = t_tlines
             EXCEPTIONS
                  id                      = 1
                  language                = 2
                  name                    = 3
                  not_found               = 4
                  object                  = 5
                  reference_check         = 6
                  wrong_access_to_archive = 7
                  OTHERS                  = 8.
        MOVE-CORRESPONDING thead TO gs_download.
        gs_download-ebeln = thead-tdname+0(10).
        IF thead-tdobject = 'EKPO'.
          gs_download-ebelp = thead-tdname+10(5).
        ENDIF.
        gs_download-count = 0.
        LOOP AT gt_tlines.
          gs_download-tdformat = gt_tlines-tdformat.
          gs_download-tdline = gt_tlines-tdline.
          gs_download-count = gs_download-count + 1.
          APPEND gs_download TO gt_download.
        ENDLOOP.
        CLEAR gs_download.
      ENDLOOP.
    END-OF-SELECTION.
    Hope this helps.
    please reward points if  useful.
    Regards
    rose

  • IPad could not be Synced because it is no longer authorized for purchased items that are on iPad

    I recently purchased an IPAD AIR and synced ir with my comuter. 14 days later I try and SYNC it and I get a message " The IPAD could not be synced because this computer is no longe authorized for purchased items that are on this IPAD. The apple id's are the same and only 2 devices authorized. Meessage states to go to STORE and Authorize Computer. When I do I get a Message it is already authorized

    The problem appeared to be a Pending Request on the IPAD for the new ICLOUD option to share Keychain. I cleared that up and it appears that fixed the issue. Thanks for your help

  • How to make a new line item appear in a sales order in VA01 transaction?

    Dear All,
    I am trying to create a SO with single line item with quantity 100.
    Upon hitting the 'Enter' key, if the available quantity is less than the requested quantity (say 20), it takes me to an availabilty control screen which has a push-button 'One-time delivery' on the application tool bar.
    Upon clicking on this button, it takes me back to the main screen of VA01 where I currently see only one line item with quantity 100 and confirmed quantity 20.
    My requirement here is to make two line items appear, one with quantity 20 and the other with quantity 80, once I navigate back to the main screen of VA01 after clicking on the push-button 'One-time delivery'.
    Please provide me your valuable inputs. Any kind of help is highly appreciated.
    Useful answers never go unrewarded.
    Regards,
    Sreekanth Reddy B.

    Hi Sreekanth ,
    creating line items based on the confirmation qty can be done thru config, not thru ABAP,standard SAP will gives you options to create a new line item for unconfirmed qtys.
    check with ur functional consultant or try to post in SD /APO forums.
    regards
    Prabhu

  • Error in syncing - the iphone couldnt be synced because this computer is not longer authorized for purchased items on this iphone

    the iphone couldnt be synced because this computer is not longer authorized for purchased items on this iphone... to authorize this computer choose store and authorized................ this message coming again and again as i already authorized my computer with my apple id. but i dont understand why this message appear...... before it was working.. i did format my pc and install windows and software again.. even i check different computers with install itunes.. but same message..
    please help me

    If there is content on the device from multiple Apple IDs, the computer must be authorized for each of those Apple IDs.

  • Read only account line item appears writable in the webform

    Hi All,
    We are using Hyperion Planning 11.1.1.2.We have a line item called "Salary" under account which is set to read only.Its parent "Compensation" has the security set as IDesc(writable).
    The line item Salary is used in 2 forms.In one form it appears as readonly and in the other it appears as writable.Both the forms are identical except for the change in member in custom dimension for which security is not applied.
    Ideally this line item has to appear as readonly.
    Can anybody throw some light on this issue?
    Thanks in advance,
    Malini

    Hi,
    Can you just try this,edit the first form that works, do a save as and give it a name, change the custom dimension member. save. run. Is it the same?
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • How to Add new column in cross tab reports

    I am using crystal reports 10 I created cross tab report for monthly sales. I need to add one more column in that report ex: Month   Customer    Part1  Part2    Part3       Jan         A               10       12         15         Jan         B     

  • Help to Receiver Content Conversion

    Hi, i am facing IDoc2File Scenaio. This file should be a .txt and only should have six numbers. Incoming is an IDoc with the payload: <ZPP_EDI_TAFEL SEGMENT="1">   <TAFNR>1</TAFNR>   <DATEI>ERGB.TXT</DATEI>   <TAFIST>014</TAFIST>   <TAFSOLL>020</TAFS

  • Issue in RFC communication between ECC and PI

    Hi Experts, We are upgrading our systems from SAP R/3 to SAP ECC. We have couple of synchronous interfaces between SAP ECC <-> SAP PI <->Webservices. In R/3 these interfaces are working as expected and passing the data in correct format to PI. But sa

  • Sensor analog balance for 2850K color table

    Hello I currently try to create a dual illuminant camera profile using DNG Profile Editor 1.0.0.46 beta for our Aptina CMOS MT9P031 based camera. Using the DNG SDK 1.4, i'm converting the BAYER pattern images to a DNG with a Embedded Profile which ha

  • Momentus XT / Lion = Complete failure

    Hello,      I am using a 2009 Macbook Pro 15" with: 4 gb of RAM, 2.53 ghz cpu (core 2 duo), and I just replaced my hard drive which recently failed. I browsed around for an ssd to use to upgrade my system and stumbled upon the fairly cheap segate mom