Delivery Text  reading , help plz

Dear all
  i  am supposed to read the Material text from delivery doc so i m using the following code but not piccking the same at all .
  Data: DESC3(1320).
     TIDNO = '0001'.
    CONCATENATE DELNO
                T_LITEM-POSNR
    INTO        TNAME.
    TOBJT = 'VBBP'.
    PERFORM FINDTEXT.
      LOOP AT MSLINES.
        DESC1 = mslines-tdline(132).
        CONCATENATE  DESC3 DESC1
              INTO DESC3  SEPARATED BY SPACE.
        IF SY-TABIX GE 10.
          EXIT.
        ENDIF.
      ENDLOOP.
*&      Form  FINDTEXT
      text
FORM FINDTEXT.
  REFRESH mslines.
  CALL FUNCTION 'READ_TEXT'
    EXPORTING
      client                  = sy-mandt
      id                      = tidno
      language                = sy-langu
      name                    = tname
      object                  = tobjt
    TABLES
      lines                   = mslines
    EXCEPTIONS
      id                      = 1
      language                = 2
      name                    = 3
      not_found               = 4
      object                  = 5
      reference_check         = 6
      wrong_access_to_archive = 7
      OTHERS                  = 8.
  DELETE mslines WHERE tdline IS INITIAL.
ENDFORM.                    "FINDTEXT
Helllllllppppppp plz.
Thnx
Moni
Message was edited by: md monirujjaman

Hi Moni,
First thing to do is to check the key you are using to try and access the text.  Look up the header of the text you are after using SE16 on table STXH.  If you have some trouble finding it you can make a change to the delivery text (using the standard delivery change transaction) and select all records where TDLUSER = [Your SAP logon].
This should help you locate the exact key you are looking for.  Remember also that leading zeros should be included in the key where appropriate (check in debug that the key is built correctly).
If the key is correct (including the language!!!) then the READ_TEXT function will for sure retrieve the lines you are looking for.  Remember also that if you are peforming this code within a delivery userexit the possibility exists that the text has not even been saved yet (still running in update task).  In this case, you will have to access the text from memory directly (this can be a painful process).
Hope that helps.
Cheers,
Brad

