Pulling Free text into BW

Hi,
We need to get Free text into BW which has length greater than 60 characters and also display it in BEx reports..
I am aware of the 60 char length limitation..
Anyone of you out there have figured out a way top overcome this..
Ashish..

Hi Ashwin/Bhanu,
Thanks for your inputs..
Somehow we are not too kneen on using documents as we need to display the text at every line level..
Just wanted to know your thoughts on the following approach..
Having the text split into fields of length 60 char and populate them into attributes of master data infoobject..
My question is ..will it be possible to concatenate these fields in the BEx Workbook somehow..If we can concatenate 2 fields I guess we will be fine..
Looking forward to your responses..
Thanks a Lot
Ashish.

Similar Messages

  • Need to pull LONG TEXT into Sales Invoice

    Hi All,
    We have a Projects and we maintain some long text for these WBSes of  projects. Now we need to move them to Invoices. Is there any table where in we can store these texts and then we pull in Invoice ? We can also move to Debot Memo request and then to Invoice. How do I store TEXT as its a structure where in it gets stored.
    rgds..Ameet

    Hi,
    Following are some of the tables (PRTX, PSTX, PSTXB, PSTXH) where you can find the references for PS Text in WBS Elements.
    Regards
    Sreekanth

  • MS word templates free text referenced gets cut

    Hello Experts,
    CRM 5.0
    We have a scenario where we have implemented a custom BADI to add attributes in the list of fields that can be pulled into MS word templates from an order object in CRM. Some of the free text areas are also being referenced in the MS word templates. However only the first 128 characters from the free text area get pulled into the MS word template. The BADI does not seem to put this limit as in debugging, we can see all the text being referenced but on the front end only 128 characters flow through. Can someone please suggest a solution around this?
    Thanks & regards
    Ritwik Sharma

    BackInBlack wrote:
    >
    > The problem arises when I try to display the content on
    that field on some
    > display templates. The formatting is lost and there are
    several characters that
    > get replaced by ~ as well as little square boxes that
    are a special character
    > that I can't identify.
    >
    > Is there anything anyone can suggest on how to approach
    this problem? is it a
    > coldfusion administrator issue, a server setup issue,
    does word have to be
    > installed on the server that the applications run? is it
    a setting in SQl
    > server. I was hoping someone has had a similar problem
    and can point me in the
    > right direction.
    It is a character encoding issue. This is a big topic, but
    there is
    plenty written up about it. You probably want to configure
    your
    application use use window-1252 or unicode encoding format.
    You will
    want to make sure the entire system running the application
    is talking
    the same encoding, database web server and ColdFusion.

  • Urgent clearing data in container for free text

    I HAVE A CONTAINER FOR FREE TEXT.
    I HAVE A CREATE BUTTON IN MY SCREEN EWHEN I PRESS CREATE IT ASKD FOR ID AND FREE TEXT THEN I SAVE  AND IT GETS SAVED IN A ZTALE TABLE.
    WHEN AFTER SAVING IT I GO TO INITIAL SCREEN AND PRESS CREATE AGAIN THEN IT ASKS FOR ID AND IN THE CONTAINER I SEE THE FPREVIOUS TEXT.
    CAN YOU GUYS LET ME KNOW AS TO WHAT I NEED TO DO.
    I TREID CLEARING AND REFRESHING MYTABLE WHICH I HAVE USED IN THE FOLLOWING CODE.
    pbo
    if editor is initial.
    CREATE OBJECT TEXTEDIT_CUSTOM_CONTAINER
    EXPORTING
    CONTAINER_NAME = 'TEXTEDITOR1'
    EXCEPTIONS
    CNTL_ERROR = 1
    CNTL_SYSTEM_ERROR = 2
    CREATE_ERROR = 3
    LIFETIME_ERROR = 4
    LIFETIME_DYNPRO_DYNPRO_LINK = 5.
    IF SY-SUBRC NE 0.
    add your handling
    ENDIF.
    CREATE OBJECT EDITOR
    EXPORTING
    PARENT = TEXTEDIT_CUSTOM_CONTAINER
    WORDWRAP_MODE = CL_GUI_TEXTEDIT=>WORDWRAP_AT_FIXED_POSITION
    WORDWRAP_TO_LINEBREAK_MODE = CL_GUI_TEXTEDIT=>FALSE
    EXCEPTIONS
    OTHERS = 1.
    refresh mytable.
    call METHOD editor->SET_TOOLBAR_MODE
    EXPORTING TOOLBAR_MODE = 0.
    *call METHOD editor->SET_ENABLE
    *EXPORTING ENABLE = ' '.
    CALL METHOD editor->set_readonly_mode
    EXPORTING
    readonly_mode = 1.
    ENDIF.
    CLEAR MYTABLE.
    FREE MYTABLE.
    endif.
    IF SY-SUBRC NE 0.
    CALL FUNCTION 'POPUP_TO_INFORM'
    EXPORTING
    TITEL = V_REPID "--> program name
    TXT2 = SPACE
    TXT1 = 'Error in flush'.
    ENDIF.
    tHANKS
    let me know
    swathi

    For example, this program works really well with saving long text using the SAVE_TEXT function.  Here you need to create the object/id in SE75.  For this program you enter the id on the right like 999999 and enter the text on the left, execute and the text is saved, now change the id to 999998 and hit enter, notice the text is blank, now enter 999999 again, notice the text for this id has come back,  this is because the program uses READ_TEXT to retrieve the text.
    report zrich_0001.
    data:
          dockingleft  type ref to cl_gui_docking_container,
          text_editor    type ref to cl_gui_textedit,
          repid type syrepid.
    data: begin of header.
            include structure thead.
    data: end of header.
    data: begin of lines occurs 0.
            include structure tline.
    data: end of lines.
    data: textlines type table of tline-tdline,
          wa_text type tline-tdline.
    data: xthead type thead.
    parameters: p_id(10) type c.
    at selection-screen.
      if p_id is initial.
        message e001(00) with 'Enter an ID'.
      endif.
    at selection-screen output.
      repid = sy-repid.
      if dockingleft is initial.
        create object dockingleft
                    exporting repid     = repid
                              dynnr     = sy-dynnr
                              side      = dockingleft->dock_at_left
                              extension = 300.
        create object text_editor
                    exporting
                         parent     = dockingleft.
      endif.
      if p_id <> space.
        xthead-tdobject = 'ZPT_DET'.
        xthead-tdid     = 'Z001'.
        xthead-tdname = p_id.
        clear lines. refresh lines.
        call function 'READ_TEXT'
          exporting
            id                            = xthead-tdid
            language                      = sy-langu
            name                          = xthead-tdname
            object                        = xthead-tdobject
          tables
            lines                         = lines
         exceptions
           id                            = 1
           language                      = 2
           name                          = 3
           not_found                     = 4
           object                        = 5
           reference_check               = 6
           wrong_access_to_archive       = 7
           others                        = 8.
        clear textlines.
        loop at lines.
          wa_text = lines-tdline.
          append wa_text to textlines.
        endloop.
      endif.
      call method text_editor->set_text_as_r3table
         exporting
               table              = textlines
         exceptions
               others             = 1.
    start-of-selection.
      call method text_editor->get_text_as_r3table
         importing
               table              = textlines
         exceptions
               others             = 1.
    * Set SAPscript Header
      clear header.
      header-tdname =  p_id .         "Name
      header-tdobject = 'ZPT_DET'.       "Object
      header-tdid = 'Z001'.              "Id
      header-tdspras = sy-langu.
    * Move text from container to function module table
      clear  lines.  refresh lines.
      loop at textlines into wa_text .
        lines-tdline = wa_text.
        append lines .
      endloop.
      call function 'SAVE_TEXT'
           exporting
                client   = sy-mandt
                header   = header
           tables
                lines    = lines
           exceptions
                id       = 1
                language = 2
                name     = 3
                object   = 4
                others   = 5.
    Yes, this is implemented using a selection screen, but the same principals apply and this can  be easily converted to a dynpro application.
    Regards,
    Rich Heilman

  • Intercompany Exchange of NLAG materials or free text items

    Hi,
    in my company we have set up the intercompany procurement process according to the SAP standard. Means when one company places a PO with another group company (different comp code) a delivery is created against this PO. Now the companies want to start procuring either NLAG materials or free text items which leads to an error message ME124 "Material not subj. to inventory mgmt. in plant" for NLAG or error 06806 "Procurement w/o material from vendor with plant assignment not defined".
    Any ideas how to overcome this?
    Regards,
    St

    Hello Stefan Teckenbr,
    Please do the above necessary customization
    Go into IMG > Logistics general > material master > Basic Settings > material type > Define Attributes of Material Types
    Select your material type and click Quantity/Value update.
    Hope this helps.
    Thank,
    Swamy H P

  • Price differece between purchase req and PO for free text purchase

    Hi there
    Has anyone found a good solution for the following problem. 
    A free text purchase requisition item is created with a value = x.  The buyer goes out to quote (not using SAP RFQ - manual) and comes back with a price change.  The buyer creates the purchase order referencing the purchase requisition, but they need to change the value to x+10. 
    The client wants to stop the purchase order been created if the value is above a certain percentage.  The standard settings in the system are for material values.  Does anyone know how to extend this to a short text item on a purchase requistion?
    Thanks
    Roz

    Hi,
    This is not possible to achieve in SAP standard functionality.
    You can do one thing, keep Price field for the PO Document type of Text Purchases as display, which will not allow user to change the price for Text POs.
    Use Release Strategy for Purchase Requisitions and keep changeability for the Release indicator as "4" and % Changeability as 10%. And ask user ro change the price in ME52N only instead of changing it in PO. If it will increase more than 10% the PR Value then system will reset the release and this PR needs to be released again.
    If it is not acceptable then you can try it with user exit "MM06E007" - Change document for requisitions upon conversion into PO

  • How to reduce the level of free text / direct purchasing

    A common problem at all sites is how to reduce the level of free text / direct / non catalogue based purchasing. This is where users enter an account assignment and free text instead of using an existing material number.
    This is often the case because it is too "dificult" for the user to search and find the correct material number.
    How have other sites handled this?
    has anyone found a solution that if a user enters lets say "paper" into the free text box, a pop up appears with a match on possible materials with the word "paper" in the short description? This sounds like a pretty easy function to implement? Does anyone have the code?
    Cheerio

    >
    Ravi.or.raj wrote:
    > The search function you ask for is pretty much a standard functionality.
    > In ME21N , click on  "Personal Settings"    , and select the check box "int search help on"  .
    Yes this works, but you have to tell that the user has to enter the text  in the material number field, then SAP will search thru the database.

  • Free Text e-mail in Portal UWL

    HI All,
    I have a step in my workflow that allows a user to enter a free text message which can be sent to one or more other users. A decision task comes into the users inbox. If they click reject the next step of the workflow is the task which allows them to write an email and send the mail to the requestor.
    This works perfectly in R/3, however we are using SAP 4.6c and we are trying to implement this in portal.
    The main problem with implementing the workflow in portal is that the job to sync your R/3 workflow inbox with your UWL is only run every minute which means it can take up to a minute for the email task to arrive in the users inbox after they click the Reject button.
    In short, we need the UWL to run the email task straight away when the user clicks reject.
    Has anyone come across a similar issue? All suggestions are really appreciated
    Many Thanks,
    Colm

    Colm,
    I assume you are using the UWL Userdecision handler (which is the one you are getting by default for workflow user decisions, at least in NW2004s).
    The "advance with dialog" functionality is not supported with decisions in UWL, and therefore your scenario won't work.
    The alternative is:
    - The UWL Userdecision handler offers a field to enter text in it at runtime. You can even customize whether that text should be mandatory or not depending on the decision taken by the user.
    The only thing I am not sure about is how to retrieve the text in the workflow (I haven't practiced this myself) but I am sure it must hide somewhere in a standard container element.
    - Use that text, retrieve it in a muiltiline container element, and then send that by mail with a background task.
    Hope this helps,
    Patrick

  • How to Create Free Text Area

    Hi all,
    I have a requirement where i need to create some 70 Z-fields inside Incident line item where user just enters data and will save the form.
    i have achived this by adding the fields into ORDERADM_I and is working fine.. i am able to bring the fields in the Incident line item.
    Now i have a requirement where i need to create 2 Free Text areas (like notes where user can enter unlimited text) .
    how to achive this.
    as of now i have created 2 more Z-fields in ORDERADM_I with 255 characters length and increased the line numbers into 4 in the GET_P method. but by doing this, user can enter only 255 characters and this is not a free text area.
    can any one give me steps to create a new free text area.
    Regards,
    Amshu

    Hi Steve,
    i have already tried this. it works fine
    look at my code below
    method GET_P_ZZAFLD0000AL.
      CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
          rv_value = cl_bsp_dlc_view_descriptor=>field_type_textarea.
        WHEN if_bsp_wd_model_setter_getter=>fp_textarea_rows.
          rv_value = 4.
      ENDCASE.
    endmethod.
    this code will make the field as text area with size 4 lines . But the field length will be same as what we declare in the domine.. (max 256) . i cant enter unlimited text in this field though it looks like a text area.
    i guess v need to create a standard text somewhere in configuration and assign the same here...
    if anyone hv worked on this please revert back
    Regards
    Amshu

  • Are free-text attributes not possible?  Why?

    I'm pretty new to MDM, just learning really.  I've done some complicated imports, in cluding hierarchies and taxonomies.
    At my company we have product records that contain product specs.  There are about 200 different specs that different products CAN have, but any particular product only may need about 20, depending on it's product type.  A perfect situation for a taxonomy with attributes, right?
    It would be, but although many specs have particular pre-defined choices (like attribute choices) , many are free-text fields where the user enters information that can't be boiled into pre-set choices.
    After playing with it in MDM for a while, it becomes clear that you can't have taxonomy attributes in MDM that are free text.  That seems kind of silly to me... am I missing something?  Is there a way to do this?  If not, why not?  It seems like a useful feature.  I can't be the first person to think of this..... 
    Any help, explanations, or ideas for alternate methods would be very greatly appreciated...
    Steve

    You aren't missing anything. Attributes can only be numeric (or couple numeric) or text. The text attributes are only available as lookups and cannot be set up as free-form text entries. Fields can be set up as free-form text, but have to be applied at a global level to everything.
    The only reason I can think as to why it has been developed this way is because of the search capabilities built into MDM. It would probably be difficult to have the parametric searching with free-text attributes, much easier when all the data is in a lookup. Another reason is just to help maintain standards within your repository. You could enter a message with SAP to find out all the reasons why it is this way and possibly enter an enhancement request for future versions.
    Basically the only way around this currently is to use the text attribute available. You could allow the users to right click on the attribute in Record Mode and select Modify to add entries to the attribute as needed.
    This obviously doesn't solve your problem, but hopefully helps clear it up a bit.
    Regards,
    Tim

  • How do I copy and paste Chinese text into InDesign CC?

    I am having difficulty copying and pasting pre-translated Chinese text into InDesign.
    Many of the characters are coming up as boxes in the majority of Chinese fonts offered in CC.
    马修斯旅游大巴租赁公司
    爱尔兰和英国之旅
    translates as
    Font used above is Apple LiSung
    I have tried to import via Apple Text Edit and format stripped the text.

    That's happening because you have Simplified Chinese text, and are attempting to use a Traditional Chinese font.
    Ellis suggests a well-made Adobe font with Trad support. If you pull down your font dropdown and scroll towards the end, you'll find fonts split into categories according to language support. The one with Apple LiSung is the Simplified category, and the one with Adobe Fangsong is the Trad category. Pick any font from that category - but know that the style of font you pick in Chinese means as much as the style of font you pick in English, and if you don't know what the conventions are, you may well choose one not entirely suited to your audience. (One of my translators likened the Chinese font choices of monolingual Anglo designers to "seeing the body text of my How To Use Your Health Care Benefits brochure laid out in Rosewood.")

  • Classic Scenario and free text

    Hi,
    Scenario : Classic (No sourcing cockpit in SRM)
    As for the free text item, I want to assign 'fixed' vendor to create a PO in back-end. How do I do it ?
    Thanks
    Pranav

    Hi
    You will have to work with partner function 00000039 which is the prefered vendor to move into the partner function 00000019.
    In the BBP_DOC_CHANGE_BADI we provide the business partner data
    through the IT_PARTNER interface table. the prefered vendor or desired
    vendor has partner type 39, the regular supplier will have partner
    type 19. a switch from 39 to 19 .
    regards
    Muthu

  • Free Text with Grid

    Hi,
    I have requirement to display Text and Line item in a GRID (in popup window) ie
    In the Screen
    Free Text :xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    Item No      Document Description    Quantity     Amount
    10              xxxxxxxxxxxxxxxxxx    10              1000
    20              xxxxxxxxxxxxxxxxxx     20              200
    30              xxxxxxxxxxxxxxxxxx     30              400
    I am looking for how we generate this using Object Oriented
    Any example programs
    Thanks
    aRs

    Hi,
    I am sending the sample coding for the ALV GRID REPORT with header text.
    REPORT  YMS_EXCISE MESSAGE-ID E4 NO STANDARD PAGE HEADING LINE-SIZE 350.                              .
    TABLES : J_1IEXCHDR,      " header table
             J_1IEXCDTL,      " item table
             J_1IPART2,       " Excise Part II details
             LFA1,            " vendor master table
             J_1IMOVEND,      " vendor excise details table
             MSEG,            " Document Segment: Material
             MKPF,            " Header: Material Document
             DD07T,           " domain text table
             T001W.           " Plant and Branch Details
    DATA : BEGIN OF IT_CHDR OCCURS 100,
           DOCNO LIKE J_1IEXCHDR-DOCNO,
           DOCYR LIKE J_1IEXCHDR-DOCYR,
           EXNUM LIKE J_1IEXCHDR-EXNUM,
           EXDAT LIKE J_1IEXCHDR-EXDAT,
           WERKS LIKE J_1IEXCHDR-WERKS,
           EXBED LIKE J_1IEXCHDR-EXBED,
           EXCCD LIKE J_1IEXCHDR-EXCCD,
           ECS LIKE J_1IEXCHDR-ECS,
           END OF IT_CHDR.
    DATA : BEGIN OF IT_CDTL OCCURS 100,
           DOCYR LIKE J_1IEXCDTL-DOCYR,
           DOCNO LIKE J_1IEXCDTL-DOCNO,
           EXNUM LIKE J_1IEXCDTL-EXNUM,
           EXDAT LIKE J_1IEXCDTL-EXDAT,
           LIFNR LIKE J_1IEXCDTL-LIFNR,
           MATNR LIKE J_1IEXCDTL-MATNR,
           MAKTX LIKE J_1IEXCDTL-MAKTX,
           CHAPID LIKE J_1IEXCDTL-CHAPID,
           EXBAS LIKE J_1IEXCDTL-EXBAS,
           EXBED LIKE J_1IEXCDTL-EXBED,
           ECS   LIKE J_1IEXCDTL-ECS,
           MENGE LIKE J_1IEXCDTL-MENGE,
           MEINS LIKE J_1IEXCDTL-MEINS,
           RDOC2 LIKE J_1IEXCDTL-RDOC2,
           END OF IT_CDTL.
    DATA TEXT(10).
    DATA : BEGIN OF IT_OUT OCCURS 0,
           SERIALNO LIKE J_1IPART2-SERIALNO,
           TEXT1 LIKE TEXT,
           EXNUM LIKE J_1IEXCDTL-EXNUM,
           EXDAT LIKE J_1IEXCDTL-EXDAT,
           NAME LIKE LFA1-NAME1,
           DDTEXT LIKE DD07T-DDTEXT,
           EXCCD LIKE J_1IEXCHDR-EXCCD,
           BUDAT LIKE MKPF-BUDAT,
           EXBAS LIKE IT_CDTL-EXBAS,
           EXBED LIKE IT_CDTL-EXBED,
           ECS   LIKE IT_CDTL-ECS,
           MATNR LIKE IT_CDTL-MATNR,
           MAKTX LIKE IT_CDTL-MAKTX,
           CHAPID LIKE IT_CDTL-CHAPID,
           MENGE LIKE IT_CDTL-MENGE,
           MEINS LIKE IT_CDTL-MEINS,
           DEL_IND(1),
           END OF IT_OUT.
    DATA IT_PART2 LIKE J_1IPART2 OCCURS 0 WITH HEADER LINE.
    DATA S_NO(4) .
    DATA DB_CNT LIKE SY-TABIX.
    DATA EBELN_T LIKE MSEG-EBELN .
    TYPE-POOLS : SLIS.
    DATA : AFIELD TYPE SLIS_FIELDCAT_ALV.
    DATA : LIST_HEADER TYPE SLIS_T_LISTHEADER,
           FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
           LS_FTCAT TYPE LVC_S_FCAT,
           SORTCAT TYPE SLIS_T_SORTINFO_ALV,
           SORTCAT_LN  LIKE LINE OF SORTCAT,
           G_REPID LIKE SY-REPID,
           G_BACK_GROUND(70),  "like bapibds01-objkey,
           GS_VARIANT LIKE DISVARIANT,
           G_SAVE ,
           GT_EVENTS TYPE SLIS_T_EVENT,
           ALV_EVENT TYPE SLIS_ALV_EVENT,
           EVENTCAT             TYPE SLIS_T_EVENT,
           EVENTCAT_LN          LIKE LINE OF EVENTCAT,
           LAYOUT_IN            TYPE SLIS_LAYOUT_ALV,
           LAYOUT_IN1           TYPE SLIS_LAYOUT_ALV.
    CONSTANTS : GC_FORMNAME_TOP_OF_PAGE TYPE SLIS_FORMNAME VALUE
    'TOP_OF_PAGE',
                GC_FORMNAME_USER_COMMAND TYPE SLIS_FORMNAME VALUE
    'USER_COMMAND',
                GC_FORMNAME_BEFORE_OUTPUT TYPE SLIS_FORMNAME VALUE
    'BEFORE_OUTPUT'.
      ALV_EVENT TYPE SLIS_ALV_EVENT,
    DATA EX_NO LIKE IT_CHDR-EXNUM VALUE 0.
    DATA REGTYP_1 LIKE J_1IPART2-REGTYP.
    SELECTION-SCREEN BEGIN OF BLOCK B WITH FRAME.
    PARAMETERS  WERKS TYPE J_1IEXCHDR-WERKS.
    SELECT-OPTIONS : BUDAT FOR J_1IEXCHDR-EXDAT.
    PARAMETERS : R1 RADIOBUTTON GROUP GRP DEFAULT 'X',
                 R2 RADIOBUTTON GROUP GRP.
    SELECTION-SCREEN END OF BLOCK B.
    INITIALIZATION.
      G_REPID = SY-REPID.
      G_SAVE = 'A'.
    PERFORM BUILD_EVENT USING GT_EVENTS[].
      PERFORM ALV_EVENT_INIT.
    AT SELECTION-SCREEN.
      REFRESH LIST_HEADER.
      PERFORM TOP_OF_PAGE_LIST_HEADER USING LIST_HEADER.
    START-OF-SELECTION.
    PERFORM ALV_EVENT_INIT.
      G_REPID = SY-REPID.
      G_BACK_GROUND = ' ' .
      IF R1 = 'X'.
        CLEAR R2. CLEAR : REGTYP_1.
        REGTYP_1 = 'A'.
         set titlebar 'BALAJI' with DB_CNT.
      ELSEIF R2 = 'X'.
        CLEAR R1.CLEAR : REGTYP_1.
        REGTYP_1 = 'C'.
         set titlebar 'BALAJI1' with DB_CNT.
      ENDIF.
      SELECT * FROM J_1IPART2
                       INTO CORRESPONDING FIELDS OF TABLE IT_PART2
                       WHERE REGTYP = REGTYP_1 AND
                             TRNTYP = 'GRPO' AND
                             BUDAT IN BUDAT.
                              DOCYR = IT_CDTL-DOCYR AND
                              DOCNO = IT_CDTL-DOCNO.
      LOOP AT IT_PART2.
        SELECT SINGLE * FROM J_1IEXCHDR
                  INTO CORRESPONDING FIELDS OF IT_CHDR
                          WHERE  TRNTYP = 'GRPO' AND
                          DOCYR = IT_PART2-DOCYR AND
                          DOCNO = IT_PART2-DOCNO AND
                          WERKS = WERKS AND
                          exdat IN BUDAT.
                       ORDER BY EXDAT.
        IF SY-SUBRC = 0.
          APPEND IT_CHDR.
        ELSE.
          CONTINUE.
        ENDIF.
    IF SY-SUBRC <> 0.
       MESSAGE E084.
    ENDIF.
      ENDLOOP.
      LOOP AT IT_CHDR.
        SELECT * FROM J_1IEXCDTL
                  INTO CORRESPONDING FIELDS OF IT_CDTL
                FOR ALL ENTRIES IN IT_CHDR
                         WHERE
                          TRNTYP = 'GRPO' AND
                          DOCNO  = IT_CHDR-DOCNO AND
                          DOCYR  = IT_CHDR-DOCYR AND
                          EXNUM  = IT_CHDR-EXNUM AND
                          EXDAT  = IT_CHDR-EXDAT AND
                          WERKS  = IT_CHDR-WERKS.
          IF SY-SUBRC = 0.
            APPEND IT_CDTL.
          ELSE.
            CONTINUE.
          ENDIF.
        ENDSELECT.
      ENDLOOP.
      LOOP AT IT_CDTL.
        CLEAR TEXT.
        DB_CNT = DB_CNT + 1.
        READ TABLE IT_CHDR WITH KEY EXNUM = IT_CDTL-EXNUM.
        READ TABLE IT_PART2 WITH KEY DOCNO = IT_CDTL-DOCNO .
        IT_OUT-SERIALNO = IT_PART2-SERIALNO.
        SELECT SINGLE NAME1 FROM LFA1
                        INTO IT_OUT-NAME
                        WHERE LIFNR = IT_CDTL-LIFNR.
        SELECT SINGLE * FROM LFA1
                          WHERE LIFNR = IT_CDTL-LIFNR.
        IF LFA1-LAND1 EQ 'IN'.
          TEXT = 'INVOICE'.
          IT_OUT-TEXT1 = TEXT.
        ELSE.
          TEXT = 'BOE'.
          IT_OUT-TEXT1 = TEXT.
        ENDIF.
        SELECT SINGLE * FROM J_1IMOVEND
                        WHERE LIFNR = IT_CDTL-LIFNR.
        SELECT SINGLE * FROM DD07T
                       INTO IT_OUT-DDTEXT
                        WHERE DOMNAME = 'J_1IVTYP' AND
                              DDLANGUAGE = 'EN' AND
                              DOMVALUE_L = J_1IMOVEND-J_1IVTYP.
      IF DD07T-DDTEXT = 'First Stage Dealer of indigenous excisable goods'
    OR
        DD07T-DDTEXT = 'Second Stage Dealer of indigenous excisablegoods'.
          DD07T-DDTEXT = 'Dealer'.
        ENDIF.
        IT_OUT-DDTEXT = DD07T-DDTEXT.
       ELSEIF DD07T-DDTEXT = 'Second Stage Dealer of indigenous excisable
    *goods'.
          DD07T-DDTEXT =
        CLEAR EBELN_T.
        SELECT SINGLE LFBNR FROM MSEG
                            INTO EBELN_T
                            WHERE MBLNR = IT_CDTL-RDOC2 .
        SELECT SINGLE * FROM MSEG
                          WHERE BWART = '106' AND
                                LFBNR = EBELN_T ."and
                               ebeln = ebeln_t.
        IF SY-SUBRC = 0.
          IT_OUT-DEL_IND = 'X'.
        ELSE.
          IT_OUT-DEL_IND = ' '.
        ENDIF.
        SELECT SINGLE BUDAT FROM MKPF
                          INTO IT_OUT-BUDAT
                          WHERE MBLNR = EBELN_T  ."MSEG-LFBNR.
        IT_OUT-EXNUM = IT_CDTL-EXNUM.
        IT_OUT-EXDAT = IT_CDTL-EXDAT.
        IT_OUT-EXCCD = IT_CHDR-EXCCD.
        IT_OUT-EXBAS = IT_CDTL-EXBAS.
        IT_OUT-EXBED = IT_CDTL-EXBED.
        IT_OUT-ECS   = IT_CDTL-ECS.
        IT_OUT-MATNR = IT_CDTL-MATNR.
        IT_OUT-MAKTX = IT_CDTL-MAKTX.
        IT_OUT-CHAPID = IT_CDTL-CHAPID.
        IT_OUT-MENGE = IT_CDTL-MENGE.
        IT_OUT-MEINS = IT_CDTL-MEINS.
        APPEND IT_OUT.
       EX_NO = IT_CDTL-EXNUM.
      ENDLOOP.
    Title Portion
      IF REGTYP_1 = 'A'.
        SET TITLEBAR 'BALAJI' WITH DB_CNT.
      ELSEIF REGTYP_1 = 'C'.
        SET TITLEBAR 'BALAJI1' WITH DB_CNT.
      ENDIF.
      AFIELD-COL_POS = 1.
      AFIELD-FIELDNAME = 'SERIALNO'.
      AFIELD-SELTEXT_L = 'INPUTS'.
      AFIELD-JUST = 'L'.
      APPEND AFIELD TO FIELDCAT.
      AFIELD-COL_POS = 2.
      AFIELD-FIELDNAME = 'TEXT1'.
      AFIELD-SELTEXT_L = 'TYPE OF DOC'.
      AFIELD-JUST = 'L'.
      AFIELD-DECIMALS_OUT = '0'.
      AFIELD-NO_ZERO = 'X'.
      APPEND AFIELD TO FIELDCAT.
      AFIELD-COL_POS = 3.
      AFIELD-FIELDNAME = 'EXNUM'.
      AFIELD-SELTEXT_L = 'DOC.NO'.
      AFIELD-JUST = 'L'.
      APPEND AFIELD TO FIELDCAT.
      AFIELD-COL_POS = 4.
      AFIELD-FIELDNAME = 'EXDAT'.
      AFIELD-SELTEXT_L = 'DOC.DATE'.
      AFIELD-JUST = 'C'.
      APPEND AFIELD TO FIELDCAT.
      AFIELD-COL_POS = 5.
      AFIELD-FIELDNAME = 'NAME'.
      AFIELD-SELTEXT_L = 'NAME OF THE SUPPLIER'.
      AFIELD-NO_ZERO = 'X'.
      AFIELD-JUST = 'L'.
      APPEND AFIELD TO FIELDCAT.
      AFIELD-COL_POS = 6.
      AFIELD-FIELDNAME = 'DDTEXT'.
      AFIELD-SELTEXT_L = 'TYPE-OF-SUPPLIER'.
      AFIELD-JUST = 'L'.
      APPEND AFIELD TO FIELDCAT.
      AFIELD-COL_POS = 7.
      AFIELD-FIELDNAME = 'EXCCD'.
      AFIELD-SELTEXT_L = 'ECC OF THE SUPPLIER'.
      AFIELD-NO_ZERO = 'X'.
      AFIELD-JUST = 'L'.
      APPEND AFIELD TO FIELDCAT.
      AFIELD-COL_POS = 8.
      AFIELD-FIELDNAME = 'BUDAT'.
      AFIELD-SELTEXT_L = 'INPUT RECV DATE'.
      AFIELD-JUST = 'C'.
      APPEND AFIELD TO FIELDCAT.
      AFIELD-COL_POS = 9.
      AFIELD-FIELDNAME = 'EXBAS'.
      AFIELD-SELTEXT_L = 'ASSESSABLE-VALUE'.
      AFIELD-DO_SUM             = 'X'.
      AFIELD-JUST = 'R'.
      AFIELD-DECIMALS_OUT = '2'.
      APPEND AFIELD TO FIELDCAT.
      AFIELD-COL_POS = 10.
      AFIELD-FIELDNAME = 'EXBED'.
      AFIELD-SELTEXT_L = 'DET OF CREDIT TAKEN CENVAT'.
      AFIELD-JUST = 'R'.
      APPEND AFIELD TO FIELDCAT.
      AFIELD-COL_POS = 11.
      AFIELD-FIELDNAME = 'ECS'.
      AFIELD-SELTEXT_L = 'DET OF CREDIT TAKEN E-CESS'.
      AFIELD-JUST = 'R'.
      APPEND AFIELD TO FIELDCAT.
      AFIELD-COL_POS = 12.
      AFIELD-FIELDNAME = 'MATNR'.
      AFIELD-SELTEXT_L = 'MATERIAL-CODE'.
      AFIELD-JUST = 'L'.
      APPEND AFIELD TO FIELDCAT.
      AFIELD-COL_POS = 13.
      AFIELD-FIELDNAME = 'MAKTX'.
      AFIELD-SELTEXT_L = 'DESCRIPTION'.
      AFIELD-JUST = 'L'.
      APPEND AFIELD TO FIELDCAT.
      AFIELD-COL_POS = 14.
      AFIELD-FIELDNAME = 'CHAPID'.
      AFIELD-SELTEXT_L = 'TARIFF-ID'.
      AFIELD-JUST = 'L'.
      APPEND AFIELD TO FIELDCAT.
      AFIELD-COL_POS = 15.
      AFIELD-FIELDNAME = 'MENGE'.
      AFIELD-SELTEXT_L = 'QUANTITY'.
      AFIELD-JUST = 'R'.
      AFIELD-DO_SUM             = ' '.
      APPEND AFIELD TO FIELDCAT.
      AFIELD-COL_POS = 16.
      AFIELD-FIELDNAME = 'MEINS'.
      AFIELD-SELTEXT_L = 'UOM'.
      AFIELD-JUST = 'C'.
      APPEND AFIELD TO FIELDCAT.
      AFIELD-COL_POS = 17.
      AFIELD-FIELDNAME = 'DEL_IND'.
      AFIELD-SELTEXT_L = 'Deleted'.
      AFIELD-JUST = 'C'.
      APPEND AFIELD TO FIELDCAT.
    * LAYOUT FOR ZEBRA CATLOG
      LAYOUT_IN-COLWIDTH_OPTIMIZE = 'X'.
      LAYOUT_IN-ZEBRA             = 'X'.
      LAYOUT_IN-GET_SELINFOS      = 'X'.
      LAYOUT_IN-CONFIRMATION_PROMPT = 'X'.
      LAYOUT_IN-DETAIL_POPUP = 'X' .
    SORTCAT-decimals     = '0'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM      = G_REPID
          I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
          I_SAVE                  = G_SAVE
          IS_VARIANT              = GS_VARIANT
          IT_FIELDCAT             = FIELDCAT
          IT_SORT                 = SORTCAT
          IS_LAYOUT               = LAYOUT_IN
          IT_EVENTS               = EVENTCAT
         I_BACKGROUND_ID         = g_back_ground
        TABLES
          T_OUTTAB                = IT_OUT.
    *&      Form  TOP_OF_PAGE_LIST_HEADER
          text
         -->LIST_HEADERtext
    FORM TOP_OF_PAGE_LIST_HEADER USING LIST_HEADER TYPE SLIS_T_LISTHEADER.
      DATA : HLINE TYPE SLIS_LISTHEADER,
             TEXT(60) TYPE C.
      CLEAR : HLINE,TEXT.
      HLINE-TYP = 'H'.
    WRITE 'ROOTS INDUSTRIES LTD' TO TEXT.
      HLINE-INFO = TEXT.
      APPEND HLINE TO LIST_HEADER.
      SELECT SINGLE * FROM T001W WHERE WERKS = WERKS.
      CLEAR : HLINE,TEXT.
      HLINE-TYP = 'H'.
      WRITE 'PLANT :' TO TEXT.
      WRITE WERKS TO TEXT+8.
      HLINE-INFO = TEXT.
      APPEND HLINE TO LIST_HEADER.
      CLEAR : HLINE,TEXT.
      HLINE-TYP = 'H'.
      WRITE T001W-NAME1 TO TEXT.
      HLINE-INFO = TEXT.
      APPEND HLINE TO LIST_HEADER.
      CLEAR : HLINE,TEXT.
      HLINE-TYP = 'H'.
      WRITE T001W-STRAS TO TEXT.
      HLINE-INFO = TEXT.
      APPEND HLINE TO LIST_HEADER.
      CLEAR : HLINE,TEXT.
      HLINE-TYP = 'H'.
      WRITE T001W-ORT01 TO TEXT.
      HLINE-INFO = TEXT.
      APPEND HLINE TO LIST_HEADER.
      CLEAR : HLINE,TEXT.
      HLINE-TYP = 'H'.
      WRITE 'DATE :' TO TEXT.
      WRITE BUDAT-LOW TO TEXT+7.
      IF BUDAT-HIGH NE ''.
        WRITE 'TO' TO TEXT+18.
        WRITE BUDAT-HIGH TO TEXT+22.
      ENDIF.
      HLINE-INFO = TEXT.
      APPEND HLINE TO LIST_HEADER.
    ENDFORM.                    "TOP_OF_PAGE_LIST_HEADER
    *&      Form  ALV_EVENT_INIT
          text
    FORM ALV_EVENT_INIT .
      CLEAR ALV_EVENT.
      ALV_EVENT-NAME = SLIS_EV_TOP_OF_PAGE.
      ALV_EVENT-FORM = 'ALV_TOP_OF_PAGE'.
      APPEND ALV_EVENT TO EVENTCAT.
      CLEAR ALV_EVENT.
      ALV_EVENT-NAME = SLIS_EV_TOP_OF_LIST.
      ALV_EVENT-FORM = 'ALV_TOP_OF_LIST'.
      APPEND ALV_EVENT TO EVENTCAT.
       CLEAR ALV_EVENT.
       ALV_EVENT-NAME = SLIS_EV_END_OF_LIST.
       ALV_EVENT-FORM = 'ALV_END_OF_LIST'.
       APPEND ALV_EVENT TO GT_EVENTS.
       CLEAR ALV_EVENT.
       ALV_EVENT-NAME = SLIS_EV_END_OF_PAGE.
       ALV_EVENT-FORM = 'ALV_END_OF_PAGE'.
       APPEND ALV_EVENT TO GT_EVENTS.
    ENDFORM.                    "ALV_EVENT_INIT
    *&      Form  ALV_TOP_OF_PAGE
          text
    FORM ALV_TOP_OF_PAGE.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          IT_LIST_COMMENTARY = LIST_HEADER
          I_LOGO             = 'ENJOYSAP_LOGO'.
    ENDFORM.                    "ALV_TOP_OF_PAGE
    *&      Form  BUILD_EVENT
          text
         -->P_GT_EVENTS[]  text
    FORM BUILD_EVENT USING P_EVENTS TYPE SLIS_T_EVENT.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          I_LIST_TYPE     = 0
        IMPORTING
          ET_EVENTS       = P_EVENTS
        EXCEPTIONS
          LIST_TYPE_WRONG = 1
          OTHERS          = 2.
      READ TABLE P_EVENTS WITH KEY NAME = SLIS_EV_USER_COMMAND INTO
    ALV_EVENT.
      IF SY-SUBRC = 0.
        MOVE GC_FORMNAME_USER_COMMAND TO ALV_EVENT-FORM.
        APPEND ALV_EVENT TO P_EVENTS.
      ENDIF.
      READ TABLE P_EVENTS WITH KEY NAME = SLIS_EV_BEFORE_LINE_OUTPUT INTO
    ALV_EVENT.
      IF SY-SUBRC = 0.
        MOVE GC_FORMNAME_BEFORE_OUTPUT TO ALV_EVENT-FORM.
        APPEND ALV_EVENT TO P_EVENTS.
      ENDIF.
    ENDFORM.                    " BUILD_EVENT
    Thanks,
    Shankar

  • Pulling fla source into director

    Does anyone know how/if you can pull a flash movie(s) into
    Director and edit them within Director?
    Here's the situation. I have three flash movies that I have
    the source for (fla) that make up a preloader, the main movie and
    an exit scene. I have been asked to convert the intanet web page
    into a CD for distribution. Is there any way that I can pull the
    FLA's into Director and be able to edit them from within the
    Director console? I do not just want to import the swf. I would
    like to be able to convert a Flash file into a dir file.
    Any help would be appreciated.

    I appreciate your help, Sean. So I can't pull the source into
    Director. I guess it's off to Amazon to pick up a Director Book.
    A (very) short overview:
    I have three swf movies that comprise a preloader screen
    (zipping images and whizbang text) that fades into the main
    interactive movie. The main movie is basically an in-depth web page
    (all 17mb of it) with images, text, and animations. When you click
    exit, you are directed to a third credits movie. This was all
    developed in Flash a while ago and has been periodically updated.
    Now, the 'boss' wants to be able to market what we've got
    when she's at conventions, meetings, etc. She likes the intranet
    page so much that she wants the content put on CD for distribution.
    I need to take out some of the proprietary stuff and add a few
    other links, e-mail addresses, change around some text and add some
    video clips.
    After researching, it seems that Director is a better way to
    go for this purpose than Flash. I guess I can still make the
    projector in Flash but the more that I read up on Director, the
    more that I am impressed with it's ability to easily distribute
    this kind of media.
    Not only that, but I guess that I am kind of proud of my
    creation. I like the fact that Director is so much harder to
    decompile than Flash.

  • Error when pasting 1K of text into a text area of tabular form

    This appears to be a bug to me, put please offer suggestions if you have them....
    Using apex with XE, I have created a table with two varchar2(4000) columns in them. The user will paste large blocks of text into one or both of them (e.g paste text copied from e-mail).
    I created a tabular form and set the two fileds to display as "text area". Insert and/or update works fine unless I paste more than about 1 to 1.5 kbytes of text into one of these fileds, in which case I get a page not found error with the following URL:
    http://127.0.0.1:8080/apex/wwv_flow.accept
    After the error page displays, I can hit the back button and then remove just enough text to get it to under the 1 to 1.5 kbytes and then either insert or update works fine.
    One more bit of info. If I create a single row form then it works fine, it is only the multi-row tabular form that seems to have this issue.

    I don't think the character set is the problem. I used a string of numbers 0123456789 and just copied and pasted it repeatedly to build up the text. The database character set is WE8MSWIN1252.
    Regarding the apache log. I have to admit that I don't even know if I'm running apache. I am using a newly installed Oracle XE on a laptop in order to get some experience with application express. This app is the first one I've done. If someone will direct me to the log then I'll be glad to check it and post the relevent contents.
    I signed up for an apex workspace and intend to see if I can recreate the error from there so I can see if the problem is just in the free version of apex that comes with the Oracle Express Edition for windows database.

Maybe you are looking for

  • KT4AV Big problems Please Help!!!

    I am having a few problems. I have just built a new computer here are the specs: AMD Palimino 1.9GHZ MSI KT4AV Winfast 128DDR 8X AGP 80GB Seagate Harddrive 128SDRAM I have tried booting this up and it boots up then after about 10 secs it just turns o

  • Help required in OIM 11g

    Hi Experts, I have to define Custom Admin Roles like "Customer Admin", "Employee Admin" ..in my OIM 11g. So that Customer admin can search only for customers..and Employee Admin Can search for only Employees... I have two organization: for eg: One is

  • HP 7280 all-in-one says ink cartridges are empty and will not print from PC, but it copies fine.

    Replaced 2 ink cartridges in hp 7280 but still says both cartridges are empty and will not print from PC, but it will copy fine.  When I try to print I get a error box that says "Ink cartridges empty - replace black and yellow ink cartridges to conti

  • MX: Annual Tax Declaration (Form 37) Complementary declarations

    Hi, about form 37 for Mexico, I would like to know which is the procedure to do complementary tax annual declarations? Best Regards

  • Converting Pagemaker 7.0 to InDesignCS2

    When we first purchased InDesign, it converted PMD files easily and with little trouble. Now that we're on CS2, I get the same error message every time I try and open an older PMD file. It says the document is damaged and cannot be recovered. That's