Item Positions

I have a form containing around 30 Items. All items will not be shown every time. It will depend on the value of a Select List
(with Submit) which determines which Items will be shown and which will be hidden.
I have set the conditions in all the items and are showing correctly depending upon the value.
I have taken 2 Items on each row of the page.
But the problem I am facing is when the some Items are hidden (due to condition) the position of other items is disturbed and the form looks awkward.
For e.g. I have following structure
ITEM1 ITEM2
ITEM3 ITEM4
ITEM5 ITEM6
If ITEM3 is hidden due to the condition ITEM4 goes the row1 after ITEM2 and the layout looks like
ITEM1 ITEM2 ITEM4
ITEM5 ITEM6
I want the structure to look like the following (the row should remain consistent):
ITEM1 ITEM2
ITEM4
ITEM5 ITEM6
Any suggestions are welcome.
ZRH

Hi,
You will need to add in something that fixes the widths for all four columns (each "column" of items has two columns - label and field). There are several ways you could handle this (I have answered a thread somewhere where I'm sure I've used DIVs to do this, but can't find it!), but try this:
Add in two "Display as Text (does not save state)" page items at the start of each section (ie, at the top of the form and immediately after the "Stop and start table" item) that specifies the column widths.
The label for each will be:
<div style="width:200px;"> </div>And the source (using Source Used: "Always,....." and Source Type: "Static Assignment...."):
<div style="width:500px;"> </div>Adjust the widths as required. As the widths of the columns are based on the widest content, you just need to specify widths wide enough to ensure that no content could make them wider.
The second item in each pair should have "Begin on new line" set to No.
Andy
ps - the gaps in the above DIV tags should be   but that doesn't seem to render in the code tags here?!?!
Edited by: ATD on Oct 8, 2008 10:19 AM

Similar Messages

  • How to add a new item-position to salesorder in dialog

    Dear all,
    i have a request to add a new item position to an existing sales order in dialog. The information I have are material number and quanity. After adding these infos the system should work like the user has added the line manually (Entered MatNr and Quantity and pressed Enter). All error messages and checks and rereading data should be processed. Any idea how to do this?
    Every help is welcome.
    Best regards
    Roman

    Maybe not exactly. The user jumps from an "extension" button to a dialog where he can select materials an quantity´s these should be added as new positions to the order.
    BR
    Roman

  • Adding item positions with reference to contract in sales order

    Hi all,
    I would be very grateful if some of you could help on this:
    I have a requirement to add lines with reference to a contract while the user is creating or modificating it via VA01 or VA02. The logic flow will be as follows:
    if the user enters a new item position with reference to a contract, and the qty entered exceeds the qty in the position selected of the contract, we have to skip the standard error message and try to spli the quantities in several positions with the same material in the contract.
    As an example:
    the contract 000000000001 has 5 lines:
    line     material       qty
    01       mat1           100
    02       mat1           50
    03       mat1           50
    04       mat2           n/a
    05       mat2           n/a
    if the user picks up the line 02 of the contract to create a new line in the sales order, and enters 180 as qty, the sap standard will raise an error, saying the qty has exceeded the contract qty. Ok, we have to skip that error (maybe could we set it as a warning??) and 'split' the qty as follows:
    in the sales orders, 3 lines will be created automatically
    line    material     qty
         mat1         100
         mat1         50
         mat1         30
    and of course, the released quantities in the contract must be updated: i.e the contract should be as follows:
    line     material       available qty
    01       mat1           0
    02       mat1           0
    03       mat1           20
    Any ideas? : )
    What i've done by the moment is to check is that 'split' is possible, in userexit_save_document. If not (e.g. if the user enters 220 for mat1 in the previous example), a custom error will appear. If it is possible, then the sales order will be created (only with the line the uswer entered) and I will trigger somehow a FM processed in background to modify the sales order.
    my question now is: how can i add lines to the created sales order, making reference to some contract lines?
    I've seen BAPI BAPI_SALESORDER_CREATEFROMDAT2 is used to create a document with reference, but can i use it to MODIFY an existing sales order?
    any help would be greatly appreciated.
    thanks a lot for your help.
    regards.

    Hello,
    there's a function module called 'BAPI_SALESORDER_CHANGE', which could change a sales order. The problem could be,that these BAPI's enque the salesorder. So if you start them in background via an userexit, you have to be sure that the salesorder is updated and dequeued by posting.
    An other way could be to use the exit 'userexit_check_vbap' in MV45AFZB. It's called after creating a new position or changing a position. All existing positions at that time in a internal table 'XVBAP', which you could change. (But be carefull, that you don't create an endless loop !).  
    The check about the contract quantity is in a form routine called 'vbep-wmeng_pruefen_folgebeleg(sapfv45e)'.
    Have a look into the form 'vbap_pruefen_ende' in FV45PFAP_VBAP_PRUEFEN_ENDE. There's the whole thing done including the call of the userexit.
    Regards Wolfgang

  • MIRO cannot changing amounts at item position.

    Hi,
    I'm trying to change amount in MIRO at item level.
    System allows this only for the first item position. The second position has the amount in grey so that
    I cannot perform the change of amounts at item level.
    Before a similar problem happened to tax code.
    Help
    Best regards

    pls take a look that while doing miro at extreme right position there is a term LAYOUT just opposite to where u input the PO/Scheduling aggrement.
    there at LAYOUT choose ALL INFORMATION.
    regards,
    indranil

  • Add field to item position overview of Purchase Order

    Dear SRM gurus,
    I'm working on a change request of a customer.
    They want to add a field to the item overview position of Purchase Orders.
    They are using SRM 4.0 in Extended Classic Scenario.
    When displaying the list of Purchase Orders only the headers are shown. When clicking on a header the item positions are shown below the header. In this item overview the customer wants a field to be added.
    The field to be added is the GL Account. The customer wants this field to be visible before opening the item of the Purchase Order.
    We already know which screen should be changed to display the field.
    The screen is SAPLBBP_PO_UI_ITS and screen number 4000.
    Is it possible to add fields to this screen?
    If it is possible, how can this be done?
    Thank you in advance for your support,
    Best regards,
    Jean-Pierre

    Is there a solution yet?
    At my company they also want  to add a column to block Items in Shopping Cart.
    The structures mentioned in the note are all in the item details but not in the overview.
    regards,
    Wim

  • MIRO trx adding item position

    Hi,
    how adding in MIRO an item position for unplanned costs?
    I woul like giving to users the possibility to post the above costs
    in <b>two ways simultaneously</b>:
    -Unplanned delivery costs are distributed among the invoice items;
    -Unplanned delivery costs are posted to a separate general ledger.
    Is this possible or not? If not, is possible doing that with a specific FI trx?
    Best regards

    Hey,
    Sorry about the delayed reply. I had trouble accessing my r/3 systems.
    First understand the "Other Unplanned Expenses" and "Unplanned Delivery Costs" are two different things treated differently by LIV. The only thing you CANNOT do simultaneously is the distribution of "Unplanned Delivery Costs" to invoice item (PO ref tab) and to Seperate G/L account. But you can post other costs simultaneously with PO line items in PO ref tab. Simulate the posting and make sure Debit/Credit Balance is ZERO.
    In IMG, you can set this at "Configure How Unplanned Delivery Costs Are Posted" activity under LIV-->Incoming Invoice (read the IMG documentation). This setting is Per CoCd.
    <u><b>For "Other Unplanned Expenses":</b></u>
    If you want to add additional invoice line you can add in the G/L tab. For example some misc expense to a cost center.
    <u><b>For "Unplanned Delivery Costs":</b></u>
    1.First enter the Unplanned Delivery Costs in the "Details" tab of the Invoice Header
    2. Maintain Account Determination (OBYC) for TE Key UPF (for Unplanned Delivery Costs). Find out from FI people what the G/L account they want affected in this case.
    Let me if this helped further.  

  • Item positioning

    Hi,
    how can I control item positioning? For example I would like to display html region in the middle of the screen and text area in this region above other items in the same region?
    Is there any possibility to control them with html?
    Thanks

    Hi Costas,
    i know this issue.
    the problem here is that usually the item moves when you have it on the "right" side on the form.
    the best is to place your added item on the left side of the form, than it will not move.
    thats the workaround iam doing ...
    or you catch the resize event and set the position again.
    regards
    David

  • Batch Input ME47 - Get Item position error

    I'm doing BDC to ME47 passing header and several positions in a RFC. The functional wants  the RFC inform which position
    caused the error. In the message table of the call transaction doesn't show any info of the position.
    I think it can't be done but any help will be appreciated.

    Hi,
    When you do the same steps manually you would be getting an error message. Are you able to interpret the item position number based on the error message ?
    If not, then it wont be possible to do so in the RFC as well. You may have to build some custom logic if you are able to intrepret it.
    Thanks,
    Best regards,
    Prashant

  • SRM - R3 item position mapping

    Hi all experts,
    the question is quite tricky; basically I have a report that, given a Purchase Order Number, must get the PO from SRM AND from the backend and do a comparison at item granularity.
    From the SRM side, the task is quite simple; I can use the BBP_PD_PO_GETDETAIL FM to retrieve all the data I need about the PO.
    The problem is: how to get a mapping (R3 <---> SRM)  for every single item position ?
    Thanks in advance

    Hi Federico,
    well the question is quite complex, in the sense that you must take into account eventual customizations that are strictly related to you SAP installation.
    Anyway... in my case: a PO have a "quite" standard header, so I assume I can skip the mapping process for this item; I just considered that only the PO number is sufficient to retrieve the order from both backend and SRM.
    How: in SRM --> BBP_PD_PO_GETDETAIL.
    In R3 --> BAPI_PO_GETDETAIL.
    My question was about items mapping so here's the solution I found... First of all; in my R3 and SRM system I can have 3 kind of items, say:
    - material items;
    - service items, that can be organized in hierarchies, so:
      - a father in a hierarchy;
      - a son in the hierarchy.
    I did as follows; I simply translated the R3 PO into SRM-like data structure, in order to work on the same fields. Then I simply proceeded with some mapping rule that, I must remember, are valid in my system, it's not an absolute mapping that works anywhere. In particular: my SRM system is really old and doesn't support natively service hierarchies, so that it has been implemented in a "custom" way. Anyway...
    Looping of the SRM_item table:
    How to see it's a material item? Field PRODUCT_TYPE is set to '01'.
    How to find the related R3 item? READ TABLE R3_item with key: PRODUCT_TYPE = '01' and SRM_item-EXT_DEM_SUBPOSID = R3_item-ZZXNUMBER.
    (here ZZXNUMBER is a custom field; in my system it represents the ordering number of the item in the purchase order... It's related anyway to the kind of item we're considering).
    Quite the same thing for a father in a service hierarchy:
    How to see it's a service item (father)? Field PRODUCT_TYPE is set to '02' and ITM_TYPE = 'HIER'.
    How to find the related R3 item? READ TABLE R3_item with key: PRODUCT_TYPE = '02' and SRM_item-ITM_TYPE = 'HIER'  and EXT_DEM_SUBPOSID = R3_item-ZZXNUMBER.
    (here ZZXNUMBER is a custom field; in my system it represents the ordering number of the item in the purchase order... It's related anyway to the kind of item we're considering).
    Quite complex mapping for a child in a service hierarchy... A child in my SRM system can be seen as an item which has PRODUCT-TYPE = '02' and ITM_TYPE = BLANK. There's however any way to map it directly to the corrispective R3 item... Moreover, my specs tell that not all the SRM items in a PO MUST be present in the corrispective R3 PO... this is indeed, a report to allineate both sys.
    This is a schema in pseudo-code:
    - if the SRM_item considered is a child...
    - find the father of the hierarchy in which the SRM_item is involved;
    - find the corrispective element in R3_item set;
    - go for an exact mapping using the mapping-between-position based on the fields ZZXNUMBER.
    Well, I know it is quite complex, also because of the fact these systems are really customized. Maybe the code that follows can help you understanding what I've done.
    Bye,
    Matteo
    LOOP AT srm_item INTO wa_srm_item.
        CLEAR wa_rowmap. " maptable that keeps index from the SRM_item and corrisp. ITM_item
        wa_rowmap-index_SRM = sy-tabix.
    * consider item position type
        IF wa_srm_item-PRODUCT_TYPE EQ '01'.
    * case 1: material
          READ TABLE r3_item INTO wa_r3_item WITH KEY PRODUCT_TYPE = '01' zzxnum = wa_srm_item-ext_dem_subposid.
          if sy-subrc = 0.
            wa_rowmap-index_R3 = sy-tabix.
          else. "if no pos. is found, it isn't present in R3 -> must be cancelled in SRM
            wa_rowmap-index_R3 = SPACE.
          endif.
        ELSEIF wa_srm_item-PRODUCT_TYPE EQ '02' AND wa_srm_item-ITM_TYPE EQ 'HIER'.
    * case 2: father in a service hierarchy
          READ TABLE r3_item INTO wa_r3_item WITH KEY PRODUCT_TYPE = '02' zzxnum = wa_srm_item-ext_dem_subposid.
          if sy-subrc = 0.
            wa_rowmap-index_R3 = sy-tabix.
          else. "if no pos. is found, it isn't present in R3 -> must be cancelled in SRM
            wa_rowmap-index_R3 = SPACE.
          endif.
        ELSEIF wa_srm_item-PRODUCT_TYPE EQ '02' AND wa_srm_item-ITM_TYPE EQ SPACE.
    * case 3: son in a service hierarchy
    *   look for the father in SRM
          READ TABLE srm_item INTO wa_srm_father WITH KEY NUMBER_INT = wa_srm_item-ZZXHIER ITM_TYPE = 'HIER'. "child refers to the corrisp. father thru the number_int field
    *   look for the father in R3
          READ TABLE r3_item INTO wa_r3_father WITH KEY PRODUCT_TYPE = '02' ITM_TYPE = 'HIER' ZZXNUM = wa_srm_father-ext_dem_subposid.
          if sy-subrc <> 0. "father's not on R3 anymore -> the son will not be on R3 too
            wa_rowmap-index_R3 = SPACE.
          else.
    *   go for the service item thru the father.
            READ TABLE r3_item INTO wa_r3_item WITH KEY ZZXHPOS = wa_r3_father-NUMBER_INT ZZXNUM = wa_srm_item-ZZXNUM.
            if sy-subrc = 0.
              wa_rowmap-index_R3 = sy-tabix.
            else. "the service item is not on R3 anymore
              wa_rowmap-index_R3 = SPACE.
            endif.
          ENDIF.
        ENDIF.
        APPEND wa_rowmap TO tbl_SRMmapR3.
      ENDLOOP.

  • Which Item Position for screws

    Hi,
    I want to create a PO. I don't know which Item position for materials "screws" I must give.
    Thanks
    Dede

    Hi
    You need explain your question clearly.
    Please find this link, may be helpful
    http://help.sap.com/saphelp_47x200/helpdata/en/75/ee0d9b55c811d189900000e8322d00/content.htm
    regards
    Srinivas

  • Change wrong item positions in region

    Hello dear Apex-experts,
    within a report region I want to have three items for Search-Fields. This works, but these fields cannot be placed, where I want them to be displayed. While switching over into the wysiwyg-mode at "items" everything looks like I want it to be. but the "real" form doesn't display it correctly.
    This is the WYSIWYG-positioning:
    "Anzahl Zeilen:"[P5_ROWS] [P5_GO]
    "Suche:"
    [P5_TYP_SEARCH][P5_Kurzname][P5_Langname]
    within the Report:
    [P5_TYP_SEARCH][P5_Kurzname_SEARCH]
    [P5_Langname_SEARCH]
    "Anzahl Zeilen:"[P5_ROWS][P5_GO]
    "Suche:"
    that means the P5_..._SEARCH-Fields are to far above and there is a linefeed between them.
    Does somebody know this problem? And what is to be done to solve it?
    I tried a lot with "new line" and "new field". Nothing worked.
    Thank you,
    Hergen
    Message was edited by:
    Heeschen

    Hi Patrick, hi BoilerUP,
    I did not forget this post but had worser trouble in between.
    There is a trick that solved the problem:
    We "framed" the items that have been displayed in wrong order by two items that are of the type :"Display as: Stop and Start Html Table (Display label only)".
    e.g.:
    Sequence# 100: Px_START_SEARCH : Display as: Stop and Start Html Table (...)
    Sequence# 110, 120, 130, ... : the other text fields ordered with criterias New Line, new field as desired.
    Sequence # 200 Px_STOP_SEARCH : Display as: Stop and Start Html Table (...).
    With Sequence # <100 we have some other items that from now on do not disturb our ordering.
    If I find the time, I will try to create an example at apex.oracle.com.
    But not now.
    Thank you Patrick,
    Hope to help you BoilerUP.
    Kind regards,
    Hergen.

  • Again submitting item position setting problem....

    Dear Apex communities;
    I have submitted this problem many time but I have not gotten any reply.
    Please resolve my little problem; I want to set apex item which created in form condition not in tabular form; but I want to set these item's position as I desire.
    Please tell me its simple solution in steps.
    Thanks in advance that reply will be in my favour.
    Shahab Ahmed Khan
    [email protected]

    Hello Shahab,
    I doubt if you "submitted this problem many time but I have not gotten any reply" because your user handle (which you should update to show your real name) shows only two posts... ;-)
    You can set the position of an item not the same way you can do in something like Oracle Forms, but you have to play around with the Page Item Properties like
    Begin on New Line
    Begin on New Field
    Rowspan
    Colspan
    and apart from that you can set any HTML Element property ...
    Try the above options and if it's not successful please describe (or draw) what you try to achieve.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    http://www.bloggingaboutoracle.org/
    http://www.logica.com/
    You can award this reply to your question by marking it as either Helpful or Correct ;-)

  • Item Position Relevant for Proforma Invoice

    Dear experts,
    In VOV7 I've put D in the filed for Billing relevance (relevant for pro-forma)
    But when I try to create the Proforma Invoice with VF01 (I'm sure that the Invoice type is a Proforma Invoice) the system give me the message  "The document is not relevant for billing".
    Could you help me?
    Where am I not right?
    Regards
    Max

    Hi
    1. As a suggestion i don't feel , changing the Item Category properties to create a pro-form invoice is right option. Unless that particular item category is always used to run a scenario where you create a Pro-Forma Invoice.
    2. If you want to create pro-form invoice first and then Final Invoice you have to choose the Option A in VOV7.
    3. Check as which pro-forma invoice you are trying to create, Order related / Delivery related.
    Thanks
    RB

  • New calculated item positioning

    Hi guys!
    Suppose I have a pivot table in whichI have only one column consisting of a multiple CASE function and then I build a New Calculated Item on this column.
    Graphically it looks like this, more or less:
    | CASE_CONDITION1 | CASE_CONDITION2 | CASE_CONDITION3 | CASE_CONDITION4 | NEW_CALCULATED_ITEM |
    Row1 | x | y | w | z | x+y |
    Row2 | ... | | | | |
    Is there a way ( I even tried to modify the XML in the advanced session but with no success..) to display the pivot table as following?
    | CASE_CONDITION1 | CASE_CONDITION2 | NEW_CALCULATED_ITEM | CASE_CONDITION3 | CASE_CONDITION4 |
    Row1 | x | y | x+y | w | z |
    Row2 | ... | | | | |
    Thanks a lot!!

    Graphically that looks bad!! Look at this please:
    http://s15.postimage.org/4nco7ox17/Imm.jpg
    Thanks!

  • PO tex at item position not transfer to backend

    Hi all,
    Is necesary any configuration or BADI activation to transfer PO item text to backend?? all PO data is transfer correctly except this information.
    any suggestions?
    Regards
    José Luis

    check SAP Note 1077978 Item text in PO is not transferred to backend
    rgds

Maybe you are looking for

  • How to get Formatted Mail Content through Java Application

    I am using a mail sending function in my applet code which is listed below: Main content is fetched from a format tool bar in JSP Page and it is passed as parameter to applet and it is used inside the mail content. Same content when passed and execut

  • Problem with iTunes ratings synchronization to iPhone/iPad

    iTunes 11.4.0.8 (Windows 8.1 64-bit) iOS 8.0 My problem: I use to manage my music library with itunes which i sync to my iphone (5s) and ipad (air). The devices are managed "manually", such that i just drag some albums to the device. When i rate some

  • How to resolve - LIBTUX_CAT:4053: ERROR: Routing function failed - error ?

    Hi, We are using TUX 8.1 and i am getting the error : LIBTUX_CAT:4053: ERROR: Routing function failed while invoking a tpforward call. My ubb file for the new service is below. "NewXXInqu" LOAD=50 PRIO=50 BUFTYPE="ALL" ROUTING="PARTITION" TRANTIME=90

  • Help with dual monitors

    I installed Arch on an old Asus MB, and have spent a couple days trying to get dual monitors working. The board is a P4S8X-X with no onboard video, an AGP slot, and six PCI slots. First, I tried using an AGP card together with a PCI card with no luck

  • IDOC FOR PRODUCTION ORDER

    Hi All, Iam very new in using idocs, my requirement is to create a outbound idoc for production order (create/change) ,I got the Message type  LOIPRO and idoc type LOIPRO01 there is no process code so i created a Z process code with FM (CLOI_MASTERID