Field symbol for order type

Hi all.
i have a condition on which i need to use the field symbol in which depending on the condition,my subscreen should be displayed.
i have SAPLMEGUI as a main standard program and MEPO_TOPLINE-BSART is a field which is attached to this std program.
Also,if this BSARt becomes UB(order type in purchase orders) then only it should go to subscreen.i tried doing it like below,but not getting solution.
please help.
data: GV_OKCODE_FIELD type char35 VALUE '(SAPLMEGUI)MEPO_TOPLINE-BSART'
FIELD-SYMBOLS <MEPO_TOPLINE-BSART> TYPE ANY.
ASSIGN GV_OKCODE_FIELD TO <MEPO_TOPLINE-BSART>.
IF <MEPO_TOPLINE-BSART> = 'UB'.
endif.

Hello,
You can try something like this:
FIELD-SYMBOLS: <FS> TYPE BSART.
ASSIGN COMPONENT BSART OF STRUCTURE MEPO_TOPLINE TO <FS>.
IF <FS> = 'UB'.
" Your Code
ENDIF.
BR,
Suhas

Similar Messages

  • Field selection for movement type 601 account 894025 differs for cutomer

    While posting goods after saving delivery merror message
    Field selection for movement type 601/aact 894025 differs for customer goods movement
    I tried OMJJ>Mvtmt Type>601>Field selection enjoy>601  KONTO  Optional field
    Now this is only happening in the cases where I have assigned free goods Inclusive 10MT. If the order is less than 10MT (that is if no free goods attached) posting is accepted & billing & account determination is processed successfully.
    I am unable to identify the reason though I have worked a lot on MM/Fico on the system.
    Please provide your valued inputs why this is happening?
    Thanks for your time.
    Rajiv

    Hi Raja,
    Thanks for prompt reply.
    I shall appreciate if you elaborate how to check
    check the Field selection goup in control tab for that GL 
    I tried OBC$--> (Is this correct?)
    I checked cost center field G004 -->Addl Act assignemtn -->Cost center which is Optional entry. Should I check any other items on the screen as I am unable to understand which field is applicable on a/c field.
    Profit center, cost object are  in G004 as supressed field.
    So should I make optional? So thing will work.
    Other Q should I also consider G025 Inventory adjustment account? As per error this a/c is not shown. So pl advise me steps or heading which I should consider.
    Thanks for yr time.
    Rajiv

  • Need Help in Field Symbol for Dynamically passing  table field value

    Hi All,
    In my internal table I am having data.
    I am dynamically forming table field name and substitute for the another table field name to pass DATA.
    but I am getting the Variable name insted of Value ie Data.
    I am using Field Symbol for this.
    data:
    Field-symbols <TS> type any.
    field1 type string.
    LOOP AT TABLEFIELDS INTO WA_TABLEFIELDS.
                READ TABLE  TEST  WITH KEY NAME = WA_TABLEFIELDS-FIELDNAME.
                IF SY-SUBRC = 0.
                  CONCATENATE 'WA_' WA_TABLEFIELDS-TABNAME '-' WA_TABLEFIELDS-FIELDNAME INTO  Field1.
                  Assign Field1 to <TS>.
                    ALL_VAL-VALUE = <TS>
    "After substituting the <TS>  into ALL_VAL-VALUE  field I need a DATA to be passed but the variable name is appending"*    
             APPEND ALL_VAL.
                ENDIF.
              ENDLOOP.
    kindly how to pass the value into the table.
    Thanks in advance.
    San

    Hi,
    pls assign a break point in
    CONCATENATE 'WA_' WA_TABLEFIELDS-TABNAME '-' WA_TABLEFIELDS-FIELDNAME INTO Field1.
    Assign Field1 to <TS>.
    ALL_VAL-VALUE = <TS>
       " Put a break point here and check for the value in <TS>.
    if <TS> contains value then create a work area for ALL_VAL AND PASS the Field-Symbol to that and then  append thw wa into the table...
    Hope this works out!!
    thanks

  • Number range for order type

    Hi Experts,
    Can anybody please help me,
    How to Maintain a number range for order type YB01.
    I have tried in CO82 but there is no assignment of order type YB01 to  any group.Please tell step by step.

    Hi,
    In CO82 only after creating the number ranges you need to assign it to group.Go to change group fist select the group and then click on your order type and select select element symbol and then click on element\group and then save it.
    refer this link
    http://help.sap.com/saphelp_45B/helpdata/en/35/71896486c2223ae10000009b38f984/frameset.htm
    hope it helps

  • Choosing fields as per order type

    hi friends...we have an requirement of making the fields mandatory according to the PM rder type.
    for e.g : we want to make the " equipment " field mandatory for all types of PM orders except "general order".
    actually as the tcode for creating the all types of PM order is IW31 , can we make the "equipment" field mandatory for all PM order type except when user create a general order for the equipment.

    Hi Achal,
    go to
    SPRO >>> Plant Maintenance and Customer Service>>>Maintenance and Service Processing>>>Maintenance and Service Orders>>>>Define Field Selection for Order Header Data (PM) >>>> (select) Field Selection for Order Header Data and Reference Object >>>> (select) Equipment Field >>> Double click on it >>>> (you wil find influencing field) order type (click on it)>>>>> (at top) New Value>>> Add you order type and required against them.
    Your problem will be solved.

  • FIELD SELECTION FOR MOVEMENT TYPE AND ACCOUNT

    Hi,
           I am trying to do the Post Goods Issue (PGI).
    But, the system is throwing an error as mentioned below.
    Field Selection for Movement Type 901 / Account 4070000001 differs for Customer Goods Movement (015)
    I made the Cost Center as Required Entry. But, there was no effect on the PGI.
    I could not make out the exact error.
    Please guide me properly in this regard and do the needful.
    Thanks in advance.
    Thanks & Regards,
    Srinivasa M.S
    +91-9910077829

    Hi,
    On the Error message detail, system will guide you to the Configuration details for Field settings for Movement type & Account, please get in touch with your FI consultant, to make the Field selection for the account similr to that of your movement type, this is a very common issue.
    Regards
    Chandra Shekhar

  • Order Reason ABC not defined for Order Type Retrun order

    Hi
    I am getting following " Message no. V1 899 " when i am  doing return order without refernce .
    Order reason is defined in customization but still we are getting the following message " Message no. V1 899 " /Order Reason E18 not defined for Order Type ZEF9.
    Can any one help me
    regards,
    kiran

    Hi Kiran
    As you have created sales order with document type ZEF9 but you have not taken any reference document then go to VOV8 and select ZEF9 and maintain  the order reason feild and then do the process
    Regards
    Srinath

  • Field Seletion for movement type  / acct differes for BA

    dear all
    while posting in MM the user is facing the problem and error message
    Field Seletion for movement type  / acct differes for BA
    please let me know if i can do some thing with Field status variant in FI
    I am not able to figure this out

    If you Run Program RM07CUFA in SE38 and compare movement  type  and GL you can see the
    comparison of the field status variant of the movement type and GL
    Hope this will resolve your issue
    Bilal

  • Document splitting causes field overflow for currency type 00 in row 003

    Hi ,
    Friends ,
    Our some of sales bills are stucking iduring  posting to finance after upgrading support packages, earlier there was no any problem.
    we are trying to post by tcode vf02 , it is throughing an error message
    Document splitting causes field overflow for currency type 00 in row 003
    Message no. GLT0004
    We are not getting any solution .
    We have raised a message to sap support , but not getting proper solution,
    Please guid us how can we solve this.
    SS
    Mobile no. 9810477923- Sundeep Gupta

    Thanks for all.
    we have solved this issue  after change some customization according sap support consultant reply as under.
    you have 3 different issues within your SD- new g/L interface.
    The most critical one is the fact that you substitute PRCTR and
    Segment assignemnts into line items to be processed by rule based
    split. This leads to the fact that you will only those cases will be
    able to post document in case the assignemnts are unique,
    which means no different kind of prctr, segment and business area
    assignments but only one single kind. This makes no sence at all.
    Please see my last reply regarding this most critical issue.
    This needs to be solved from Consulting point of view.
    Regards.
    SS
    Edited by: Lakshmipathi on Dec 22, 2010 12:21 PM
    When you say it is answered why you have closed the thread with Closed but Unanswered.  Please change it to "Answered".

  • Cannot find GR Slip output type in Outbound Delivery for Order type KA

    Hi Experts,
    We need to ,setup output type for GR Slip. for a delivery created for Order Type KA
    I am not able to find the Output Type in VL02N- Output (at item level).
    I have alreday created conition record in VV21 against the sales Org for output type WABS
    Please let me know if I am missing some thing
    pls help
    Regards,
    Shetty

    Hi
    Does the output type exist in the output procedure ? If yes, is there a requirement assigned to the output type and is this fulfilled ?
    Kind Regards
    Torben

  • Field symbols for tables used under tables tabstrip in bapi

    Hi all,
    I am created a bapi and under tables tabstrip i have given  3 tables,
    Inside the bapi , i have written a perform statement which returns these 3 tables .
    PERFORM bapi_sales TABLES it_valid it_error it_errorc USING testrun.
    how can we create field symbols for these tables ?
    Regards
    Nagarah

    hi,
    goto: system-utilities- debug system
    A.
    Message was edited by: Andreas Mann

  • Set up/maintain order type dependent parameters for order type PI01

    hello all,
    i would like to know how to set up/maintain order type dependent parameters for order type PI01 for a particular plant.
    thanks,
    maxx

    Hi Maxx
    Order types are maintained in T Code OPJH
    Thereafter go to T Code OPL8 to maintain there dependent parameters and assign it to desired plant
    Hope this helps
    Rgds

  • Lock the production order creating without material for order type zp01

    Hi all,
    Good morning.My client wants to lock the production order creating without material for order type zp01.He does not want to create production order without material.Its very urgent.Please guide me the settings if any.
    Thanks and Regards
    Sukumar

    Hi Sukumar,
    You can do by applying user exit.
    Use PPCO0007 - Exit when saving production order.
    Function module - EXIT_SAPLCOZV_001.
    Include Program - ZXCO1U06
    Write your Code:
    *&  Include           ZXCO1U06
    Regards,
    Sankaran

  • Document Splitting causes field overflow for currency type 10 in row 007

    Dear All,
    At the time of Invoice through FB60 system is showing the above error Document Splitting causes field overflow for currency type 10 in row 007  & Message No :  GLT0004.  What could be the reason. 
    Regards

    Dear Raj,
    Please refer below link
    Document splitting causes field overflow for currency type 00 in row 003
    Br,Vivek

  • Document splitting causes field overflow for currency type 10 in row 001

    Hi Experts,
    I come across below error, while posting an entry in to SAP.
    "Document splitting causes field overflow for currency type 10 in row 001"
    Request your help in resolving the above.
    regards,
    Gopala

    Dear expert
             Document Splitting causes field overflow for currency type 10 in row 007
             GLT0004 - Document splitting causes causes field overflow
    Regards
       Ajeesh.s

