Smart forms include texts form me23n to smart forms

Hi,
I have built a smart forms and included standard texts from me23n into my smart forms using include text.
my problem is that if my text is not maintain for that particular header the heading should not get displayed for ease i'm writing my code:-
item text: include text ( itemno+ebelp)                              "this item text is built up using create ->text.
                                 ( ekpo)
                                 ( f 01)
                                 (lanuage)
item po text: include text ( itemno+ebelp)                          "this item po text is built up using create ->text.
                                 ( ekpo)
                                 ( f 01)
                                 (lanuage)
materail po text: include text ( itemno+ebelp)   
                                 ( ekpo)
                                 ( f 01)
                                 (lanuage)
if the text is not maintained for item text then it's heading that is "ITEM TEXT OR ITEM PO TEXT OR MATERIAL PO TEXT " should also be not diplayed in smart forms.
my code is able to get the data from me23n but i just want to put a condition for not displaying it's text heading also if it's data is not maintained

You can write a Select on STXH and check whether the text is available or not.
SELECT SINGLE * from STXH
  INTO wa
WHERE  TDNAME = ( itemno+ebelp)  
   AND TDOBJECT = 'EKPO'
   AND TDID = 'F01'
   AND TDSPRAS = LANG.
IF sy-subrc = 0.
  gv_text = 'X'.
ENDIF.
Then in Output conditions you check for this flag and display the text.
Thanks,
Shambu

