Placement of controls on existing SBO form

Hi,
Does anyone know what the "standard" is for the placement of new items on an existing SBO form?  Specifically I was curious if there was a particular area on a form that I could add buttons and not have to worry about interfering with existing SBO items.  There was an add-on I wrote for SBO 2004 in which I placed a button in the bottom right hand corner of the delivery screen.  Now in 2005 SAP has added their buttons in that position, so I have to reposition my buttons.  I would like it if I didn't have to recode my add-on each time a new version is released just to reposition buttons.  Any suggestions would be much appreciated.  Thanks.
Joe

Joe,
There is a document which is a UI Standards and Guidelines doc that is part of the Business One SDK that will give the standards for where controls on forms, font size, etc.  You can find that document listed here on SDN at ...
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/businessone/sdk/documentation/sdk articles 2005.htm
HTH,
Eddy

Similar Messages

  • Non-SBO Form Threading Complication ... Lost  oCompany

    I have created a non-SBO form using several controls not available through B1 in order to gather and manage data from my user community.
    However, I am experiencing great difficulty in using the SBObobsCOM objects to be able to save data collected using the native B1 business objects.  Specifically, I am attempting to save updates to existing Quotations and add new Quotations.  Later, I will update/add to our Business Partners from this form as well.
    The problem I am experiencing is that the new thread that is launched to manage the form does not inherit the oCompany object's paramters, which (in turn) prevents me from initializing new business objects, such as a Quotation.
    Do I have to reconnect to the system, initializing the oApplication object?  If so, how?
    My code follows.  Any ideas would be welcomed.  Thank you.
    Scott Young
    ==> CODE IS LAUNCHED BY A MENU BUTTON EVENT <==
                If (pVal.MenuUID = "B1SalesMgmtMenu" And pVal.BeforeAction = False) Then
                    Dim newThread1 As System.Threading.Thread
                    newThread1 = New Thread(AddressOf Launch_SalesMgmtCenter)
                    newThread1.IsBackground = True
                    newThread1.SetApartmentState(ApartmentState.STA)
                    newThread1.Start()
                End If
    ==> THIS SUBROUTINE IS RUN IN ITS OWN THREAD <==
        Private Sub Launch_SalesMgmtCenter()
            Dim oForm As frmB1SalesMgmtCenter
            oForm = New frmB1SalesMgmtCenter
            oForm.ShowInTaskbar = False
            oForm.ShowDialog()
        End Sub

    This code is contained within a B1 Add-On.  It is launched from a MenuItem event, as noted in the code.
    The Launch_SalesMgmtCenter() subroutine is placed within its own new Thread, as shown; so, it runs independent of the main Business One client process.  However, it doesn't seem to have the same context as the thread from which it was created.  Is there something I must do to initialize another oCompany and oApplication object in the new thread in order to be able to create a business object that I can add/update based upon the operations within the new form?
    Getting this new form working would be HUGE to our firm.  I would be very pleased to post a How-To guide with my code as a sample if we can work through these final issues.
    Thank you for your help!
    Scott

  • How to display html in SBO forms

    Dear Developers,
    I would like to know how can I display html content in a SBO form. Has anyone any experience in this theme?
    Html viewer in active x or else?
    I have a UDF with <html> code. Is it possible to showing content in B1 forms?
    Thank you in advance.
    Regards,
    Nghia

    simply add activeX WebBrowser control to yout form
    Dim oWebX As SHDocVw.WebBrowser
                oItem = balanceform.Items.Add("browser", SAPbouiCOM.BoFormItemTypes.it_ACTIVE_X)
                oItem.Left = 5
                oItem.Top = 55
                oItem.Width = 980
                oItem.Height = 495
                ' Create the new activeX control
                AcXTree = oItem.Specific
                AcXTree.ClassID = "Shell.Explorer.2"
                oWebX = AcXTree.Object
                oWebX.Navigate("about:blank")
                oWebX = Nothing
                GC.Collect()
    You may chnage the url (file) displayed there trhough oWebX.Navigate("url/file")
    Edited by: Petr Verner on May 7, 2010 7:04 AM

  • Error in SWWERRE "No personnel control record exists for accounting area 99"

    Dear Experts,
    The standard job for restarting of workflows with temporary errors , SWWERRE, has suddenly started failing.
    The message obtained in Job Log is "No personnel control record exists for accounting area 99".
    The Payroll Control Record for Payroll Area 99 does not exist as it is a non-payroll relevant area.
    There has been no change in HCM configuration or Job characteristics.
    What could have triggered these sudden failures.
    Please suggest.
    Regards,
    Shilpa A.

    Hi Shilpa
    This is not an issue with the report RSWWERRE (Job SWWERRE).
    It must be trying to pickup work items which are in Error State (temporary) - that item may have this data issue - Run Report RSWWERRE from SE38 and debug, you will come to know.
    Check if:
    1) The error WI belongs to TRIP (BUS2089)
    2) Put a break point in FORM SUB_ABRECHNUNG(SAPLHRTR) and run report RSWWERRE (if the work item is still in TEMPORARY ERROR SATE and has not converted to permanent error) ..... debugging should stop there if the above point is correct
    3) This will give you the Trip and Employee number - check if the data is consistent (BAPI_TRIP_CHECK_STATUS)
    4) This usually happens when you use &TRIP.AVSEXORADAUTHORITYLEVEL& in the binding (of the error step)
    if this is true, correct the data and it should work else delete those work items and restart the job (remember to correct the data to avoid future issues).
    If not,
    still the fist point holds true, "It must be trying to pickup items which are in Error State - that item may have the issue - Run Report RSWWERRE from SE38 and debug, you will come to know." Some errors are deep rooted and cannot be caught by the job
    Also check if note 1452535 is relevant for your release.
    Regards,
    Modak
    Message was edited by: Modak Gupta
    ............Also check thread:     ..
    http://scn.sap.com/thread/2021322

  • Can you control where a new form().show() pops up?

    hello
          i wonder if you can control where the new form().show() pops up. can i set it on the right button cornet for a specific form?
    or any other place? a specific point relative to screen's resolution?
    thank you again.

    Set the StartPosition property to Manual and then specify the location of the Form using the Location property. Please refer to the following thread for more information:
    http://stackoverflow.com/questions/17369159/setting-forms-location-when-calling-form-show
    Please remember to close your threads by marking all helpful posts as answer and then start a new thread if you have a new question.

  • Complete my album downloads the missing tracks but then does not place it with the existing tracks in iTunes. i have a single song bought sat on its own and an album with a track missing, any ideas?

    complete my album downloads the missing tracks but then does not place it with the existing tracks in iTunes. i have a single song bought sat on its own and an album with a track missing, any ideas?

    I had this same problem and started a thread, but for the most part nobody responded and those who did somehow didn't understand what the problem was.
    http://discussions.apple.com/message.jspa?messageID=11504935#11504935
    I'm sure the problem is sweat getting into the apple supplied headphone "remote." Basically even the smallest drop can slide down the wire and get into the unit.
    Unfortunately I haven't found a solution other than to get a Belkin remote adapter and some sport headphones. This doesn't give you voice over, but you can still control the volume, skip, etc.
    I've been doing this for a couple weeks now and it hasn't had a freak out since.

  • How to solve FRM-47023 No Such parameter named P_NAME exists in form

    Hello all,
    When i passing parameters from xxxx to yyyy i got the error message "FRM-47023 No Such parameter named P_NAME exists in form yyyy "..How can i solve this..
    In form xxxx I have one button named "view"..I write the following code in "when-button-pressed trigger" of view button..
    <code>
    DECLARE
    name varchar2(30);
    pl PARAMLIST:=GET_PARAMETER_LIST('PARAM');
    BEGIN
         select employee_first_name into name from employee where employee_id=2010101;
    -- Delete list if existing
    IF NOT ID_NULL(pl) THEN
    DESTROY_PARAMETER_LIST(pl);
    END IF;
    -- Create new
    pl:=CREATE_PARAMETER_LIST('PARAM');
    -- Add parameter for Mode
    ADD_PARAMETER(pl, 'P_name', TEXT_PARAMETER, name);
    -- Now call the second form, giving the parameter-list
    CALL_FORM('PARAM2',NO_HIDE,DO_REPLACE,NO_QUERY_ONLY,pl);
    END;
    <\CODE>
    In form yyyy i do the follwing..
    Add parameter named p_name..
    And in form yyyy I write following code in " New form instance trigger"..
    :block3.name:= :parameter.P_name;
    I run the xxxx form and click the View button shows the above error..
    Plese help me
    Edited by: Balraj on Feb 9, 2011 10:37 PM
    Edited by: Balraj on Feb 9, 2011 10:39 PM

    Hi;
    What is your EBS version?
    Similar error solved by note FRM-47023: No such parameter named G_QUERY_FIND exists in form FNDSCSGN [ID 106963.1]
    Please check note which could helps you
    Regard
    Helios

  • FRM-47023: No such parameter named REPORTSSERVER exists in form MY_FORM.

    Hi,
    After upgrade form to Forms [32 Bit] Version 10.1.2.0.2 (Production), I have come cross this following error when I try to run the from my form from developer in Windows through OC4J:
    "FRM-47023: No such parameter named REPORTSSERVER exists in form MY_FORM"
    The form works fine before upgrade. I did Google the message but I have not been able to find the solution for this problem. Some of my application forms work fine but many of the forms have the above error message when I started to run then from form builder.
    Could you help me to resolve this problem? Your help is very much appreciated!
    Michael

    Hi,
    What is the URL you are using for running the form? Check if it contains a parameter REPORTSSERVER (i.e if the url contains something like http://.....?otherparams=REPORTSSERVER=..).
    Or, if you are getting this error while doing a call/open/new_form, then check if the MY_FORM contains the parameter named REPORTSSERVER (by opening it in the forms builder, check the Parameters node). If it does not contain, create a parameter with the name REPORTSSERVER, compile the form and run it.
    -Arun

  • FRM-47023 No Such parameter named G_QUERY_FIND exists in form APXINWKB

    Hi,
    I am getting this error "FRM-47023 No Such parameter named G_QUERY_FIND exists in form APXINWKB" when I am opening Invoice Form.
    I tried a fix from Doc # 159023.1 but it didn't worked.
    Any suggestions?
    Regards,
    Neeraj.

    Hi,
    Have you applied any Payables patch recently that delivers a new version of the Invoice Workbench (APINWKB) form ? If yes, please check that you've applied all the post-reqs correctly. The problem you're hitting is most likely a faulty form delivered by some patch - which could potentially require yet another patch to fix the bug.
    Rgds,
    Rakesh

  • FRM-47023: No such parameter named PAR1 exists in form

    I have a form PARAMETER_PASSING with a command button
    On the button pressed trigger i have the following code
    DECLARE
         parList ParamList;
         parListName VARCHAR2(30):='tempParameterList';
    BEGIN
         parList:=Create_Parameter_List(parListName);
         IF NOT Id_Null(parList) THEN
              Add_Parameter(parList,'par1',TEXT_PARAMETER,'hi');
              --Add_Parameter(parList, 'par2', TEXT_PARAMETER, '20');
         END IF;
         Open_Form('X:\dbforms\PARAMETER_RECEIVING',ACTIVATE,NO_SESSION,parList);
    END;
    Now I have another form PARAMETER_RECEIVING on which WHEN-NEW-FORM-INSTANCE
    i have written the following code
    DECLARE
         parList ParamList:= Get_Parameter_List('parList');
         retValue VARCHAR2(15);
         parameterType NUMBER;
    BEGIN
         parameterType:=TEXT_PARAMETER;
         GET_PARAMETER_ATTR(parList, 'par1',parameterType,retValue);
         :block4.text_item5:=retValue;
         message(retValue);
    END;
    Now when I am running PARAMETER_PASSING form I encounter the following message
    FRM-47023: No such parameter named PAR1 exists in form PARAMETER_RECEIVING.
    I will appreciate any assistance in this regard
    cheers
    Dalbir

    In the form PARAMETER_RECEIVING you must create a parameter "par1" at design time.
    I hope this will help you.

  • Field T_STCD1 does not exist in form this erroe msg coming in smartform

    hi,
    in my smartform, if i give one set of input like, 1st qtr of 2008, vendor and compcode, its displaying the value.
    but if i give the input like 1st qtr of 2007, vendor and some other compcode its giving some error like
    field T_STCD1 does not exist in form .
    this error coming after printpreview and not displaying.
    how can i debug it.
    can any one help me...........plz
    its very urgent.
    thanks.

    report  zmm_vat_ex_cert message-id zz                        .
                             TABLE DECLARATION                           *
    tables:  bseg , tvko.
    *Intenal Tables Declarations                                           *
    types: begin of it_address_type .
            include structure zvat_vendor.
    types :end of it_address_type.
    types : begin of it_address_info_type.
            include structure zadrc_table.
    types: end of it_address_info_type.
    types : begin of it_desig_type.
            include structure zmm_vat_sign.
    types: end of it_desig_type.
    types: begin of it_bkpf_type,
          bukrs  type bkpf-bukrs,
          belnr  type bkpf-belnr,
          gjahr  type bkpf-gjahr,
          blart type bkpf-blart,
          bldat  type bkpf-bldat,
          xblnr type bkpf-xblnr,
          awkey  type bkpf-awkey ,
          end of it_bkpf_type.
    types : begin of it_bseg_type,
          bukrs like bseg-bukrs,
          belnr like bseg-belnr,
          gjahr like bseg-gjahr,
          bschl like bseg-bschl,
          mwskz like bseg-mwskz,
          shkzg like bseg-shkzg,
          wrbtr like bseg-wrbtr,
          sgtxt type bseg-sgtxt,
          end of it_bseg_type.
    types: begin of it_rseg_type,
           ebeln like ekpo-ebeln,
           ebelp like ekpo-ebelp,
           bukrs like bkpf-bukrs,
           txz01 type ekpo-txz01,
           wrbtr type rseg-wrbtr,
           end of it_rseg_type.
    data:begda type d, endda type d.
    types: begin of it_item_type.
            include structure zitem_vat.
    types:end of it_item_type.
    data: it_rseg type table of it_rseg_type,
           wa_it_rseg like line of it_rseg.
    data: gt_addr type table of it_address_type.
    data gt_addr_info type table of it_address_info_type.
    data gt_bkpf type table of it_bkpf_type.
    data gt_bseg type table of it_bseg_type.
    data:
          gt_tvko type standard table of tvko,
          gt_item type table of it_item_type,
          h_itab type table of it_bseg_type,
          it_desig type table of it_desig_type,
          temp_item type table of it_item_type .
    data:wa_addr like line of gt_addr,
         wa_addr_info like line of gt_addr_info,
         wa_bkpf like line of gt_bkpf,
         wa_bseg like line of gt_bseg,
         wa_item like line of gt_item,
         wa_h_itab like line of h_itab,
         wa_it_desig like line of it_desig,
         wa_temp_item like line of temp_item,
        wa_tvko LIKE LINE OF gt_tvko.
         wa_tvko type tvko.
         Data Declaration                                                *
    data: sumtotal type bseg-wrbtr, "rbkp-waers ,
          sl_no type zmm_vatex_sno-serial_no,
          fiscal_year type string,
          fm_name type rs38l_fnam ,
          w_q_flag(5),
          w_quarter type string ,
          close_date type sy-datum ,
          fiscal type sy-datum, fiscal_nxt type sy-datum,
          gv_belnr type bkpf-belnr,
          gv_gjahr type bkpf-gjahr.
    data: ca_quarter type i.
    data: l_adrnr type t001-adrnr.
    data wa_vatex_sno type zmm_vatex_sno.
    data: q(1).
    data: stdtext(25).
    S E L E C T I O N   S C R E E N                                     *
    selection-screen begin of block b1 with frame title text-s01.
    select-options: s_date for sy-datum obligatory no-extension.
    parameters : vendor type lfa1-lifnr obligatory ,
                 compcode type bkpf-bukrs obligatory.
    select-options taxcode for bseg-mwskz obligatory default 'VI'.
    selection-screen end of block b1.
    at selection screen
    at selection-screen on s_date.
      if s_date-low0(4) <> s_date-high0(4).
        message e023 with text-e01.
      endif.
    *get calendar quarter  using the month entered in From date.
    *calculate the fiscal year and quarter
      if s_date-low4(2) > '0' and s_date-low4(2) <= '3' .
        ca_quarter = 1.
        fiscal0(4) = s_date-high0(4) .
        fiscal_nxt0(4) = s_date-high0(4) - 1.
        concatenate  fiscal_nxt2(2) '-' fiscal2(2)  into fiscal_year .
        concatenate 'last quarter of year ' fiscal_nxt0(4) '-' fiscal0(4)
        into w_quarter separated by space .
        q = '4'.
      elseif ( s_date-low4(2) > '3' and s_date-low4(2) <= '6' ).
        ca_quarter = 2.
        fiscal0(4) = s_date-high0(4) + 1.
        fiscal_nxt0(4) = s_date-high0(4).
        concatenate  fiscal_nxt2(2) '-' fiscal2(2)  into fiscal_year .
        concatenate '1st quarter of year ' fiscal_nxt0(4) '-' fiscal0(4)
         into w_quarter separated by space .
        q = '1'.
      elseif ( s_date-low4(2) > '6' and s_date-low4(2) <= '9' ).
        ca_quarter = 3.
        fiscal0(4) = s_date-high0(4) + 1.
        fiscal_nxt0(4) = s_date-high0(4).
        concatenate  fiscal_nxt2(2) '-' fiscal2(2)  into fiscal_year .
        concatenate '2nd quarter of year ' fiscal_nxt0(4) '-' fiscal0(4)  INTO
         w_quarter separated by space .
        q = '2'.
      elseif ( s_date-low4(2) > '9' and s_date-low4(2) <= '12' ).
        ca_quarter = 4.
        w_quarter = '3rd quarter of year'.
        fiscal0(4) = s_date-high0(4) + 1.
        fiscal_nxt0(4) = s_date-high0(4).
        concatenate  fiscal_nxt2(2) '-' fiscal2(2)  into fiscal_year .
        concatenate '3rd quarter of year '  fiscal_nxt0(4) '-' fiscal0(4)  INTO
         w_quarter separated by space .
        q = '3'.
      endif.
    *get first and last day of quarter by fetching calendar quarter and year in FM
      call function 'HR_99S_GET_DATES_QUARTER'
        exporting
          im_quarter = ca_quarter
          im_year    = s_date-low+0(4)
        importing
          ex_begda   = begda
          ex_endda   = endda.
    *validate the input dates is start and end of quarter
      if  s_date-low <> begda or  s_date-high <> endda.
        message e023 with 'Enter quarter begin and end dates only'.
      endif.
    *get last day of next month. for close date
      endda = endda + 1.
      call function 'RP_LAST_DAY_OF_MONTHS'
        exporting
          day_in            = endda
        importing
          last_day_of_month = close_date
        exceptions
          day_in_no_date    = 1
          others            = 2.
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
         Start of Selection
    start-of-selection.
    *CNO is specific to a Quarter/ Company code/ Vendor.
      unpack vendor to vendor.
      clear:sl_no, wa_vatex_sno.
      select single * from zmm_vatex_sno into wa_vatex_sno where from_date
      eq s_date-low and to_date eq s_date-high and vendor eq vendor
        and  compcode eq compcode.
      if sy-subrc eq 0.
        sl_no = wa_vatex_sno-serial_no.
      else.
        select max( serial_no )  from zmm_vatex_sno into wa_vatex_sno-serial_no  WHERE
          from_date  eq s_date-low and to_date eq s_date-high and compcode eQ compcode.
        if sy-subrc = 0.
          sl_no = wa_vatex_sno-serial_no  + 1.
        else.
          sl_no =  1.
        endif.
        wa_vatex_sno-from_date = s_date-low.
        wa_vatex_sno-to_date = s_date-high.
        wa_vatex_sno-vendor = vendor.
        wa_vatex_sno-compcode = compcode.
        wa_vatex_sno-serial_no = sl_no.
        insert zmm_vatex_sno from wa_vatex_sno.
      endif.
    *data selection from bkpf by date,fiscal and compcode
      refresh gt_bkpf.
      select bukrs
            belnr
            gjahr
            blart
            bldat
            xblnr
            awkey
            into  table  gt_bkpf from bkpf
            where bukrs eq compcode and
            budat in s_date and gjahr eq fiscal+0(4).
      check not gt_bkpf[] is initial.
      refresh gt_bseg.
      select bukrs
             belnr
             gjahr
             bschl
             mwskz
             shkzg
             wrbtr
             sgtxt from bseg into table gt_bseg
        for all entries in gt_bkpf where
              bukrs eq compcode and
              mwskz in taxcode and
              lifnr eq vendor and
             belnr = gt_bkpf-belnr and
         gjahr = gt_bkpf-gjahr  and shkzg = 'H'.
    selection without vendor   and posting key 40     *
      refresh h_itab.
      select bukrs
             belnr
             gjahr
             bschl
             mwskz
             shkzg
             wrbtr from bseg into table h_itab
             for all entries in gt_bseg
             where bukrs = gt_bseg-bukrs and
             belnr = gt_bseg-belnr and
             mwskz = gt_bseg-mwskz and
             gjahr = gt_bseg-gjahr  and
             ( bschl = '40' or bschl = '21' ).
      if sy-subrc = 0.
    deduct the amount if posting key is 40 for PO based docs
        clear wa_h_itab.
        loop at h_itab into wa_h_itab where bschl = '40'.
          clear wa_bseg.
          read table gt_bseg into wa_bseg with key belnr = wa_h_itab-belnr.
          if sy-subrc = 0.
            read table gt_bkpf into wa_bkpf with key belnr = wa_h_itab-belnr.
            if wa_bkpf-blart <> 'KR'.
              wa_bseg-wrbtr = wa_bseg-wrbtr - wa_h_itab-wrbtr.
            endif.
            modify  gt_bseg  from wa_bseg
             transporting wrbtr where belnr = wa_bseg-belnr
             and bschl = wa_bseg-bschl  .
          endif.
          clear wa_h_itab.
        endloop.
    deduct the amount if posting key is 21 for non-PO based docs
        clear wa_h_itab.
        loop at h_itab into wa_h_itab where bschl = '21'.
          clear wa_bseg.
          read table gt_bseg into wa_bseg with key belnr = wa_h_itab-belnr.
          if sy-subrc = 0.
            read table gt_bkpf into wa_bkpf with key belnr = wa_h_itab-belnr.
            if wa_bkpf-blart = 'KR'.
              wa_bseg-wrbtr = wa_bseg-wrbtr - wa_h_itab-wrbtr.
            endif.
            modify  gt_bseg  from wa_bseg
             transporting wrbtr where belnr = wa_bseg-belnr.
          endif.
          clear wa_h_itab.
        endloop.
      endif.
    final internal table
      clear wa_item. refresh gt_item. clear wa_bseg.
      loop at gt_bseg into wa_bseg.
        read table gt_bkpf into wa_bkpf with key belnr = wa_bseg-belnr .
        if sy-subrc = 0.
          move :
           wa_bkpf-xblnr to wa_item-xblnr,
                wa_bkpf-belnr to wa_item-belnr,
                wa_bkpf-bldat to wa_item-bldat,
               wa_bseg-wrbtr to  wa_item-wrbtr.
        endif.
    *selections for item description
        refresh it_rseg.
        select  ekpoebeln ekpoebelp ekpobukrs  txz01 rsegwrbtr
          into table it_rseg
          from rseg join ekpo
          on rsegebeln = ekpoebeln
          and rsegebelp = ekpoebelp
          and rsegbukrs = ekpobukrs
            where rsegbelnr = wa_bkpf-awkey(10) and rseggjahr = wa_bkpf-gjahr AND
            ekpo~bukrs = wa_bkpf-bukrs.
        if sy-subrc = 0.
          loop at it_rseg into wa_it_rseg.
            wa_item-txz01 = wa_it_rseg-txz01 .
            if sy-tabix <> 1.
           wa_item-wrbtr = wa_it_rseg-wrbtr .
              wa_item-wrbtr = space .
            endif.
            append wa_item to gt_item.
          endloop.
        else.
          wa_item-txz01 = wa_bseg-sgtxt.
          append wa_item to gt_item.
        endif.
        clear: wa_bseg, wa_item.
      endloop.
    *if records not found give message.
      if  gt_item[] is initial.
        message e000(vz) with text-x01.
      endif.
    calculate the sumtotal
      loop at gt_item into wa_item.
        sumtotal = sumtotal + wa_item-wrbtr .
      endloop.
         Selecting supplier address                                     *
      select single * from tvko into wa_tvko where vkorg = compcode.
      append wa_tvko to gt_tvko.
      if wa_tvko-vkorg = '2014'.
        stdtext = 'Z_2014_SOFTEX'.
      elseif wa_tvko-vkorg = '2006'.
        stdtext = 'Z_2006_SOFTEX'.
      else.
        stdtext = wa_tvko-txnam_adr.
      endif.
      select lifnr
             name1
             name2
             ort01
             ort02
             pfach
             stras
             regio from lfa1 into table gt_addr
             where lifnr eq vendor  .
         Selecting sez address                                         *
    SELECT SINGLE adrnr FROM t001 INTO l_adrnr WHERE bukrs EQ compcode.
    SELECT name1
          name2
          city1
          city2
          post_code1
          post_code2
          street
          house_num1
          FROM adrc INTO TABLE gt_addr_info
          WHERE addrnumber = l_adrnr.
         Information for designation                                    *
      select  * from zmm_vat_sign into table it_desig where company = compcode
         Call Function module SSF_FUNCTION_MODULE_NAME                *
      call function 'SSF_FUNCTION_MODULE_NAME'
        exporting
          formname                 = 'ZMM_VAT_EX_CERT'
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
       importing
         fm_name                  = fm_name
    EXCEPTIONS
      NO_FORM                  = 1
      NO_FUNCTION_MODULE       = 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.
         Call Function module fm_name                                  *
      call function fm_name
        exporting
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
          doc_num                    = sl_no
          quarter                    = w_quarter
          date                       = s_date-high
          sumtotal                   = sumtotal
          close_date                = close_date
          fiscal_year              = fiscal_year
          ca_quarter             = q
          text_name             = stdtext
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
        tables
          itab                       = gt_item
          it_address                 = gt_addr
          it_infoaddress              = gt_addr_info
          it_designation             = it_desig
          it_tvko                   = gt_tvko
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 4
      OTHERS                     = 5
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.

  • Error while installing EnterpriseManager grid control on existing database

    Hi All,
    While installing Oracle EnterpriseManager grid control on existing database
    it asked for deconfig an existing database control and while doing this we got an error as follows
    Getting temporary tablespace from database...
    Could not connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ceserp.computechcorp.net)(PORT=1543)))(CONNECT_DATA=(SERVICE_NAME=GRID))): ORA-12514: TNS:listener does not currently know of service requested in connect descriptor (DBD ERROR: OCIServerAttach)
    Mar 15, 2010 11:14:10 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: stty: standard input: Invalid argument
    stty: standard input: Invalid argument
    stty: standard input: Invalid argument
    stty: standard input: Invalid argument
    Mar 15, 2010 11:14:10 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /u01/oracle10g_grid/DB10.2.0/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ceserp.computechcorp.net)(PORT=1543)))(CONNECT_DATA=(SERVICE_NAME=GRID))) -repos_user SYSMAN -action drop -verbose -output_file /u01/oracle10g_grid/DB10.2.0/cfgtoollogs/emca/GRID/emca_repos_drop_2010-03-15_11-14-10-PM.log
    Mar 15, 2010 11:14:10 PM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Error dropping the repository
    Mar 15, 2010 11:14:10 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Refer to the log file at /u01/oracle10g_grid/DB10.2.0/cfgtoollogs/emca/GRID/emca_repos_drop_<date>.log for more details.
    Mar 15, 2010 11:14:10 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error dropping the repository
    Refer to the log file at /u01/oracle10g_grid/DB10.2.0/cfgtoollogs/emca/GRID/emca_2010-03-15_11-13-15-PM.log for more details.
    Mar 15, 2010 11:14:10 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error dropping the repository
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:183)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:134)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:171)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:486)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1142)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:470)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:419)
    please help on this issue
    Thanks

    Based on the error below:
    Could not connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ceserp.computechcorp.net)(PORT=1543)))(CONNECT_DATA=(SERVICE_NAME=GRID))): ORA-12514: TNS:listener does not currently know of service requested in connect descriptor (DBD ERROR: OCIServerAttach)
    It looks like the installer can't connect to your existing database.
    Can you ensure that your listener is servicing the already existing database.
    lsnrctl status -> will list services
    Make sure the database you want to use as your repository is there.

  • Screen error while adding  table control to existing tab in BP screen

    Hi experts,
    Requirement: Add new section with table control in existing tab in BP screen. Purpose of creating table control is to add or delete multiple entries etc.
    To fill this requirement, we have created custom transaction with table control facility. When we run this transaction from SAP easy screen, we are able to add, delete and create multiple records to database.
    We have configured this custom program and screen in BDT (views) and saved.
    When we call BP transaction we are getting following error message.
    "Screen ZMOD_TEST1 0100 must be an Include screen (screen error)".
    We are not sure, the approach we have chosen is correct. Incase, any one of you come across this type of problem, please guide us to rectify.
    Thanks in advance.
    Venky

    Venky,
    If you are on CRM 4.0 or even 5.0, my approach to adding a table to business partner attributes would have been the following:
    - Use EEWB to generate the table extension
    - Modify the generated code/screens if what was generated did not meet you complete requirements
    However going back to your original question, if you add new screens for the BDT, then they must be "subscreens".  The screens you create for the BDT tool are always subscreens placed in a container by the BDT program.
    So your options are one:
    1.  Convert your screen to a subscreen and if you have coded all the BDT event function modules correctly it should work
    2.  Use EEWB to generate a new extension and make adjustments as necessary.
    Good luck,
    Stephen

  • Error in Control Framework in smart forms programms use GUI_DOWNLOAD

    IN VF02 smartforms ENTRY form , I add a function about save PDF at local PC. When I print the smartfomrs,There is ERROR message in update modules.
    IN SM13 can see the ERROR message.
    Function Module: RV_MESSAGE_UPDATE
    Status :Update was terminated
    Error details: FES 022: Error in Control Framework
    I USE GUI_DOWNLOAD FUNCTION  at my code. WHEN I mark it,no error message. I must use the Similar function.
    How do I solve this problem???

    Hello,
    Check the thread:
    Re: Error in Control Framework in smart forms programms
    Regards,
    David

  • Error in Control Framework in smart forms programms

    IN VF02 smartforms ENTRY form , I add a function about save PDF at local PC. When I print the smartfomrs,There is ERROR message in update modules.
    IN SM13 can see the ERROR message. 
    Function Module: RV_MESSAGE_UPDATE
    Status :Update was terminated
    Error details: FES 022: Error in Control Framework
    THE CODE:
    FORM processing USING proc_screen
                    CHANGING cf_retcode.
    ******I ADD THE CODE
           PERFORM DOWNLOAD_AS_PDF USING lf_fm_name
                                         ls_control_param
                                         ls_composer_param
                                         ls_bil_invoice
                                         nast
                                         repeat
                                         ls_bil_invoice-HD_ORG
                                         ls_spoolid
                                    CHANGING cf_retcode
    ENDFORM.
    IN DOWNLOAD_AS_PDF  FORM ,I USE FUNCTION : P_fm_name(smartforms function)   CONVERT_OTF   GUI_DOWNLOAD
    WHY the UPDATE MODULE have ERROR MESSAGE???
    How do I solve this problem???

    Hello,
    Your error message is related to GUI_DOWNLOAD, which is a frontend function.
    You simply cannot use it in background, because it puts a file on the
    frontend PC where you start the function (WS = WorkStation).
    Note that GUI_DOWNLOAD is intendted to be used for dialog user
    and will not run at BACKGROUND.
    You can review SAP Library: ABAP Programming (BC-ABA)
    ->Saving Data Externally
      ->Working with Files
        ->File Handling in ABAP
    Regards,
    David

