SAP/Help

RSS Post Feed
  • Alternative to READ_TEXT Function Module (to fetch multiple long text at one go ) September 8, 2014
    Multi READ_TEXT Code in SAP   *&---------------------------------------------------------------------* *& Report  ZMULTI_READ_TEXT *& *&---------------------------------------------------------------------* *& *& *&---------------------------------------------------------------------* REPORT  ZMULTI_READ_TEXT. *---------------------------------------------------------------------** data declaration*---------------------------------------------------------------------*TABLES vbap.DATA curs TYPE cursor.TYPES: BEGIN OF ty_stxl,          tdname TYPE stxl-tdname,          tdid   TYPE stxl-tdid,          clustr TYPE stxl-clustr,          clustd TYPE stxl-clustd,        END OF ty_stxl.TYPES: BEGIN OF ty_stxh,          tdobject TYPE stxh-tdobject,          tdname   TYPE stxh-tdname,          tdid TYPE stxh-tdid,        END OF ty_stxh.TYPES: BEGIN OF ty_tdid,      sign  TYPE ddsign,      option  TYPE ddoption,      low  TYPE stxl-tdid,      high  TYPE stxl-tdid ,  END OF ty_tdid.DATA lt_tdid TYPE STANDARD TABLE OF ty_tdid.DATA ls_tdid TYPE ty_tdid.DATA lv_text  TYPE string.DATA:  t_stxl TYPE STANDARD TABLE OF ty_stxl.DATA:  t_stxh TYPE STANDARD TABLE OF ty_stxh.FIELD-SYMBOLS:  TYPE ty_stxl.* compressed text data without text nameTYPES: BEGIN OF ty_stxl_raw,          clustr TYPE stxl-clustr,          clustd TYPE stxl-clustd,        END OF ty_stxl_raw.DATA:  t_stxl_raw TYPE STANDARD TABLE OF ty_stxl_raw.DATA:  w_stxl_raw TYPE ty_stxl_raw.* decompressed textDATA:  t_tline TYPE STANDARD TABLE OF tline.FIELD-SYMBOLS:  TYPE tline.*---------------------------------------------------------------------** selection screen*---------------------------------------------------------------------*SELECT-OPTIONS s_vbeln FOR vbap-vbeln.SELECT-OPTIONS s_tdid FOR stxh-tdid .*---------------------------------------------------------------------** select on header*---------------------------------------------------------------------*SELECT tdobject tdname tdid   FROM stxh     INTO TABLE t_stxh    WHERE tdobject = 'VBBK' AND tdname IN s_vbeln AND tdid IN s_tdid  AND tdspras = 'E'.*---------------------------------------------------------------------** select compressed text lines into cursor*---------------------------------------------------------------------*OPEN CURSOR curs FOR SELECT tdname tdid clustr clustd        FROM stxl        FOR ALL ENTRIES IN t_stxh "WITH APPLICATION DATA AND TDNAME        WHERE relid    = 'TX'          "standard text          AND tdobject = t_stxh-tdobject          AND tdname   = t_stxh-tdname          AND tdid     = t_stxh-tdid          AND tdspras  = sy-langu.*---------------------------------------------------------------------** select compressed text lines in blocks of 1000 (adjustable) from cursor*---------------------------------------------------------------------*DO.  FETCH NEXT CURSOR curs INTO TABLE t_stxl PACKAGE SIZE 1000.  IF sy-subrc  0.    EXIT.  ELSE.    LOOP AT t_stxl ASSIGNING .*---------------------------------------------------------------------**   decompress text *---------------------------------------------------------------------*      CLEAR: t_stxl_raw[], t_tline[].      w_stxl_raw-clustr = -clustr.      w_stxl_raw-clustd = -clustd.      APPEND w_stxl_raw TO t_stxl_raw.*---------------------------------------------------------------------**  access text lines for further processing*---------------------------------------------------------------------*      IMPORT tline = t_tline FROM INTERNAL TABLE t_stxl_raw.*---------------------------------------------------------------------**  aadd text in one row by seprater*---------------------------------------------------------------------*      LOOP AT t_tline ASSIGNING .        IF lv_text IS INITIAL.          lv_text = -tdline .        ELSE.          CONCATENATE lv_text -tdline INTO lv_text SEPARATED BY cl_abap_char_utilities=>newline.        ENDIF.      ENDLOOP.*---------------------------------------------------------------------**  write text to screen with name id and text*---------------------------------------------------------------------*      WRITE: /  -tdname  ,-tdid ,lv_text .      CLEAR lv_text.  ENDLOOP.  FREE t_stxl.ENDIF.ENDDO.
    Jitendra Prasad
  • Untitled March 28, 2012
    How To add Attribute Dynamical in Existing Context Node SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; } .L0S31 { font-style: italic; color: #808080; } .L0S32 { color: #3399FF; } .L0S33 { color: #4DA619; } .L0S52 { color: #0000FF; } *-------------------------------------------------------*  add attribute in existing context node*-------------------------------------------------------  data LR_PAR_NODE type ref to IF_WD_CONTEXT_NODE_INFO.  data LR_NODE     type ref to IF_WD_CONTEXT_NODE_INFO.  data LT_ATT      type STRING_TABLE.  data LR_ATTRIBUTE type WDR_CONTEXT_ATTRIBUTE_INFO.*****to get context node information  LR_PAR_NODE = WD_CONTEXT->GET_NODE_INFO( ).* Name of node where you want to add attribute  LR_NODE = LR_PAR_NODE->GET_CHILD_NODE( `TEST` ).*  get all existing attribute name  LT_ATT = LR_NODE->GET_ATTRIBUTE_NAMES( ).  LR_ATTRIBUTE-NAME = `DUMMY`.  LR_ATTRIBUTE-TYPE_NAME ='CHAR40'.*  check attribute is present or not*  if not present then create attribute in node  read table LT_ATT transporting no fields              with key TABLE_LINE = `DUMMY`.  if SY-SUBRC ne 0.    call method LR_NODE->ADD_ATTRIBUTE      exporting        ATTRIBUTE_INFO = LR_ATTRIBUTE.    clear LR_ATTRIBUTE.  endif.
    Jitendra Prasad
  • Untitled March 28, 2012
    How to Create Dynamic Node with attribute SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; } .L0S31 { font-style: italic; color: #808080; } .L0S32 { color: #3399FF; } .L0S33 { color: #4DA619; } .L0S52 { color: #0000FF; }  SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; } .L0S31 { […]
    Jitendra Prasad

This Post Has 59 Comments

  1. JamesAnori

    I appreciate the knowledge on your website. Thanks a ton!

  2. erotik izle

    If you want to use the photo it would also be good to check with the artist beforehand in case it is subject to copyright. Best wishes. Aaren Reggis Sela

  3. porno

    If you want to use the photo it would also be good to check with the artist beforehand in case it is subject to copyright. Best wishes. Aaren Reggis Sela

  4. sikis izle

    Zini est un fabricant sud-coren de sextoys luxueux. Maude Jedd Lattimer

  5. sikis izle

    If you want to use the photo it would also be good to check with the artist beforehand in case it is subject to copyright. Best wishes. Aaren Reggis Sela

  6. porno

    I truly appreciate this post. Well, I have put together a long list. Interesting content. I truly appreciate this post. Camellia Gard Nerin

  7. erotik

    I need to to thank you for this good read!! I certainly loved every bit of it. Carlye Joey Medina

  8. sikis izle

    Just beneath, are a lot of absolutely not associated internet sites to ours, however, they may be surely really worth going over. Wynnie Padriac DuBois

  9. erotik

    Help to makeEven worse this impression, always cash your tickets out immediatelyin a flashroutinelycorrectas soon as possiblerightasapswiftly. Larisa Craig Votaw

  10. erotik

    Hi there, I enjoy reading all of your post. I like to write a little comment to support you. Marika Kip Dail

  11. sikis izle

    Piece of writing writing is also a fun, if you be familiar with then you can write otherwise it is difficult to write. Robbin Quinton Keever

  12. sikis izle

    Hi Geert, My name is Tina I have had panic attacks for nine years. They started after giving birth to my second child. Selena Norris Anjali

  13. erotik

    Birthday gift for my wife. She was over joyed with the watch. It looks beautiful on her wrist. Crista Barde Hafler

  14. sikis izle

    Always a good job right here. Keep rolling on through. Jehanna Patsy Aeriela

  15. erotik izle

    This post will assist the internet viewers for building up new web site or even a blog from start to end. Sally Corney Honey

  16. erotik izle

    I have read so many content regarding the blogger lovers but this paragraph is in fact a fastidious post, keep it up. Kaila Gunther Ubald

  17. film

    I have been surfing online more than three hours today, yet I never found anything that grabbed my interest as much as this piece. Janis Ronald Solita

  18. erotik

    I have learn several just right stuff here. Certainly worth bookmarking for revisiting. Eddy Maxy Clea

  19. film

    I have been reading out some of your posts and i can claim pretty nice stuff. I will make sure to bookmark your blog. Bobine Alphonso Samal

  20. film

    My name is Matei Harvey. And I am a professional academic writer with many years of experience in writing. Tatiana Carson Prissie

  21. film

    Thankfulness to my father who stated to me about this webpage, this blog is truly amazing. Vanni Ikey Armington

  22. film

    You made some nice points there. I looked on the internet for the topic and found most guys will go along with with your site. Darcee Noble Vonni

  23. film

    Hi i am kavin, its my first occasion to commenting anywhere, when i read this post i thought i could also create comment due to this good article. Ettie Mile Chesna

  24. film

    I am sure this paragraph has touched all the internet users, its really really fastidious article on building up new web site. Leola Wesley Hedda

  25. film

    This post is in fact a good one it assists new web visitors, who are wishing for blogging. Jodie Booth Aspa

  26. film

    This is one awesome article. Really thank you! Want more. Anabella Wilhelm Darian

  27. film

    Check below, are some completely unrelated web sites to ours, nevertheless, they are most trustworthy sources that we use. Rosella Bill Daberath

  28. film

    Thanks a lot for the article. Really thank you! Fantastic. Rubetta Brnaby Bloem

  29. film

    Unquestionabhly believe tthat which you stated. Your favorite justification ppeared to be at the web the easiest thing to remember of. Georgena Courtnay Frazer

  30. film

    You, my friend, ROCK! I found exactly the info I already searched everywhere and just could not find it. What a perfect site. Dynah Bink Harmonia

  31. film

    Good post. I am dealing with many of these issues as well.. Dyanne Seumas Onofredo

  32. sikis izle

    I conceive you have mentioned some very interesting details , appreciate it for the post. Francoise Karlis Benzel

  33. erotik

    Here is a superb Weblog You might Locate Exciting that we encourage you to visit. Natala Lane Riehl

  34. erotik izle

    Some genuinely excellent articles on this website , appreciate it for contribution. Daniella Curr Hoxie

  35. sikis izle

    Some truly nice and useful info on this web site, likewise I conceive the design contains wonderful features. Katherina Brade Uno

  36. sikis izle

    Good day very cool blog!! Guy .. Excellent .. Wonderful .. Korella Chaunce Immanuel

  37. erotik izle

    I like the helpful information you provide in your articles. Zondra Griffith Tatianna

  38. porno

    I take pleasure in, cause I found exactly what I was having a look for. Theodora Keane Rachele

  39. erotik

    I dugg some of you post as I cogitated they were very helpful very beneficial. Jorey Gran Athiste

  40. chwilówki

    I reckon something truly special in this website.

  41. renault key card

    Some really great info, Gladiola I detected this. I’m not spaming. I’m just saying your website is AWSOME! Thank you so much! Please vist also my website.

  42. bahis

    Good way of describing, and nice article to obtain data concerning my presentation subject, which i am going to deliver in academy. Katy Ambrosi Toomin

  43. full hd izle

    Great article! We are linking to this particularly great post on our site. Keep up the great writing. Stella Glynn Quintin

  44. filmi full izle

    There is certainly a great deal to know about this issue. I really like all of the points you made. Gabie Reggy Vitoria

  45. film izle

    Major thankies for the article post. Really looking forward to read more. Fantastic. Raf Donalt Tolmann

  46. full hd izle

    Regards for this post, I am a big fan of this internet site would like to proceed updated. Jenelle Lezley Zilla

  47. sex porn

    There is apparently a bunch to identify about this. I think you made certain good points in features also. Persis Ignazio Conroy

  48. netflix

    I think the problem for me is the energistically benchmark focused growth strategies via superior supply chains. Compellingly reintermediate mission-critical potentialities whereas cross functional scenarios. Phosfluorescently re-engineer distributed processes without standardized supply chains. Quickly initiate efficient initiatives without wireless web services. Interactively underwhelm turnkey initiatives before high-payoff relationships. Mandi Pierson Lyndell

  49. yabanci

    Thanks for making this awesome blog post. I greatly appreciated it. Verena Conroy Aniweta

  50. movie online

    Good blog post. I absolutely love this site. Continue the good work! Ellen Geno Drummond

  51. Thanks for your concepts. One thing we’ve noticed is banks along with financial institutions are aware of the spending practices of consumers while also understand that most of the people max out and about their real credit cards around the getaways. They properly take advantage of this specific fact and then start flooding a person’s inbox plus snail-mail box by using hundreds of no interest APR credit cards offers shortly when the holiday season closes. Knowing that when you are like 98% in the American general public, you’ll get at the one opportunity to consolidate financial debt and switch balances towards 0 rate credit cards. nmmllno https://headachemedi.com – medication for severe headaches

  52. escort bayan

    Far much that one rank beheld bluebird after outside ignobly allegedly more when oh arrogantly vehement tantaneously eel valiantly petted this along across highhandedly much. Tawnya Thorin Lee

  53. escort bayan

    Venenatis vel, luctus quis lorem. Curabitur a ante non leo eleifend pretium. Vivamus efficitur ex varius dignissim imperdiet. Alyssa Karim Matthei

  54. erotik

    Hi friends, its fantastic paragraph regarding cultureand fully explained, keep it up all the time.| Anjela Titos Christean

  55. As a Newbie, I am continuously browsing online for articles that can be of assistance to me. Thank you Elfrida Gaile Abdulla

  56. SA CASINO ONLINE

    I believe this is one of the such a lot significant information for me. And i am glad studying your article. But wanna commentary on some basic issues, The web site style is perfect, the articles is truly excellent : D. Just right task, cheers| Danya Izaak Wilmette

Leave a Reply