Maybe you are looking for

  • Okay, How do I Duplicate my Bridge Workflow?

    I shoot a Nikon D200. When I return to my studio, I import the files from my CF cards and convert to DNG in the process. The LR import does this well, so I can replace my Bridge import with LR. I then select the photos that I want to keep and adjust

  • Ipad crashes on syncing

    Since the upgrade to 4.2 I can't sync my Ipad. Every time i plug it in it starts the process and then crashes the Ipad, freezing the bar on Itunes. I have tried restoring the Ipad from the backup and I have also tried reinstalling itunes. I am runnin

  • Can"t Sync calandars with iCal os 10.5.x and Palm 755P

    No matter what I try the calandars won't sync. I have exported and re imported ical and address book databases, restarted the computer. I am also using mark space. I have had it work before many months ago so I know it's possible. I welcome any help.

  • Rearranging table rows in Indesign CC

    Using InDesign CC, my cursor is not changing to allow me to drag table rows or columns to a new order. What am I missing? I use the text tool, get the black arrow to select a whole column, move into that column and all I see is the insert text icon.

  • Solaris Cluster 4 with Solaris 11/11/11 -- LDOM farm

    Hi, In the 2011 Openworld, I had the opportunity to meet some of the Oracle cluster experts. In conversations, I found that when configuring LDOMs within a clustered environments, we could pass a complete "/dev/did/*dsk/d<num>" device directly to the