Maybe you are looking for

  • 10.7.5 update does not let me use bluetooth

    I have the 10.7.5 update and my logitech mouse and keyboard are both bluetooth and just do not connect. It was working fine and it just tuned out the bluetooth a couple of days ago but started to work again after a hour but not i have restared my com

  • [JS CS3 Mac&Pc] Enabling automatic localization problem

    Hi all, I'm trying to enable automatic localization in my script, as described in 'Localization in ScriptUI Objects' section of 'JavaScript Tools Guide' for CS3 (pages 87-88). I try the first example and it works as expected: $.locale = "fr"; w = new

  • How to add a report into the SAP-SCRIPT .using PERFORM ......ENDPERFORM

    My question is that How to add a report into the SAP-SCRIPT . by using PERFORM ......ENDPERFORM I don't know how to used it .

  • Passing a Date variable to SQL

    Hi, I am trying to pass in a Date variable into SQL query, but I am getting this error: "inconsistent datatypes: expected DATE got NUMBER" and my code looks like this. I would appreciate any help on how I need to create the Date variable that SQL wou

  • QuickTime as Default Picture Viewer

    I am working on an HP PC using Windows Vista. I recently downloaded the new iTunes + Quicktime software. I mistakenly allowed Quicktime to be my default picture viewer/everything. I don't want that. What is the Windows version and how can I get that