Do I have to use these functions in

Hi all,
To update some fields of the transaction mm02, I have seen a program written and these functions have been used in this program:
data : sequence LIKE T133A-BILDS.
data : bildtab like MBILDTAB occurs 0 with header line.
data : bildtab2 like MBILDTAB occurs 0 with header line.
data : KSTATUS LIKE T130M-PSTAT.
data : TKSTATUS LIKE T130M-PSTAT.
data : kzdch like rmmg2-chargebene.
data : anzgstatus like T130M-PSTAT.
data : tkbstatus like T130M-PSTAT.
CALL FUNCTION 'T130M_SINGLE_READ'
  EXPORTING
   TCODE            = 'MM02'
  IMPORTING
   WT130M           = T130M.
CALL FUNCTION 'BILDSEQUENZ_IDENTIFY'
  EXPORTING
    TCODE_REF              = T130M-TRREF
    KZRFB                  = 'X'
  IMPORTING
    BILDSEQUENZ            = sequence.
CALL FUNCTION 'T133A_SINGLE_READ_AUSWG'
  EXPORTING
    AUSWAHLGRUPPE       = '01'
    BILDSEQUENZ         = sequence
  IMPORTING
    WT133A              = t133a.
CALL FUNCTION 'SELECTION_VIEWS_FIND'
  EXPORTING
    BILDSEQUENZ           = sequence
    PFLEGESTATUS          = t130m-pstat
  TABLES
    BILDTAB               = bildtab.
CALL FUNCTION 'MATERIAL_INIT'
EXPORTING
   TCODE                           = 'MM02'
   KZ_BERPRF                       = 'X'
   KZRFB                           = ' '
IMPORTING
   IT130M                          = t130m
   KSTATUS                         = kstatus
   TKSTATUS                        = tkstatus
   KZDCH                           = kzdch.
select single * from t134 where mtart = mara-mtart.
CALL FUNCTION 'ANZGSTATUS_SETZEN'
  EXPORTING
    AKTYP                  = t130m-aktyp
    MARASTATUS             = mara-vpsta
    T134STATUS             = t134-pstat
    TKSTATUS               = tkstatus
IMPORTING
   ANZGSTATUS             = anzgstatus
   TKBSTATUS              = tkbstatus.
For what purpose are these functions used?
Thanks.

By calling these Function modules - it is trying to identify the MM data tabs.
When you do a MM01, or MM02, you have different views for it like Basic data, Purch1, Costing , MRP etc. Think of a scnerio where you are trying to update a particular field of a certain tab.
Now the position and number of screens ( tabs ) keeps changing according to your config settings and material type. The whole idea of this code is to identify them.
You can simply run the FM 'SELECTION_VIEWS_FIND' after finding the corresponding data from tables T133A and T133M. You will get to see postition and list of tabs. So while doing a BDC on MM02 you already know - from the table control which row is to be selected.
hope it explains all your queries huh ?

