Condition for header text heading

Hi
in sales order smart form i have created text element(include text) for including header text named SPECIAL INSTRUCTIONS. i have proveded all the parameters like text name, text ID, Text object..
how can i restrict the heading for this text (i.e i want the heading special instructions to be appeared only when the text is maintained for that ID 
Regards
DB kumar

Hi,
You can not maintain a standard text without a single line.
But, by default, default paragraph , i.e. (*)  will come in that column which means an EMPTY TEXT LINE is entered.
If you want to check for the empty text line, then do  th efollowing.
1. insert code lines . Take a global field : flag type c.
tables: stxl.
select single * from stxl where TDNAME EQ 'ZTEST_RAM'.
if sy-subrc eq 0.
  if stxl-CLUSTR gt 81.  " when no line is maintained , stxl-CLUSTR = 81. else stxl-CLUSTR > 81.
    flag = 'X'.
  endif.
endif.
2. For Heading Text ,  Maintain condition with flag as u required.
Thanks & Regards,
Ram.

Similar Messages

  • Output Conditions for Header- with Item criteria

    Hi!
    We want to set up the Output conditions for delivery note per storage location.
    SAP has problems with reading it on the header level- as it is only on LIPS. Is there any easy workaround so it picks up the item field?
    Thanks!!
    Cheers
    Bea

    Hello Bea
    You may be able to acheive  this by doing the following:
    1) Add the field 'Storage Location'  (LGORT) to the filed catalog for output with the following activities:
         SPRO/IMG/Logistics Execution/Shipping/Basic Shipping Functions/Output Control/System Modifications for Output/New Fields
         For Output Control
    2) Then create a condition table for the new access:
       SPRO/IMG/Logistics Execution/Shipping/Basic Shipping Functions/Output Control/Output Determination/Maintain Output
       Determination for Outbound Deliveries/Maintain Condition Tables
    3) Then add the new condition table to the requisite access sequence:
       SPRO/IMG/Logistics Execution/Shipping/Basic Shipping Functions/Output Control/Output Determination/Maintain Output
       Determination for Outbound Deliveries/Maintain Access Sequences
    Please review OSS note 756688 which says that  you need to 'go to the item output screen before saving the document the header output is found'.
    It may be worthwhile to remain an output at item level with the same access also.
    OSS note: 756688 - Access sequence with item and header fields
    Hope this helps.

  • Conditional for a text input box NOT being null? Sorry for asking so many questions!

    Okay, here's the situation. I'm creating a simulation of a form on which there are several text input boxes, 7 of which are mandatory fields. I know I can use a conditional to check whether the box has nothing in it by creating a null variable with no value and doing "if [box variable] is equal to [null variable] then", but the problem is that the validation captions I need to show need to be shown in order, that is to say that the caption for entering a value for the first box will always be shown if that box is null regardless of the contents of other boxes, the second will be shown if that one is null and the first one isn't etc.
    When I was investigating this I noticed a post by Lilybiri saying that comparison with a null variable doesn't work for "not equal to" so I'm having a hard time figuring out how to show the captions based on priority. For example, to show the second caption I need to not only check whether the second box variable is null, but also whether the first one isn't.
    It gets pretty crazy further along the line where I get to the 7th mandatory field and need to check whether the first, second, third, fourth, fifth and sixth boxes are NOT null and whether the 7th one IS. Help!
    I did come up with one potential solution to this prior to posting: if I set a different advanced action for each input box losing focus which checks whether the variable is null and if so sets a "flag" variable to 0, and in the else set it to 1, I imagine I can then replace the "not equal to" with a check to that flag variable being equal to 1 (which means there is text in the box). I think this will work but I thought I'd check to see if there's an easier way first.

    No it DOESN'T require everything to be on one slide.  It just has to LOOK as if that's what it is.
    I would suggest that it doesn't really matter how many Captivate slides are involved in the final solution, as long as it works the same way (or as close as possible) to the original software that you are simulating.  Your users don't frankly know or care how you achieved the simulation.  I guarantee they won't be thinking of you or Captivate.
    In my experience, you can make creating elearning a lot more difficult than it needs to be in Captivate by trying to rebuild the app, rather than just simulating how it works. For example, thinking that if everything happened on one web page or screen in the app then it must also happen on a single slide in Captivate.  The fact of the matter is IT DOESN'T need to work this way.  And in some cases it might even be impossible to reproduce in Captivate this way.
    So the quickest path to a solution is often to use multiple slides, which has the advantage of allowing you to "fix" certain things on screen (e.g. the contents of fields already visited) by using READ ONLY variable output in transparent captions, focusing only on one element of the interface that the user can interact with on that slide.  It doesn't necessarily prevent you from moving back and forth between elements, just as you can in the original app.  But it is far easier to create and maintain.
    I'm not saying you wouldn't be able to pull this off on one slide in Captivate, but it is going to require a LOT of variables and Advanced Actions to build and debug.  So the term Rapid Elearning becomes something of a misnomer if it takes you a long time to complete one slide.

  • User Exit / BADI for Header Text in IW21

    Dear All,
    I have an requirement to update a header text of IW21 (Creating Notification) with some condition, ie., Header Text should be updated with different text (some information along with entered text) depends on Notification type and Functional Location.
    Is there any User Exit / Badi to do this ?
    Could any one help on this regard ?
    Thanks and Regards,

    Hi,
    Below are the exits for the Transaction Code - IW21.
    Exit Name Description
    IWO10026 User check on setting status 'Do not perform'
    IWO10027 User exit: Generate user-defined settlement rule
    IWOC0002 PM/SM notification: Check whether status change is allowed
    IWOC0003 PM/SM authorization check of ref. object and planner group
    IWOC0004 Change single-level list editing PM/QM/SM ALV settings
    IWOC0001 Create PM/SM notification: Determine reference object
    Check each which can server your purpose.
    May be EXIT_SAPMIWO0_020 might suit your purpose.
    Regards,
    Vijay V

  • Wht is TEXT ID for Header Text in a Purc. Order?

    Hi Experts,
    Am looking to dispaly the header text of my_purchase order into a report, by using READ_TEXT.
    But. am unable to figure out the TEXT ID for this HEADER TEXT for my_PO.
    So,
    1 - Wht is TEXT ID for it? ok, after some reasearch , i came to know that, its F01.......so, how to know the F01 is for header text? i know how to know this for sales order!!
    2 - In which tables stiores all thsese info?
    replies appreciated.
    thanq
    Edited by: SAP ABAPer on Oct 14, 2008 9:27 PM

    Rob's Suggestion is the best way to find that out.
    One other way is to Double click on the Text area. This will open a text editor.
    Then Navigate to Goto->Header. This should give you the required Info.

  • Freight cost condition for the whole purchase order (Header relation)

    Maybe you could help me out with the following difficulty regarding freight costs for the whole purchase orders from the mass maintenance transaction MEK1 for pricing conditions.
    I try to have one freight condition for the whole purchase order.
    For instance, I maintained in the transaction MEK1 for the condition FRA1 the key combination vendor and purchasing organization (table 44) and entered an absolute value of X EUR.
    Unfortunately this condition will not pulled as header costs in the purchase order, because I would have had defined an access sequence in the condition type, but this is not allowed for header conditions in general.
    Do you have any workaround to maintain an item condition, which works like a header condition, so that I am allowed to have an access sequence and be able to maintain MEK1?
    Any comments and help are very welcome.
    Many thanks in advance
    Sabrina

    Hi,
    Fright and discount conditions are called supplement conditon type and  they are always matained with main condition type.
    Please check PB00 condition type in m/06 transaction. You will find pricing procedure assinged as RM0002 to PB00 condtion type.
    So you can maintain fra1 and other supplement condtions in main condtion only in MEk1 trasnaction.
    By selecting the line item and then shift + F7 you can maintain fright or discount condtions for PB00 condition types with out having access sequence for supplement condtion types.
    Regards,
    shailesh Mackwan

  • Rounding difference in down payment for header condition

    We have header condition, marked as "group condition" for traqnsport. But when doing down payment the system calculates incorrectly - for example I enter transport $600 at header level, but because the system calculates it at item level and due to rounding, in the 50% down payment invoice it shows - 300.02. Obviously when the customer receives down payment invoice that says pay 50% of some amount and the amount to be paid is not actually 50% it would be a problem. How could this be solved? We tried modifying the form, but as the it reads values from the system which are incorrect that didn't help.

    Hello,
    Please check the customizing:
    Financial Accounting -> Accounts Receivable and Accounts Payable
        -> Business Transactions -> Down Payment Received -> Define
        Reconciliation Accounts for Customer Down Payments
    Regards,
    Raghavendra

  • Automatic Pricing for Header condition

    Hello,
    We have the following scenario.
    For an specific Sales Order type we need to charge (surcharge or a fee) a fix $$ amount at the header level. This amount should be charged only if the total value of the order is less then a fixed $$ amount.
    Also another condition is for a specific material group we need to charge a fix $$ amount and if this condition is selected then the other condition should not be selected.
    Eg:
    1) for all material with Material group AB we want to charge(via condition type) 100$ at the header level.
    we want this automatically at the header.
    2) For all Order type OR we want to charge(I will maintain a condition type) 200$ if the net value of that sales order is less then 5000$. This is not item specific but at the Order header level.
    We dont want to manually enter the condition type (surcharge).
    I know that for Header conditions we cannot have access sequence and condition records. Then how can the 100$ or 200$ charge condition type come automatically in the Sales Order if the total order value is less then 5000$.
    I can have a requirement but what about the condition Record and the access sequence for the Order type or the material group?
    Any Ideas?
    Thanks
    SAP Fan

    hello, friend.
    i have an hypothesis (which is merely a guess because i have not tried this recently), that it is possible to do this, but you have make your condition type both header and item, which means you get to assign an access sequence (enabling condition records).  but you must also "tick" the "group condition" in the condition type so that even if this is entered at item level, this applies to the entire document and will be distributed to the items.
    the group condition is supposed to be used for manually entered header conditions such as pallet discounts, and i think i might have done this for material groups, but do not recall if i've done this for order type or any other variable at one point.  please do us a favor and test it, and post your findings.
    regards!!!
    Edited by: jonathan y on Jun 1, 2009 3:08 PM

  • Table For Header Text Old Value

    Hi,
    Could Anyone helpme in finding the table for Header text of the PO , as We know  to find the current PO Header Text,by usinf th FM READ_text but i want to to find the header text for the po before Updated , Thanks in advance
    Regards
    Priyanka M Jain

    Hi,
    I believe that you need the text just after entering in PO during the runtime.
    just enter the text and go in the debugg mode, check for table text / textline in the global parameters and you will find the text.
    Hope this helps,
    Raj

  • How to display header title for 0MATERIAL texts in the query output?

    Dear Bwers,
    I have a requirement where i need to display headers titles for 0MATERIAL texts in the query output. (example "Material description"). Any ideas on how to do this?
    Thanks
    Raj

    Kamal,
    Its is as below:
    <b>Vendor</b>    <b>Vendor Name</b>
    1001 ---            Bright Industries
    1002 ---            Glow Industries
    I want to display the header title "Vendor Name" as the  title in the column instead of displaying the text without any header title.
    Thanks
    Raj
    Message was edited by:
            Raj Singh
    Message was edited by:
            Raj Singh

  • Why we cant have access sequence for header condition ?

    hi ,
    i have one query in pricing.
    Can we assign access sequence for header condition ? if yes how ?
    if not why ? please explain

    Hi there,
    It is always possible to have work around to solve issue without refer to OSS to change any programming coding.
    We want to have a freight charge appear on each sales order automatically according to some condition. Most of the time, this freight charge is a flat rate (if it is depend on qty or value, then we're so easy to set it in item level).
    In order to do so, we'll have one assumption. The item line number of sales order is auto running number, like 10, 20 and etc created by system and not manually input.
    Then we create a pricing condition type like other discount or charge in ITEM LEVEL with your selected condition like customer, sales office, country and etc. However, remember to add the sales item line as part of the condition of this pricing condition.
    Update the pricing procedure and create price condition record with say "10" for the sales item line. Since you'll have line number 10 for all sales order as first line (no mater it is a free of charge item or not). This new condition will generate a "freight cost" in the pricing procedure. And it is only apply to first line, therefore, we only get once of this charge for one order.
    Hope this is your case and it works with ours.
    Michael

  • Problem for Header text of Contracts

    Hi guys,
    a suggest:I have created in customizing a new header text and I want display and manage it on header of contract but when I create the contract see always the standard header texts 'release order text', 'header text','header note' 'pricing type' 'deadlines' but my own header text number 17 there is not.
    i have simply entered in customizing Contract>Texts for Contracts>Define Text Types for Header Texts and I have created the text with sequence numeber 17...how can I display it in header of contract?
    I have seeked for in this forum but in all messages on text I don't find this problem
    Thanks in advance
    Bye

    Hi,
    am adding up...........
    Please refer the below link......
    http://www.sap-advisor.com/abap-coding/sap-text-administration-and-info-records-for-purchase-orders/
    Hope it may help you...
    Venkat.

  • Pricing procedure for Header conditions in RFQ

    All SAP Gurus,
    From where system picks up the pricing procedure for header conditions for request for Quotation (RFQ) maintenance?
    Regards,

    Purchase order which you have defined for maket price determination.
    spro>MM>purchasing>conditions->define pricing determination procedure --->define calculation schema
    Regards
    Antony

  • Pricing procedure for contract conditions at header level and Item Level

    Dear Friends
    In Contract Sales Document Type [VOV8]in Contract section Pricing Procedure for Header and Item
    What is the function of it
    where we can mention list of Pricing Procedure here bec in standard only 3 pricing procedures is available
    Kindly Regards
    Arun

    To have Milestone Billing Plan at header level also, you can maintain Billing Plan 01 in Sales order type (T.Code: VOV8) & for Item level Billing Plan has to be maintained at Item Category Level (T.Code: VOV7).
    Regards,
    Rajesh Banka
    Reward points if helpful.

  • RECN: Conditions Tab: Header data for second section not appearing

    Hello,
    Need your kind advise please. I have entered a contract successfully. The contract type is Pay:Rates Payment. The contract has been successfully saved.
    The problem comes when I am trying to display the contract. Here is what's happening sequentially:
    Procedure 1
    1.  I am using TCode RECN and keying in the contract number.
    2. Upon pressing Enter, the General Data tab of the contract is opening.
    3. I am clicking on the icon to change the status from 'display' to 'change'. The mode successfully becomes the 'change mode'.
    4. I am clicking on the Conditions tab and I can see that the screen shows two sections. The top section shows the various conditions that I have created. The bottom section shows the details of the condition for the line item selected from the top section.
    5. I am making the necessary changes and successfully saving the changes made to the contract. Then I am pressing F3 and coming back to the main RECN screen.
    BUT:
    An error occurs when I modify the above procedure slightly.
    Procedure 2
    1. When I am entering the contract once more, the first screen that is opening is the Conditions tab of the contract (quite naturally as this was the last screen that i used just now).
    2. When I am then clicking on the icon to change the status from display to 'change', the system is issuing an error message "Please fill all the mandatory fields".
    3. Upon close examination i am finding that in the bottom section of the Conditions Tab (which is supposed to show the details of the condition on which the cursor has been selected in the top section) the field just above the 5 tabs (ie. Condition, Terms, Calculation, Distribution, Memo) is not populating with the name of the condition on which the cursor has been selected in the top section.
    4. Since this field is a mandatory field, the system naturally throws the error "fill up all mandatory fields".
    The point to be noted is that this field gets perfectly populated when i am following the procedure 1. But in the same contract, this field doesnt get populated and throws the error message when I am following the Procedure 2.
    Request you to please help me understand why in the procedure 2, the field is not getting populated.
    Regards.

    Hello Veman,
    Many thanks for the kind response. However in my case the problem is that when I am trying to go into the 'change' mode for an existing record (which has already been once successfully saved), it is STILL throwing the error message 'fill up all mandatory fields'. The only way to come out of the screen is to press the 'cancel' button.
    What is even more funny is that when I am trying to enter the contract directly using the menu RE Cntract - Change from the first RECN screen, then there is no problem coming.
    My question is WHY is the system throwing that error message when clearly there is no error existing in the record. I believe this will be a programming error. The problem that i am referringto matches very closely to the solution provided vide note number 1291666. The reason why I cant apply this note is because my SAP release is 600 whereas this remedy is for 602, 603 ans 604.
    Regards,
    Suvarghya Dutta

Maybe you are looking for