Similar Messages

  • Adobe PDF Form: Include text in table

    Hi,
    Im kinda new to Adobe Forms, and this may seem like a very basic question.
    I have copied a standard SAP VAT invoice adobe form and Im making changes to it.
    I have added an "include text" (which has multiple lines) to an already existing table with multiple columns.
    The problem is that while the include text prints correctly when it expands, the entire table does not expand along with it.
    So when the include text goes into many lines, it exceeds the table boundary and overwrites other areas of the form.
    The table layout is like this .
    Column1                Column2 Column3 Column4 Column5 Column6 
    Inc text                    50$        1.00       PAID       DELIV
    Many Lines       -
    Line3
    Line4
    Line5
    Is there any grouping or somehting that i have to do?
    Thanks,
    John

    Basically, you need to create a pdf form.
    Add a text field to your form.
    There you can choose which font your want the text to appear in.
    The trick is, when you export from InDesign, in the "Advanced Tab" — set "Subset fonts when percentage…" to 0%, so the whole font embeds.'
    I believe there's an option in Acrobat to embed the font as well, but I'm not recalling what it it.
    But that will ensure the font appears correctly.
    d

  • How to change the police of form include text in so10?

    Hi everyone,
    In so10 when I created a text, how to change its police?
    Thanks!

    Hello,
    Jelena Perfiljeva :           in french the word "police" means "font" (example : Helve, courrier new etc...)
    wuyia nata : what is your language connection to SAP ?
    Cordialement,
    Chaouki.
    Edited by: me on Sep 5, 2008 10:22 PM

  • InfoPath form, rich text fields, "There was a form postback error" InvalidOperationException, There has been an error while processing the form

    Using InfoPath 2013 browser enabled form.
    I am getting the above error on ALL Infopath Designed Rich Text fields, where the "Cannot be blank" attribute is set.
    To reproduce it, I create a custom list and custom list form with InfoPath 2013. I add 2 Rich Text fields and enable "cannot be blank". To raise the error, I put some data in the RT field. Skip to another field (so focus is changed and a postback
    occurs), then back to original field to delete the contents (to raise the validation).
    I originally thought it was associated with the HTMLCHKR.DLL not being registered (and I have re-registered it just in case), but the exception I get from the ULS logs reads (it is from a list AFTER I have re-registered the DLL):
    There was a form postback error. (User: 0#.w|myDomain\jc, Form Name: Template, IP: , Request: h t t p ://MyWebApp/MySite/Lists/rtAfterHtmlCHkrReg/Item/newifs.aspx?List=2212ff41-77b4-445b-931b-d7e538c9da91&Source=h t t p://MyWebApp/MySite/Lists/rtAfterHtmlCHkrReg/AllItems.aspx&RootFolder=&Web=3db49106-bdca-47bb-b4cd-a549d2d86aa7,
    Form ID: urn:schemas-microsoft-com:office:infopath:list:-AutoGen-2015-01-16T21:51:48:853Z, Type: InvalidOperationException, Exception Message: No content generated as the result of the operation.) 8cc5e09c-3665-903b-575a-faaac506c40a
    I noticed that errors associated with the HTMLCHKR.DLL not being registered would have some sort of COM exception (example: TYPE_E_LIBNOTREGISTERED or REGDB_E_CLASSNOTREG)
    I also should mention that this problem started happening about 3 weeks ago. We have extended the web application to handle HTTPS on the intranet zone (we had a reverse proxy project that did not eventuate) - would that cause something? How can I do further
    checking?

    Hi,
    I have done a test in my SharePoint, and I met the same issue with you.
    I created a custom list and custom list form with InfoPath 2013. I added 2 Rich Text fields and enabled "cannot be blank".  I put some content in the RT field, then delete the contents, I got the error message:"there has been an
    error while processing the form."
    Here is a similar post said that executing the command: regsvr32 "C:\Program Files\Common Files\Microsoft Shared\
    OFFICE14\htmlchkr.dll" will solve the issue.
    https://social.msdn.microsoft.com/Forums/en-US/eb2e0f6e-c8e4-4e92-ac5e-a09d72759eda/rich-text-field-error-in-webform?forum=sharepointcustomizationprevious
    But I just disabled "cannot be blank", and it solved the issue.
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • How to INclude TEXT MOdule created in SForm?

    How to INclude TExt Module created in Samrt forms into a text node...?
    PLease explain.....ANy suggestions will be appreciated...
    REgards,
    Kittu

    Hello Netaji,
    IN general attributes, from the drop down menu. I had selected Text Module then It is asking me for the
    Name : zxxx(Name of the Text module created in SForm)
    Language : ENGLISH
    Selected the option - No error if no text exists
                         - ALways copy style from text module
    Then I had clicked on COPY button...Then it is automatically turning into Text Element
    It is showing nothing in that Text area. Am I going right?
    Please correct me....If I am wrong....I am trying to put this in Text node.
    I had created a Text module in the Smart form by selecting the Radio Button in Smart form.
    Please help....
    Regards,
    Kittu

  • Regading Including Text in Smart forms

    Hi gurus,
    In vf02 they are giving some text . that text is going and saving in STXL table. I want to include this text in smart form.
    After choosing include text in General attributes. I am giving
    text object is vbbk
    Text id is time
    language en
    but i don't know what i want to give in text name.
    so plz help me.
    S.Murali Naidu
    Edited by: Murali Sreerama on Feb 6, 2008 10:12 AM

    Hi,
    Please use this code:: (reward pts)
    DATA gt_text LIKE tline OCCURS 0 WITH HEADER LINE.
    DATA: gt_lines.
    REFRESH gt_text.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
       CLIENT                        = SY-MANDT
        id                            = 'your text id'
        language                      = sy-langu
        name                          = your billing doc no
        object                        = 'your obj id'
       ARCHIVE_HANDLE                = 0
       LOCAL_CAT                     = ' '
    IMPORTING
       HEADER                        =
      tables
        lines                         = gt_text
    EXCEPTIONS
       ID                            = 1
    LANGUAGE                      = 2
       NAME                          = 3
       NOT_FOUND                     = 4
       OBJECT                        = 5
       REFERENCE_CHECK               = 6
       WRONG_ACCESS_TO_ARCHIVE       = 7
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CLEAR: gt_line7,
    gt_lines.
    then to display that
    LOOP AT   gt_text.
    IF NOT gt_text-tdline IS INITIAL.
    CONCATENATE gt_line gt_text-tdline INTO gt_line SEPARATED BY space.
    ENDIF.
    ENDLOOP.
    Edited by: rohitaash sharma on Feb 6, 2008 10:22 AM

  • INCLUDE TEXT IN SMART-FORMS

    Hi,
    I m converting Sap-script into smart form.
    In SAP-script "Header'' window contain code like that:
    /:   INCLUDE &T024E-TXKOP& OBJECT TEXT ID ADRS LANGUAGE &EKKO-SPRAS& PARAGRAP >
    I need to use this logic in my Smart-form "Header" node.
    Plz tell me how can i use this logic without any error.
    It's very urgent.
    Thanks & Regards,
    Gaurav.

    Hello Gaurav,
    You need to create a text element for this. In the text element type, you have a drop-down where you select include text.
    There are corresponding boxes for OBJECT & ID where you type in TEXT & ADRS respectively.
    You gotto define 2 global variables: V_TXKOP & V_SPRAS which you have to populate from T024E & EKKO respectively.
    In fact its much easier than SAPscrits. In case of any issues do let me know.
    Regards,
    Suhas

  • Character format on include text in smart form ??

    hello,
    i want to apply a character format on my include text, as we do on text elements .. how to apply it on include text ??
    thanks..

    Hey dude ,
    Just go to the <b>output option</b> of the text and include the smartstyle, where you have mentioned the required charecter format. Before doing this you should have activated your smartstyle .
    Your problem will be solved.
    Regards,
    Kunal.

  • Smart Form Long Text

    Dear Guys
    I am trying to print long text stores at line Item of ME 23n Text Editor, in Smart From.
    I am calling a BAPI for reading Purchase requistion details. The itab is also showing complete paragraph of text. But when I write it on smart from, previw is not showing complete paragraph. Infact many space is still left in smart form column.

    Thnx Subramanian PL for replying.
    When user writes text in ME23N text field, he normally use Enter Key many times to go to next line but while displaying it on a smart form using a loop the text also breaks unexpectedly due to those Enter Key press by user,while still there is more space to write the text in a sigle line on smart form.
    To avoid above problem I first store all the text belong to a single papragraph in a variable string of smart from. But now when I try to display this text on smart from it is missing few last lines. Infact while debugging it, I can see that text is stored completely in variable.
    Message was edited by:
            Adnan Maqbool

  • How to assign standard texts assign dynamically to smart forms

    Dear Experts
    I need your help in adjusting the smart form texts dynamically. I will explain you the situation please revert me your valuable answers.
    1. I am integrating 12 smart forms using same program.
    2. Out of 12 smart forms 4 forms are having similar kind of template. Client is requesting like create one smart form template.
    3. By creating the standard texts you can assign the standard texts into smart form during runtime dynamically.
    4. Maintain all standard texts for smart forms in another custom table, during run time of the program you can assign the standard texts to smart form.
    5. Here my question is how to assign the standard texts to template texts dynamically ?
    Please revert me your suggessions.
    Thanks for your support.

    Hi Indra neel  ,
    You are maintaining all the standard texts in custom table right, u need to get standard text based on condition which works for your smartform
    than create text module in smartforms and change that to include text and give the variable name or internal tbale with field name in that text name fields and press (>) button and give the remaining fields in that than that will work dynamically

  • Search for texts and logos in smart forms

    Hi there,
    Does anyone know if there is a function module that can search for specific texts and logos in smart forms?
    Any response would be really appreciated.
    Thanks
    HW

    Hi
    I really doubt if there is any FM like that. But, you can always search the existing logos in the Appln Server, the tcode is SE78.
    Regards,
    Vishwa.

  • MS Word smart quotes don't paste the same into Forms 10g as Forms 6i

    Hi all,
    I have users who write text in Microsoft Word and then cut-and-paste it into Oracle Forms.
    After some prodding by the developers, the users have switched to using the 10G version of their application instead of the 6i version.
    As a background you should know that Microsoft Word uses Smart Quotes by default, which you can turn off. Smart Quotes are different ascii characters than the ascii 39 single quote and ascii 34 double quote.
    When the users cut-and-paste the Microsoft Word text into the Forms 10G field, the single apostrophe smart quote does not convert to ascii 39. I wouldn't be surprised about this except that in Forms 6i the form does convert the single apostrophe smart quote into ascii 39.
    So if the users use the 6i Form they can cut-and-paste and the form/database has the character as ascii 39. If the users paste into Forms 10G then the database shows the character as ascii 191 (hex 0xBF), which is an inverted question mark.
    Does anyone know of any settings in Forms 10g to revert back to 6i functionality for this?
    Thanks much,
    Troy

    I am afraid that Jan is right.
    And this might be a bit of a hassle, since it might affect your forms. If you are using some standard Windows lettertype in your forms, though, you should be OK.
    Bare in mind, that you the NLS_LANG.characterset will have to be compatible between database and forms (the latter at both compiletime and runtime).
    Good Luck!
    Remco

  • How to include text in Adobe Form

    Hi all,
    I am using adobe designer of ABAP workbench to design PDF form. Anyone has idea of how to include text in the form as what we often do on SAPSCRIPT and smarforms?
    Thanks in advance.

    hi,
        Got exact solution from this link - http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/400f06f3-cc2c-2c10-77ab-a98d2cfc194c&overridelayout=true
    Regards,
    Vinod

  • About include text in sapscript form printing

    hi experts:
        I am learning about form printing,the control command-include,for example:INCLUDE ZTEST OBJECT TEXT ID ST.
    the question is:how to ceate the text?
       thanks

    Hi,
    Standard text are used to include a Fixed Note or Rules or regulation document in SAPSCRIPT.
    You can include this text any where in your SAPSCRIPT, just by using include text.
    It is created in SO10 transaction, Where you can create the standard text. Object Name --> Starting with Z, Text ID --> ST, Language --> EN
    Just enter the text you want to display inside the editor and save it.
    Then go to sapscript editor --> in Menu Include --> Text --> Standard.
    It wil get included.
    Hope this may be useful..
    Regards,
    Prashant

  • Hyperion Planning form change not flowing through to Smart View

    Hyperion Planning 11.1.2 and Smaer View 11.1.2.
    I have a user that installed SV yesterday but has been using planning for years. I made a change on his planning form (just added an account) and he does not see this change in smart view. However, he does see the change when logged into Hyperion Planning in his form.
    One strange thing about this is the change shows for all hierarchies except for ones that he has loaded data to. So, for a hierarchy that has no data, it shows the form in SV how it is in planning. If he loads data to the hier, the form automatically switches back to how it was before the change, even when the planning form itself hasn't been changed.
    Here is what we have tried:
    Rebooted machine
    removed user security completely from plannng and added back
    checked for ghost instance in task manager or excel
    Opened new Workbook and opened form fresh
    remvoed connection, closed excel and all instances, new connection and open form fro mblank slate
    Nothing seems to be working. And I see the form how it is in planning. HE does not, he sees it the "old way" and ony for hier points that have data submitted to them. So, literally switches the view based on the POV.
    Any help would be greatly appreciated.
    Edited by: kplum12 on Jun 15, 2012 11:48 AM

    Hi,
    Sounds like in the smart list set up you set "#Missing Data Form Label:" to "Data Form Setting" change it to "Drop Down Setting" and it should be alright.
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • PI to XI Scenario

    Hi all, i have to send a Message from PI to Xi using Xi Adapter. BS => PI => XI => BS Both PI and XI are in differend SLD, so i define Xi as a Business Component in PI Integration Builder. The Communication Channel of Type Xi Adapter Receiver use  Ad

  • Why cant i open my itunes

    my itunes wont open what can i do

  • How to display checkbox that retrieve value from database?

    Hi, I have a problem, hope someone will help me. The problem is, I have 3 checkbox where contain different values. I will insert the values to db in array. When I retrieve the values, I got a problem to display it. Let say,my checkbox's value is: 1.c

  • Transaction code used to do e_recruitment

    hi wt. is the macros , functional module used in E_RECRUITMENT in abaphr. any program regarding program in this . kindly send . Thanks&Regards babasish

  • ITunes 11.0.5 Update and Airport Express AirPlay Issue

    After updating my iTunes to 11.0.5 I receive the following error whenever I try to connect to either of my two 1st Gen AirPort Express units: "An error occurred while connecting to the AirPlay device [Airport Express 1 or 2]. The network connection t