Similar Messages

  • How to use these function modules

    Hi all,
    can anyone help that how to use these Function modules to update the status of a task, what are all the inputs i required to proceed
    1. FC_USER_AUTHORITY_CHECK
    <b>2. FC_USER_STATUS_CHECK
    3. FC_USER_STATUS_UPDATE</b>
    4. FC_USER_GET_CACTI
    5. FC_USER_CHECK_FOR_OUTPUT
    Thanks in Advance
    Ganesh

    Hi Rob,
    thanks for ur reply,
    but they are not clear what they are meant to be, I understood there are some flags needed to run the Function Modules 2 & 3 which are in bold...
    but how do i populate them.. i am not getting that..
    thanks
    ganesh

  • I have to use count function  in "if-else" condition in rtf tempelate

    I have a nedd to use count fucntion in my rtf fucntion in IF-ELSE condition like this :
    if
    (count INVOICE_LEVEL from xml where (INVOICE_LEVEL=SM_SUMMARY_LEVEL)) =  (count coloumn_A from xml ) --- if the count matches
    THEN print "NO DATA FOUND"
    else --- if not
    end if ;
    --------XML------
    <COMP123>
       <SM_SUMMARY_LEVEL>2</SM_SUMMARY_LEVEL>
      <SM_CHARGE_HEAD>2</SM_CHARGE_HEAD>
      <INVOICE_LEVEL>2</INVOICE_LEVEL>
      <RCVR_ADDRS3_PART1>SG</RCVR_ADDRS3_PART1>
      <RCVR_ADDRS3_PART2>ASIA ,</RCVR_ADDRS3_PART2>
      <TXN_CSTMR_REF>ABC-DEF</TXN_CSTMR_REF>
      <TAX_ID>PCT-ID</TAX_ID>
      </COMP123>
    <COMP123>
       <SM_SUMMARY_LEVEL>2</SM_SUMMARY_LEVEL>
      <SM_CHARGE_HEAD>2</SM_CHARGE_HEAD>
      <INVOICE_LEVEL>2</INVOICE_LEVEL>
      <RCVR_ADDRS3_PART1>SG</RCVR_ADDRS3_PART1>
      <RCVR_ADDRS3_PART2>ASIA ,</RCVR_ADDRS3_PART2>
      <TXN_CSTMR_REF>ABC-DEF</TXN_CSTMR_REF>
      <TAX_ID>PCT-ID</TAX_ID>
      </COMP123>
    can any one help me to write the correct syntax and logic for this .
    THANKS!

    I am using the below way but it is not working as desired it is always printing the derived value.
    <?xdofx:if (xdofx:round((to_number(to_char(SYSDATE,'JSSSSS'))-to_number(to_char(to_date(DOB_DATE, 'YYYY-MM-DD'),'JSSSSS'))) div 100000)) <= 30 then '(1-30)' else '(1-100)' end if?>
    Let me know if i missed anything..
    Thanks,
    Jana

  • I have a eMac PowerMac4 and use quarkXpress (v 5) and filmaker pro 6 (v 1) and will be purchasing a new iMac soon. Will I have problems using these programs?

    I currently have an eMac and will be buying a new iMac soon and need to use the QuarkXpress (have v. 5) and FileMakerPro (have 6 v. 1) software for a current formatted newsletter I produce. While I can get the latest version of FileMaker pre-installed by Apple, Quark is no longer available at Apple. If I purchase QuarkXpress 8 (I have read there are problems with v. 9), will I be able to add my current files to the iMac and have everything work?  Thanks.

    I found that the QuarkXPress (v. 5) has the ability to Export and Save As....
    I tried save as, but didn't see any way to have it saved as anything other than the Quark.
    I also have found this in a apple forum:
    This solved my questionRe: Will Quark 7.5 work with the new Lion upgrade?
    Aug 31, 2011 7:35 AM (in response to machttps)
    Have just installed Lion and Quark 7.5 works well plus Adobe CS3 with the Java Run updates etc very pleased with the new Lion from Appple.
    I don't understand how this poster could get Quark to work on Lion, I thought I read Quark requires rosetta to run it (or maybe the Fix for the end of August took care of that). However, this person had the 7.5 already, but I can only upgrade to a certain level while in Tiger, so this apparently is where the problem arises (?).
    I also have come across a disc to update Quark to 5.01, but that's not much I suppose.
    Any help is GREATLY appreciated!

  • What libraries are needed to use these functions

    Hey Guys,
    I have a short three line code,
    TTConnection conn;
    TTStatus stat;
    conn.Connect("DSN=MyDSN", stat);
    Just to compile & link this code what all libraries do I need ?
    I am using the following libraries,
    "-L C:\Dev-Cpp\lib -lttclasses70CS"
    "-L C:\Dev-Cpp\lib -ltten70.lib"
    "-L C:\Dev-Cpp\lib -lttdv70.lib"
    Is this ok
    - prashant

    It depends on whether the application is using client/server or direct mode connectivity to TimesTen.
    For client/server with TTClasses you need:
    ttclasses70cs.lib
    ttcl70.lib
    For direct mode you need:
    ttclasses70.lib
    ttdv70.lib
    tten70.lib
    If you want the application to dynamically use client/server or direct mode based on the DSN definition use:
    ttclasses70dm.lib
    odbc32.lib (Microsoft driver manager library)
    Note that there is a significant performance hit in using the driver manager.
    Chris

  • Where do I use These lock object FM's (Enqueue & D? and How do I use them?

    I created lock object for user defined table (zconsist). The system automatically created 2 FM's (Enquiue & Dequeue).
    I created a new TCode and accessing this with mulitple users to do some updates and inserts in that above table.
    I used INSERT ZCONSIST statement in 5 places in my program (4 include programs).
    Where do I use These FM's? and How do I use them?
    I mean before inserting which FM I need to use? after immediately what fm used?.
    every insert statemnt before i need to use the respective fm? so 5 places i need to call the respective FM is it right?
    thank in advance.

    Hi Sekhar,
    Lock objects are use in SAP to avoid the inconsistancy at the time of data is being insert/change into database.
    SAP Provide three type of Lock objects.
    Read Lock(Shared Locked)
    protects read access to an object. The read lock allows other transactions read access but not write access to
    the locked area of the table
    Write Lock(exclusive lock)
    protects write access to an object. The write lock allows other transactions neither read nor write access to
    the locked area of the table.
    Enhanced write lock (exclusive lock without cumulating)
    works like a write lock except that the enhanced write lock also protects from further accesses from the
    same transaction.
    You can create a lock on a object of SAP thorugh transaction SE11 and enter any meaningful name start with EZ Example EZTEST_LOCK.
    Use: you can see in almost all transaction when you are open an object in Change mode SAP could not allow to any other user to open the same object in change mode.
    Example: in HR when we are enter a personal number in master data maintainance screen SAP can't allow to any other user to use same personal number for changes.
    Technicaly:
    When you create a lock object System automatically creat two function module.
    1. ENQUEUE_<Lockobject name>. to insert the object in a queue.
    2. DEQUEUE_<Lockobject name>. To remove the object is being queued through above FM.
    You have to use these function module in your program.
    check this link for example.
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    tables:vbak.
    call function 'ENQUEUE_EZLOCK3'
    exporting
    mode_vbak = 'E'
    mandt = sy-mandt
    vbeln = vbak-vbeln
    X_VBELN = ' '
    _SCOPE = '2'
    _WAIT = ' '
    _COLLECT = ' '
    EXCEPTIONS
    FOREIGN_LOCK = 1
    SYSTEM_FAILURE = 2
    OTHERS = 3
    if sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    Normally ABAPers will create the Lock objects, because we know when to lock and how to lock and where to lock the Object then after completing our updations we unlock the Objects in the Tables
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    purpose: If multiple user try to access a database object, inconsistency may occer. To avoid that inconsistency and to let multiple user give the accessibility of the database objects the locking mechanism is used.
    Steps: first we create a loc object in se11 . Suppose for a table mara. It will create two functional module.:
    1. enque_lockobject
    1. deque_lockobject
    before updating any table first we lock the table by calling enque_lockobject fm and then after updating we release the lock by deque_lockobject.
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    GO TO SE11
    Select the radio button "Lock object"..
    Give the name starts with EZ or EY..
    Example: EYTEST
    Press Create button..
    Give the short description..
    Example: Lock object for table ZTABLE..
    In the tables tab..Give the table name..
    Example: ZTABLE
    Save and generate..
    Your lock object is now created..You can see the LOCK MODULES..
    In the menu ..GOTO -> LOCK MODULES..There you can see the ENQUEUE and DEQUEUE function
    Lock objects:
    http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    Match Code Objects:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
    http://searchsap.techtarget.com/tip/0,289483,sid21_gci553386,00.html
    See this link:
    http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
    Check these links -
    lock objects
    Lock Objects
    Lock Objects
    kindly reward if found helpful.
    cheers,
    Hema.

  • Do I have to use lock when I am reading data from a table

    Hi,
    When i am reading data from a table , do I have to set a lock on that table .
    Is it necessary for us to set the lock on a table when I am reading data from the table.
    When I am updating the table , do I have to set a lock on the table ?
    If yes, then what sort of lock-read lock,write lock or shared lock?
    Regards,
    Sushanth H.S.

    check it out,
    Lock objects are use in SAP to avoid the inconsistancy at the time of data is being insert/change into database.
    SAP Provide three type of Lock objects.
    - Read Lock(Shared Locked)
    protects read access to an object. The read lock allows other transactions read access but not write access to
    the locked area of the table
    - Write Lock(exclusive lock)
    protects write access to an object. The write lock allows other transactions neither read nor write access to
    the locked area of the table.
    - Enhanced write lock (exclusive lock without cumulating)
    works like a write lock except that the enhanced write lock also protects from further accesses from the
    same transaction.
    You can create a lock on a object of SAP thorugh transaction SE11 and enter any meaningful name start with EZ Example EZTEST_LOCK.
    Use: you can see in almost all transaction when you are open an object in Change mode SAP could not allow to any other user to open the same object in change mode.
    Example: in HR when we are enter a personal number in master data maintainance screen SAP can't allow to any other user to use same personal number for changes.
    Technicaly:
    When you create a lock object System automatically creat two function module.
    1. ENQUEUE_<Lockobject name>. to insert the object in a queue.
    2. DEQUEUE_<Lockobject name>. To remove the object is being queued through above FM.
    You have to use these function module in your program.
    check this link for example.
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    tables:vbak.
    call function 'ENQUEUE_EZLOCK3'
    exporting
    mode_vbak = 'E'
    mandt = sy-mandt
    vbeln = vbak-vbeln
    X_VBELN = ' '
    _SCOPE = '2'
    _WAIT = ' '
    _COLLECT = ' '
    EXCEPTIONS
    FOREIGN_LOCK = 1
    SYSTEM_FAILURE = 2
    OTHERS = 3
    if sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    Normally ABAPers will create the Lock objects, because we know when to lock and how to lock and where to lock the Object then after completing our updations we unlock the Objects in the Tables
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    purpose: If multiple user try to access a database object, inconsistency may occer. To avoid that inconsistency and to let multiple user give the accessibility of the database objects the locking mechanism is used.
    Steps: first we create a loc object in se11 . Suppose for a table mara. It will create two functional module.:
    1. enque_lockobject
    1. deque_lockobject
    before updating any table first we lock the table by calling enque_lockobject fm and then after updating we release the lock by deque_lockobject.
    Select the radio button "Lock object"..
    Give the name starts with EZ or EY..
    Example: EYTEST
    Press Create button..
    Give the short description..
    Example: Lock object for table ZTABLE..
    In the tables tab..Give the table name..
    Example: ZTABLE
    Save and generate..
    Your lock object is now created..You can see the LOCK MODULES..
    In the menu ..GOTO -> LOCK MODULES..There you can see the ENQUEUE and DEQUEUE function
    Reward if helpful

  • How can we use DECODE function in where clause.

    Hi Guys,
    I have to use DECODE function in where clause.
    like below
    select * from tab1,tab2
    where a.tab1 = b.tab2
    and decode(code, 'a','approved')
    in this manner its not accepting?
    Can any one help me on this or any other aproach?
    Thanks
    -LKR

    >
    I am looking for to decode the actual db value something in different for my report.
    like if A then Accepted
    elseif R then Rejected
    elseif D then Denied
    these conditions I have to check in where clause.
    >
    what are you trying to do?
    may be you are looking for
    select * from tab1,tab2
    where a.tab1 = b.tab2
    and
       (decode(:code, 'A','Accepted') = <table_column>
        or
        decode(:code, 'R','Rejected') = <table_column>
       or
        decode(:code, 'D','Denied') = <table_column>
       )

  • Using EveryNCallback function with a C++ class (not VB)

    Hello all,
    I am trying to incorporate one of the ANSI C examples into my code which contains C++ classes. I receive errors because of having to declare the EveryNCallback and DoneCallback functions as static to keep their C function signature. This of course is not allowable when using these functions as members of a class. Could anyone help please?
    Best,
    Paolo

    Firstly, thank you for the help. I have attempted to code the advice you gave but it still does not seem to compile properly. Can you suggest what is wrong with my code please?
    Here is the code I am trying to configure:
    forceDriver.h
    static int32 CVICALLBACK static_callback(TaskHandle taskHandle, int32 everyNsamplesEventType, uInt32 nSamples, void* callbackData);
    int32 EveryNCallback(TaskHandle taskHandle, int32 everyNsamplesEventType, uInt32 nSamples);
    int32 DoneCallback(TaskHandle taskHandle, int32 status, void *callbackData);
    forceDriver.cpp
    DAQmxErrChk (DAQmxRegisterEveryNSamplesEvent(taskHandle,DAQmx_Val_Acquired_Into_Buffer,2500,0,&forceDriver::static_callback,panel));
    **START TASK**
    int32 forceDriver::EveryNCallback(TaskHandle taskHandle, int32 everyNsamplesEventType, uInt32 nSamples)
           panel->(member_function);
    int32 CVICALLBACK forceDriver::static_callback(TaskHandle taskHandle, int32 everyNsamplesEventType, uInt32 nSamples, void* callbackData)
    forceDriver* static_object = static_cast<forceDriver*>(callbackData);
    return static_object->EveryNCallback(taskHandle, everyNsamplesEventType, nSamples);
    where panel is the object I have created. 

  • Find Processes,Notification Rules whether these functions exists in 11.5.9?

    We are not able to use these functions
    Find Processes, Notification Rules, Submit Requests, Universal In-Box, Worklist Portlet, Worklist Region.
    How we can know whether Oracle removed these functions in their menus.
    When searched in metalink not able to find any clues
    Thanks
    Mohan.

    hi,
    I just pruchased new lumia 620 with windows 8 update, and by using it, I will suggest if you are the person who want to personalize the phone according to your wish, and want products and apps or wants to see your files or folders or also goog quality photo with different picture quality options and then if you want a good sound quality form speakers as well as from earplug then please don't go for nokia lumia.. there are various phone in market some even cost less with great features and freedom.
    The question you raised in your post are 98% right..
    and one more thing, if still you want to go for it, you must have a 3g connection cause this phone does not work without internet.
    They are saying that in window 8 amber release, some fixes will be there.. but those fixes are only for social networking, more apps some extra option of network settings... but not useful...
    Rest is your will.. I am getting frustrated with this phone..
    thnks
    Samarjeet singh

  • Use SQL function to get the original order number using the invoice number

    Hi All,
    wondering is someone can help me with this challenge I am having?  Often I need to return the original order numbers that created the resulting invoce.  This is a relatively simple seriese of joins in a query but I am wanting to simplify it using a SQL function that can be referenced each time easily from with in the SELECT statement.  the code i currently have is:
    Use SQL function to get the original order number using the invoice number
    CREATE FUNCTION dbo.fnOrdersThatMakeInvoice(@InvNum int)
    RETURNS nvarchar(200)
    AS
    BEGIN
    DECLARE @OrderList nvarchar(200)
    SET @OrderList = ''
    SELECT @OrderList = @OrderList + (cast(T6.DocNum AS nvarchar(10)) + ' ')
    FROM  OINV AS T1 INNER JOIN
          INV1 AS T2 ON T1.DocEntry = T2.DocEntry INNER JOIN
          DLN1 AS T4 ON T2.BaseEntry = T4.DocEntry AND T2.BaseLine = T4.LineNum INNER JOIN
          RDR1 AS T5 ON T4.BaseEntry = T5.DocEntry AND T4.BaseLine = T5.LineNum INNER JOIN
          ORDR AS T6 ON T5.DocEntry = T6.DocEntry
    WHERE T1.DocNum = @InvNum
    RETURN @OrderList 
    END
    it is run by the following query:
    Select T1.DocNum, dbo.fnOrdersThatMakeInvoice(T1.DocNum)
    From OINV T1
    Where T1.DocNum = 'your invoice number here'
    The issue is that this returns the order number for all of the lines in the invoice.  Only want to see the summary of the order numbers.  ie if 3 orders were used to make a 20 line inovice I only want to see the 3 order numbers retuned in the field.
    If this was a simple reporting SELECT query I would use SELECT DISTINCT.  But I can't do that.
    Any ideas?
    Thanks,
    Mike

    Thanks Gordon,
    I am trying to get away from the massive table access list everytime I write a query where I need to access the original order number of the invoice.  However, I have managed to solve my own problem with a GROUP BY statement!
    Others may be interested so, the code is this:
    CREATE FUNCTION dbo.fnOrdersThatMakeInvoice(@InvNum int)
    RETURNS nvarchar(200)
    AS
    BEGIN
    DECLARE @OrderList nvarchar(200)
    SET @OrderList = ''
    SELECT @OrderList = @OrderList + (cast(T6.DocNum AS nvarchar(10)) + ' ')
    FROM  OINV AS T1 INNER JOIN
          INV1 AS T2 ON T1.DocEntry = T2.DocEntry INNER JOIN
          DLN1 AS T4 ON T2.BaseEntry = T4.DocEntry AND T2.BaseLine = T4.LineNum INNER JOIN
          RDR1 AS T5 ON T4.BaseEntry = T5.DocEntry AND T4.BaseLine = T5.LineNum INNER JOIN
          ORDR AS T6 ON T5.DocEntry = T6.DocEntry
    WHERE T1.DocNum = @InvNum
    GROUP BY T6.DocNum
    RETURN @OrderList 
    END
    and to call it use this:
    Select T1.DocNum, dbo.fnOrdersThatMakeInvoice(T1.DocNum)
    From OINV T1
    Where T1.DocNum = 'your invoice number'

  • IDOC to FILE(xml) graphical mapping using node function createIf

    Greetings All,
                My Scenario is Idoc to File(XML)
    Target Structure is 
                           MO_MAT_LAN....................(0: unbound)
                                LAN_KEY.......................(0 :1)
                                DESCRIPTION.................(0 : 1)
    Source MATMAS Idoc
                           E1MAKTM.........................(0 : 99)
                                SPRAS_ISO..................(0 :1) 
                                MAKTX..........................(0 :1)
    initially i had mapped E1MAKTM----->MO_MAT_LAN but i dont want target node MO_MAT_LAN to be created when the SPRAS_ISO is equal to EN
    I have tried using node function createIf but the node is geting created only once although the input stucture is having occurance more than 5.
    Can anyone please help me to achive this.
    Many thanks,
    Rohit

    U have to use:-
    SPRAS_ISO mak the context to E1MAKTM compare (Use equals) it with Constant function EN out put to be given to If without else and in then Give E1MAKTM and map out put of If node to MO_MAT_LAN.
    chirag

  • U00BFCan I use a function module as a driver program for sapscript?

    Hi,
    I have to use a function module as driver program for sapscript and there is no any value in the form (the data are not transferred)...
    but if I call the sapcript from a report with the same code as in my function module all the data are transferred OK.
    please, can you tell me if there is any problem in use of a function module in this case? is it impossible at all or is there any tip to apply?
    thank you all in advance.

    Hi,
    first of all it is possible to use a function module to process a SapScript form.
    The mistake on your side is probably the definition of the variables that you want to pass to the form. Please make sure they are defined as global (via SE37 --> Goto --> Global Data) then it should be working.
    In addition you could take a look at e.g. function module "PRINT_DUNNING_NOTICE". This is SAP standard and they are using it to print a SapScript form.
    Best regards
    Arno Speitkamp

  • How to use Substring function with Case statement.

    Hello Everyone,
    I have one requirement where I have to use substring function on the field for report criteria.
    E.G.
    I have Branch Name Field where I have all branch names information, Now some of the branch names are too big with some extension after the name .
    now i want to substing it but the character length varies for each branch.
    so is there any way where we can use case statement where we can define that if branch name character are exceeding some value then substing it with this length.

    Try something like this:
    CASE WHEN LENGTH(tablename.Branch_Name) > n THEN SUBSTRING(...) ELSE tablename.Branch_Name END
    where n is the number of characters you want to start the break.

  • How to use reuse_alv_variant  functions

    helo experts can any one tell me how to use these function modules
    REUSE_ALV_VARIANT_DEFAULT_GET,
    REUSE_ALV_VARIANT_F4,
    REUSE_ALV_VARIANT_EXISTENCE,
    WHAT IS THE CS_VARIANTS PARAMETER IN THESE FUNCTION MDOULES.
    HOW TO USE THAT?

    REUSE_ALV_VARIANT_DEFAULT_GET
    Text
         Read default layout (description only, w/o field catalog)
    Functionality
         Provides the default variant for the list specified in the structure
         parameter CS_VARIANT of a program.
    REUSE_ALV_VARIANT_F4
    Text
         Display variant selection dialog box
    Functionality
         Possible entries help, if the variant is defined explicitly as an input
         field on a screen. The selection must be specified by at least partially
         filling the parameter structure IS_VARIANT.
    REUSE_ALV_VARIANT_EXISTENCE
    Text
         Checks whether a display variant exists
    <u>CS_VARIENTS holds the information about varients like:</u>
    ABAP Program Name
    Mgt. ID for repeated calls from the same program
    Logical group name
    User name for user-specific storage
    Layout
    Description for layout
    Dependent variant entry vector
    Functionality
         This function module checks the existence in the database of a display
         variant passed in the interface.

Maybe you are looking for

  • SetCurrentRowWithKey return wrong key when range is not the first

    I have searchEmployees jsp with a read only table Employees (EmpResultsIterator) that have range navigation of 10 rows, and have selection enable, in the selection facet i create a button called edit with an af:setActionListener: From: #{bindings.Emp

  • No sound when exporting to quicktime

    Hi, I made a presentation in Keynote 08 and recorded some audio on top of it. But when I export the presentation to quicktime the audio is missing. How can I export the presentation with the audio. I checked export with audio. Thanks

  • Firefox always starts with default engine as IE engine. I have to revert it back to Firefox engine

    Default engine is IE Engine. I do not want this. As of now i have disabled the IE engine add on but I need to use it sometimes. so please suggest a way to change the default engine.

  • Text Editting

    I want my text to touch.  I'm trying to create a logo inside a circle, and I want the letters to touch, as I then plan on doing a clip mask so the letters have a picture on them.  I also want the letters to outline the circle.  i'm managed to warp th

  • High availability on wlc

    I have 2 WLC (5508), i configured the option for enable the high availability, but when the 2 WLC is working the mesh network is unstable, when only wlc is working the mesh is fine.