Similar Messages

  • BufferedImage reading help plz???

    Hi ;
    I have a buffered image and i want to read it into a byte array.I am about to lose my mind coz i couldnt find anyway to do that.
    Plz help me
    Thanks

    I assume you have a color image. Is is 8-bit or 24-bit?
      BufferedImage bImage = ...
      DataBuffer db = bImage.getRaster().getDataBuffer();
      if(db.getDataType() == DataBuffer.TYPE_BYTE){
       byte my_data[] =  ((DataBufferByte)db).getData();
       System.out.println("my_data="+my_data+" "+ my_data.length );
      if(db.getDataType() == DataBuffer.TYPE_INT){
       int my_data[] =  ((DataBufferInt)db).getData();
       System.out.println("my_data="+my_data+" "+ my_data.length );
      }Of course, if it is 8-bit, you will probably need to get the colormap as well...

  • Plz help me its urgent i have iphone i dnt want my deleted texts my phone was jailbroken if i do restore widout backup should i jailbreak again ,should i unlock again,will the data of texts premantly erased plz answr me

    Plz help me its urgent i have iphone i dnt want my deleted texts my phone was jailbroken if i do restore widout backup should i jailbreak again ,should i unlock again,will the data of texts premantly erased plz answr me

    Jailbroken phones cannot be discussed in an Apple forum. If you synced your phone with your computer the texts will be in the backup, so if you restore the backup you may get them back, but with a jailbroken phone it's anybody's guess what will happen.

  • I formatted my ext hard drive and changed it to mac os x extended(journaled). then i put in all my data back. after a while, i insert the hard drive but my macbook cannot read it. plz help

    i formatted my ext hard drive and changed it to mac os x extended(journaled). then i put in all my data back. after a while, i insert the hard drive but my macbook cannot read it. plz help

    SanandaDutta 
    tried on a different mac. The same problem exists.
    If that is the case, its extremely unlikely you have a bad USB cable on the seagate, rather as I mentioned earlier a bad SATA bridge card.
    If the Seagate 1TB USB external wont open on either Mac and youve verified same (try a diff. USB cable if you have one however this is nearly never the case),....then to get the data off that HD (unless it is dead which is also extremely unlikely),......then you would need to extract the HD from its case and insert same into either a HD dock or USB HD enclosure.
    8 out of 10  seemingly dead inopperable 1-3+ year old external HD are perfectly fine, rather the cheap 50 cent SATA bridge card fries and dies (alas)
    reply back if you need help in extracting same. 

  • Help plz so my gf said she block me and we txt back to back but later on i sent her a messages and it said it was read so am I blocked  a

    help plz so my gf said she block me and we txt back to back but later on i sent her a messages and it said it was read so am I blocked 

    The proper way to close Firefox is through the File menu "Exit" or the equivalent with the Firefox button.
    More detail in item '''#38 Firefox already running '''
    of
    [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 look like 3.6) (#fx4interface)]
    Firefox already running, to properly shutdown Firefox when closing the last window use File → Exit/Quit (or Firefox button → Exit). Closing Firefox with the [X] in the upper right corner closes the window ("Ctrl+W") but that does not necessarily close Firefox if it has subtasks running. If you want to close and reopen Firefox use the "Restart" within Add-ons if you made a change requiring a restart, or install "[https://addons.mozilla.org/firefox/addon/restartless-restart/ Restartless Restart]" ("Ctrl+Alt+R") which will allow you to take Firefox down and restart without having to check the Windows Task Manager to see if Firefox first actually ended. [http://kb.mozillazine.org/Firefox_hangs Firefox hangs]

  • When I start FCPX it stops with the blue-red window with the text Reading "Music at Siljan - day 5" event. Whatever I do it won´t open up so I can work. Do anyone know how to boot up? I tried to restart my computer but nothing helps.

    When I start Final Cut Pro X it don´t come further then to the blue-red window Final Cut Pro X Version 10.0 and underneath that the text       Reading "Musik vid Siljan - dag 5" event.       Please  help me!!!!

    It seems something is corrupt in that event. One thing to try is to temporarily move the folder for that event out of the Final Cut Events folder using the Finder. Then try to open FCP X. If it now opens, you know that event is corrupt. As to how to fix a corrupt event? Not sure there is a better way than reimporting the media as a new event.

  • How to use 'delivery text' in VOFA?

    I have selected the field 'delivery text' in VOFA.
    what should do next?

    Hi,
    This customisation is required to enable the copying of texts from delivery to invoice document.
    For confirmation, please read the OSS note 548517.
    The answer for the specific question is pasted here from this OSS Note
    Question: Where can I set that the texts in the billing document are determined from the corresponding delivery document (and not from the order)??
    Answer: In the IMG under "Sales and Distribution -> Billing -> Billing Documents -> Define Billing types" you can set the "Delivery text" indicator for the corresponding billing type. With the corresponding Customizing (see first question), the texts of the billing document are determined from the appropriate delivery (and not from the order).
    Hope this helps you
    Pls reward if this helps you

  • Delivery text updation using user exits

    Hii All
    Our client has a requirment where we need to update text in delivery header when we save the delivery.
    The delivery text needs to be updated when we save the delivery.
    Can anyone help me in letting me know steps to be followed to do the same.
    Thanks & Regards,
    Gaurav Manocha

    First of all identify the text id associated with your delivery. Once you identify the text id, change the text id in the sample program below. You can have this logic coded within your MV50AFZ1 user exit
    data: w_txt_hdr  LIKE thead,
          i_text  LIKE tline  OCCURS 0 WITH HEADER LINE,
                         i_text-tdformat = '* '.
                         i_text-tdline = 'sample'.
                   append i_text.
                  w_txt_hdr-tdobject = 'VBBK'.
                  w_txt_hdr-tdname   = likp-vbeln.
                  w_txt_hdr-tdid     = '0008'. "text id
                  w_txt_hdr-tdspras  = sy-langu.
                 CALL FUNCTION 'SAVE_TEXT'
                       EXPORTING
                            client          = sy-mandt
                            header          = w_txt_hdr
                            savemode_direct = 'X'
                       TABLES
                            lines           = i_text
                       EXCEPTIONS
                            id              = 1
                            language        = 2
                            name            = 3
                            object          = 4
                            OTHERS          = 5.
                  IF sy-subrc <> 0.
                  ENDIF.

  • Im new to the 5g ipod help plz

    will the ipod turn off if i leave it on pause? i know i have a really stupid question but help plz thx

    Yes.

  • I lost my phone and i got an unlocked 4s from my gf she used it before an its still connected to her icloud is there a way i can restore my icloud back up to replace hers without messing up the unlock also my latest backup isnt showing on my pc help plz!!

    i lost my phone and i got an unlocked 4s from my gf she used it before an its still connected to her icloud is there a way i can restore my icloud back up to replace hers without messing up the unlock also my latest backup isnt showing on my pc help plz!!

    Please please help me, if you know how.

  • Help Plz.......!!!!its urgent

    hi nokia users
    flash lite on my 5530 only plays youtube videos,and when tried to play videos on other sites then it says flash player is required............do ui use any software that supports web videos...???
    help plz.....
    thanks in advance

    Falshplayer vedio cant acces in your device?

  • Help plz, i need back up my phone

    Help plz, i have iphone 4 i still have icloud  on my itunes and i need to update it to the new one but i dont want to lose any of my pictues of my kids im not sure if ive backed it up before if i have it would of been a long time ago plz help me thanks

    jennyspeedy* wrote:
    i dont want to lose any of my pictues of my kids im not sure if ive backed it up before if i have it would of been a long time ago plz help me thanks
    Then use the device as designed.  Copy the pictures off the device to the computer.  For any pictures that you desire to keep on the device, simply sync them via iTunes.
    Failure to copy the pictures off the device is only asking for problems.  If the device is ever lost/stolen or simply fails to work, without a backup they would be gone as well.

  • I forgot my password, and i want to unlock it without losing my data, can anyone help plz???

    i forgot my password, and i want to unlock it without losing my data, can anyone help plz???

    You can't. It is a good security feature. You have to connect the iPod to yur computer and restore via iTunes.

  • Itunes help plz respond asap

    ok so when i try to play my songs on itunes no matter where it was downloaded from (itunes or another source) it wont play. it will act like it was going to play and then freeze at 00:00. i tried re-installing it and deleting my itunes library and putting it back on but nothing has worked. my sound is fine because it makes that noise when i turn on the computer and such. help plz.

    You can get iTunes here: http://www.apple.com/itunes/
    You will also need the iPod Updater:http://www.apple.com/ipod/download/

  • How can we create a Collective search help  plz tell me with steps

    How can we create a Collective search help  plz tell me with steps
    thanks,
    basu

    Hi
    1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).
    2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
    3)An elementary search help defines the standard flow of an input help.
    4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
    5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.
    6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.
    CREATION:
    Go to SE11  Tcode
    select search help
    give the 'z' search help name and create
    select the selection method ur table name eg : 'mara'
    dialog module 'display value immediately'.
    add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.
    where left position when displaying and spos = search position
    and then save and activate ..
    See the links:
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
    pls go through this for search help creation
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
    Search Help Exits:
    Re: dynamic values for search help
    Re: Dynamic search  help
    Reward points for useful Answers
    Regards
    Anji

Maybe you are looking for

  • I cannot get my Airport Extreme to talk to my cable modem

    I cannot get my Airport Extreme to talk to my cable modem.  Cable modem is a Cisco, new, Charter cable company.  New wires throughout.  Connected to internet currently hardwired to cable modem.  So I have internet service to the modem. 

  • Assignment of output type to billing document

    I have a billing document for which output type is not assigned. Now, whenever I am trying to take the print by VF02, it is asking for output type. and i am giving any output type, the error is coming that " No output type is assigned to the billing

  • Converting logo from CMYK to PMS SPOT

    Hello everybody was wondering if you could lend a hand. I have a logo that i wish to conver to pms spot colour as that is what the artwork requirement is, it is currently in CMYK. I am currently using cs5. Edit, Edit Colours,Recolour artwork,  then i

  • Delete with sub select sometimes slow

    Hi all, we have following problem in version 11.2: we run some deletes similar delete-statements: delete from msvs where fk_msv_nr in (select pk_msv_nr from msv where rueckweisungsgrund = '<Falsch aus ePUB angelegt>'); delete from zbe where fk_msv_nr

  • Today Photoshop opens my jpeg files as a black screen. What is going on?

    Today for the first time, photoshop opens all my jpeg photos as a black screen.  Does anyone know what is going on?