Exclude (a group) from background billing

We need to exclude one sales organisation from background billing (nightly batch job using varaints of SAPMV60S) because they have to produce invoices on a set range of pre-printed paper. Is this possible? (the sales organisation uses the same billing types as the other ones).

Thanks Leonardo.
But we have a large number of sales organisations. We do not set our billing variants by sales organisation (we would need to have 30 variations for each step!). I just need to have a way to exclude one sales organisation from the billing process, while still flagging the fact that it has been considered for billing and rejected.
We do a similar thing for scheduled billing customers, where a job using a different program (RV60SBAT) considers a group of customers against their billing calendars and only bills them if the day is a valid billing day on the calendar. This job is run before the normal billing steps, and prevents the customers being considered for billing afterwards. But again, I can't find a way for the program to check all orders and deliveries due for billing for a sales organisation and NOT BILL them !

Similar Messages

  • Exclude Organisational groups from Transfer

    TDMS & HCM
    When I execute the Task "Exclude Organisational groups from Transfer" in "Configuration and Selection" --> "Customizing",I receive the next error : "You do not have the PE03 authorization for the object S_TCODE". User offiadm has SAP_ALL and SAP_TDMS_MASTER in the control system.
    Thank's in advanced
    Francesc Segura

    Regarding Exclude Organisational Groups from Transfer
    activity assign PE03 to S_TCODE authorization object. This authorization
    needs to be given for Sender system user.

  • Excluding users/groups from site statistics

    Hi,
    I want to exclude users/groups (eg. the portaladmin user, developer accounts etc.) from the default site statistic reports shipped with Portal, because they obfuscate the data. Any suggestions?
    Thanks, Tony

    Tony,
    unfortunately I don't have an answer for you, but I'd like to extend your question.
    In my opinion, the default monitoring tools are non-usable and full of bugs.
    I therefore would like to see a description of the WWLOG% views and tables, to be able to wite my own custom reports and graphs. Oracle docs mention these views to do so, but don't tell how these views can be used.
    I'm trying over a month now to get the descriptions, but oracle support doesn't get an answer from development.
    So please, give us pointers to custom monitoring documentation.
    Ton

  • Is there a way to exclude certain groups from my contacts so those birthdays don't show up in my calendar?

    I like the birthday button in iCal, but it is pulling in birthdays from every contact that I have a birthday for in my addressbook.  I have a sub-group that all have birthdays, but I don't want to see those birthdays in my calendar as they are not a group of people I have to deal with on a regular basis.  I don't want to delete those birthdays and lose the data, but I don't want to see their birthdays in my calendar (over 400 people).  Is there any way to exclude certain people's birthdays from my address book?

    The birthday calendar lists all contacts that have a birthday listed in the birthday field.  You would have to do something like cut and paste this data into the notes field of the contacts you wanted to exclude from the birthday calendar in order to keep this data without showing them in your birthday calendar.

  • Exclude a server from background processing of a job

    I have a background job that runs slowly on only the Central Instance on the database server host.  The 6 other application servers run the same job in half the time.  How can I configure this job to run on all but one application server?  Is there some kind of background group that can be designated?  How can I change the background processing priorities?

    Hi,
    Set all btc jobs on CI to class A ? ( make sure you plan as B or C for this job)
    This should handle your both questions:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/ef/2c513897110872e10000009b38f889/frameset.htm
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/c4/3a7f53505211d189550000e829fbbd/frameset.htm
    switch opmode temporary if needed:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/c4/3a5f1f505211d189550000e829fbbd/frameset.htm

  • Exclude Development Servers Group from SCOM notifications

    Hi,
    In my environment SCOM monitors and alerts on both production, acceptance and some development servers as well as some network devices, custom application management packs and so forth....
    Is there a way to only send notifications for all new critical alerts other than the development servers?
    I have found a way to create a dynamic development server group in SCOM using AD OU but am not able to exclude it from our critical notification subscription.
    We still want to see the alerts in the console and monitor health of the development servers - just don't want to get email alerts about them.
    Any ideas?
    Thanks

    If you want don't want to get email alerts about dev servers , you can create Custom group to all servers and Exclude Dev Group.
    In Scom email notification assign it by Select Condition raised by any instance of a specific group and of a specific severity
    http://www.opsconfig.com/?tag=scom-2012-notification-subscriptions
    If you want to exclude this group from any alert in console, you can refer below link
    http://thoughtsonopsmgr.blogspot.com/2010/07/challenge-how-to-exclude-certain.html
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical | Twitter:
    Mai Ali

  • Print smartform from background

    Dear Experts,
    I have requirement to create delivery then create bill automatically so i open background job from program (A) and submit the creating program for bill (B) via this job what happened is the delivery creating is ok, the delivery printing is ok and the billing creation is ok but the billing printing program (C) is not ok where the spool is creating with status waiting so can any body help how to print from background job??
    program (A) (Create backgroundjob and submit program via it)
    FORM USEREXIT_SAVE_DOCUMENT.
    DATA: jobcount TYPE tbtcjob-jobcount,
          new_time type TBTCJOB-SDLSTRTTM.
    data : p_vbeln TYPE likp-vbeln.
    DATA : v_JOB_WAS_RELEASED LIKE  BTCH0000-CHAR1.
    break rurik.
    if T180-TRTYP = 'H'
      and ( likp-lfart = 'ZDCF'
    or    likp-lfart = 'ZDCI'
      or    likp-lfart = 'ZDCO'
      or    likp-lfart = 'ZDCP'
      or    likp-lfart = 'ZDCR'
      or    likp-lfart = 'ZDOB'
      or    likp-lfart = 'ZDOT'
      or    likp-lfart = 'ZDQT'
    or    likp-lfart = 'ZDRE' - Ian
      or    likp-lfart = 'ZDSO').
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname               = 'SD_AUTOMATION'
      SDLSTRTDT             = NO_DATE
      SDLSTRTTM             = NO_TIME
      JOBCLASS              =
    IMPORTING
       JOBCOUNT               = jobcount
    CHANGING
      RET                   =
    EXCEPTIONS
       CANT_CREATE_JOB        = 1
       INVALID_JOB_DATA       = 2
       JOBNAME_MISSING        = 3
       OTHERS                 = 4.
    SUBMIT zsd_create_billing_document
            with vbeln EQ LIKP-VBELN
            AND RETURN
            VIA JOB 'SD_AUTOMATION'
            NUMBER jobcount.
    new_time = sy-uzeit + 10.  "short delay
    CALL FUNCTION 'JOB_CLOSE'
      EXPORTING
        jobcount                         = jobcount
        jobname                          = 'SD_AUTOMATION'
       STRTIMMED                       = 'X'
        SDLSTRTDT                        = sy-datum
        SDLSTRTTM                        = new_time
    IMPORTING
        JOB_WAS_RELEASED                 = v_JOB_WAS_RELEASED
    EXCEPTIONS
       CANT_START_IMMEDIATE              = 1
       INVALID_STARTDATE                 = 2
       JOBNAME_MISSING                   = 3
       JOB_CLOSE_FAILED                  = 4
       JOB_NOSTEPS                       = 5
       JOB_NOTEX                         = 6
       LOCK_FAILED                       = 7
       INVALID_TARGET                    = 8
       OTHERS                            = 9
    ENDIF.
    ENDFORM.
    Program B (Creat bill)
    REPORT zsd_create_billing_document
           NO STANDARD PAGE HEADING LINE-SIZE 255.
    TABLES: vbup, vbak, vbuk.
    DATA:   bdcdata LIKE bdcdata    OCCURS 0 WITH HEADER LINE.
    DATA done(1).
    PARAMETERS vbeln TYPE likp-vbeln.
    DATA  sal_vbeln TYPE vbeln..
    DATA  messtab LIKE TABLE OF bdcmsgcoll WITH HEADER LINE.
    DATA   billing_doc TYPE vbeln.
    DATA  messagetext(200).
    MESSAGE s002(zsd).
    WRITE: / vbeln.
    DATA :  v_print TYPE i.
    CALL FUNCTION 'ENQUEUE_EVVBLKE'
    EXPORTING
      MODE_LIKP            = 'E'
      MANDT                = SY-MANDT
       vbeln                = vbeln
      X_VBELN              = ' '
      _SCOPE               = '2'
        _wait                = 'X'
    " _wait                 = space
      _COLLECT             = ' '
    EXCEPTIONS
       foreign_lock         = 1
       system_failure       = 2
       OTHERS               = 3
    MESSAGE s005(zsd).
    *In case ZSOT automatic billing once we create delivery and post goods issue manual.
    SELECT SINGLE vbelv
      FROM vbfa
      INTO sal_vbeln
      WHERE vbeln = vbeln
      AND   vbtyp_v = 'C'.
    SELECT SINGLE *
      FROM vbak
      WHERE vbeln = sal_vbeln.
    import v_print to v_print FROM MEMORY id 'PRINTFLAG'.
    IF vbak-auart EQ 'ZSOT'.
    IF v_print eq '1'.
        PERFORM create_document USING vbeln
                              CHANGING sy-subrc.
    ENDIF.
    ELSE.
    *Other than ZSOT Post Goods issue from ZPGI2 and from there automatic billing.
    ENDIF.
    *&      Form  CREATE_DOCUMENT
          text
         -->P_VBELN    text
    FORM create_document USING p_vbeln
                         CHANGING sysubrc.
      PERFORM bdc_dynpro      USING 'SAPMV60A' '0102'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'KOMFK-VBELN(01)'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '/00'.
      PERFORM bdc_field       USING 'KOMFK-VBELN(01)'
                                    p_vbeln."'1130010202'.
      PERFORM bdc_dynpro      USING 'SAPMV60A' '0104'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'VBRK-FKART'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=SICH'.
      CALL FUNCTION 'DEQUEUE_EVVBLKE'
       EXPORTING
          MODE_LIKP       = 'E'
          MANDT           = SY-MANDT
            vbeln           = vbeln
          X_VBELN         = ' '
          _SCOPE          = '3'
          _SYNCHRON       = ' '
          _COLLECT        = ' '
      CALL TRANSACTION 'VF01' USING bdcdata
                       MODE   'N'
                       UPDATE 'S'
                       MESSAGES INTO messtab.
      READ TABLE messtab WITH KEY msgtyp = 'E'.
      IF sy-subrc EQ 0.
        sysubrc = 4.
      ELSE.
        sysubrc = 0.
      ENDIF.
      LOOP AT messtab.
        sy-msgty = messtab-msgtyp.
        sy-msgid = messtab-msgid.
        sy-msgno = messtab-msgnr.
        sy-msgv1 = messtab-msgv1.
        sy-msgv2 = messtab-msgv2.
        sy-msgv3 = messtab-msgv3.
        sy-msgv4 = messtab-msgv4.
        CALL FUNCTION '/SAPTRX/GET_MESSAGE_TEXT'
          EXPORTING
            msgid                = sy-msgid
            msgno                = sy-msgno
            msgv1                = sy-msgv1
            msgv2                = sy-msgv2
            msgv3                = sy-msgv3
            msgv4                = sy-msgv4
          IMPORTING
            messagetext          = messagetext
          EXCEPTIONS
            no_message_retrieved = 1
            OTHERS               = 2.
        WRITE: / messagetext.
        CLEAR messagetext.
      ENDLOOP.
    *... refresh tables
      REFRESH: messtab, bdcdata.
    ENDFORM.                    "CREATE_DOCUMENT
    *&      Form  BDC_DYNPRO
          text
         -->PROGRAM    text
         -->DYNPRO     text
    FORM bdc_dynpro USING program dynpro.
      CLEAR bdcdata.
      bdcdata-program  = program.
      bdcdata-dynpro   = dynpro.
      bdcdata-dynbegin = 'X'.
      APPEND bdcdata.
    ENDFORM.                    "BDC_DYNPRO
           Insert field                                                  *
    FORM bdc_field USING fnam fval.
      CLEAR bdcdata.
      bdcdata-fnam = fnam.
      bdcdata-fval = fval.
      APPEND bdcdata.
    ENDFORM.                    "BDC_FIELD
    *&      Form  change_status
          text
    -->  p1        text
    <--  p2        text
    FORM change_status .
    *Change status if delivery and the billing document has been created
      SELECT  *
        FROM vbup
        WHERE vbeln = vbeln
        AND   fksta NE 'C'.
        vbup-fksta = 'C'.
       vbup-gbsta = 'C'.
        MODIFY vbup.
      ENDSELECT.
      UPDATE vbuk
      SET fkstk = 'C'
         gbstk = 'C'
      WHERE vbeln = vbeln.
    ENDFORM.                    " change_status
    Program C (Print Bill)
    REPORT  z_sdps_invoice.
    *&    <Module>:  SD Smart Forms.
    *& Type       : Executable
    *& Request No.:
    *& Author/Co. : Ahmed Al Eryani
    *& Created On : 26.02.2007
    *& Finished   : 24.2007
    *& Description:
    *&                    MODIFICATION LOG
    *& Modified by  :
    *& Request No.  :
    *& Dev. Class   :
    *& Date Modified:
    *& Description  :
    TABLES: vbrk, kna1, vbrp, makt, konv, vbkd.
    SELECTION-SCREEN BEGIN OF BLOCK a.
    PARAMETER: p_vbeln LIKE vbrp-vbeln OBLIGATORY MATCHCODE OBJECT vmcf. "Billing document No
    "SELECT-OPTIONS s_bukrs FOR bkpf-bukrs. "Company Code
    SELECTION-SCREEN END OF BLOCK a.
    *itab is object of our smart form structre
    DATA: itab TYPE zsd_invoice OCCURS 0 WITH HEADER LINE.
    DATA: wa_footer TYPE zsd_invv1.
    DATA: t_items TYPE zsd_inv WITH HEADER LINE,
          w_items TYPE LINE OF zsd_inv,
          it_footer TYPE zsd_inv1,
          w_footer TYPE LINE OF zsd_inv1.
    DATA: amountspell LIKE spell.
    DATA: g_fm_name TYPE rs38l_fnam.
    DATA: mnumvflag(10) TYPE c.
    DATA: coun TYPE i,
          totalforitems TYPE kwert,
          lasttotal(8) TYPE p DECIMALS 2,
          lasttotalc(11) TYPE c,
          firstpart(11) TYPE c,
          secondpart(2) TYPE c.
    DATA: currency TYPE waerk.
    DATA: currtxet(50) TYPE c.
    *Header internal table
    DATA: BEGIN OF t_header OCCURS 0,
      vbeln LIKE vbrk-vbeln,"Document no
      name1 LIKE kna1-name1,"Customer Name
      adrnr LIKE kna1-adrnr,"Customer Address
      bstkd LIKE vbkd-bstkd,"
      kunnr LIKE kna1-kunnr,"Customer Account no
      waerk LIKE vbrk-waerk, "currency key
      aubel LIKE vbrp-aubel,
      kunrg LIKE vbrk-kunrg,
      street LIKE adrc-street,
      fkart LIKE vbrk-fkart,
      lgort LIKE lips-lgort,"Stord bin
      lgobe LIKE t001l-lgobe,
      ktokd LIKE kna1-ktokd,
      PSTYV LIKE vbrp-PSTYV,
      orgbil LIKE vbfa-vbelv,
    END OF t_header.
    *detail internal table
    DATA: BEGIN OF t_items1 OCCURS 0,
      matnr LIKE vbrp-matnr,"Material Number
      posnr LIKE vbrp-posnr,
      vgpos LIKE vbrp-vgpos,
      maktx LIKE makt-maktx,"Material Description
      lgort LIKE vbrp-lgort,"Storage location
      fkimg LIKE vbrp-fkimg,"
      knumv LIKE vbrk-knumv,"
      unitprice LIKE konv-kawrt,
      total LIKE konv-kawrt,
      waers LIKE konv-waers,
      kkurs LIKE konv-kkurs,
      vgbel LIKE vbrp-vgbel,
      lgpbe LIKE lips-lgpbe,
      vgtyp LIKE vbrp-vgtyp,
    END OF t_items1.
    DATA: v_belnr TYPE belnr_d.
    *Unit price internal table
    DATA: BEGIN OF t_untprice OCCURS 0,
      kschl LIKE konv-kschl,"condition type
      kawrt LIKE konv-kawrt,"unit price
    END OF t_untprice.
    *Condition(spcial deduction)
    DATA: BEGIN OF t_spcialcnd OCCURS 0,
      kschl LIKE konv-kschl,"condition type
      kwert LIKE konv-kwert,"Deduction value
    END OF t_spcialcnd.
    DATA: t_tax LIKE TABLE OF t_spcialcnd WITH HEADER LINE,
          v_tax LIKE konv-kwert.
    DATA: BEGIN OF t_curtxt OCCURS 0,
      ltext LIKE tcurt-ltext,
    END OF t_curtxt.
    DATA :return_code TYPE i," VALUE 999,
          us_screen TYPE c. "VALUE 'X'.
    declaration of data
    INCLUDE rlb_invoice_data_declare.
    definition of forms
    INCLUDE rlb_invoice_form01.
    INCLUDE rlb_print_forms.
    START-OF-SELECTION.
      "IF p_vbeln IS NOT INITIAL.
        PERFORM entry USING return_code us_screen.
      "ENDIF.
          FORM ENTRY
    FORM entry USING return_code us_screen.
      DATA: lf_retcode TYPE sy-subrc.
      CLEAR retcode.
      xscreen = us_screen.
    perform processing using us_screen
                        changing lf_retcode.
    if lf_retcode ne 0.
       return_code = 1.
    else.
       return_code = 0.
    endif.
      IF p_vbeln IS INITIAL.
        p_vbeln = nast-objky.
      ENDIF.
      "get header data
      SELECT SINGLE vbrk~vbeln vbrk~waerk vbrp~aubel vbrk~kunrg vbrk~fkart vbrp~lgort vbrp~PSTYV
      INTO (t_header-vbeln, t_header-waerk, t_header-aubel, t_header-kunrg, t_header-fkart,
        t_header-lgort, t_header-PSTYV)
      FROM vbrk JOIN vbrp ON vbrp~vbeln = vbrk~vbeln
                JOIN kna1 ON vbrk~kunrg = kna1~kunnr
      WHERE vbrk~vbeln = p_vbeln.
      IF t_header-PSTYV = 'ZREN'.
        SELECT SINGLE VBELV
          INTO t_header-orgbil
          FROM vbfa
          WHERE vbeln = p_vbeln
          and VBTYP_V = 'M'.
      ENDIF.
      SELECT SINGLE t001l~lgobe
        INTO t_header-lgobe
        FROM t001l
        WHERE t001l~lgort = t_header-lgort.
      SELECT SINGLE kna1~name1 kna1~adrnr kna1~kunnr kna1~ktokd
        INTO (t_header-name1, t_header-adrnr, t_header-kunnr, t_header-ktokd)
      FROM  kna1 "ON vbrk~kunrg = kna1~kunnr
      WHERE kna1~kunnr = t_header-kunrg
        AND spras = 'AR'.
      IF t_header-name1 IS INITIAL.
        SELECT SINGLE kna1~name1 kna1~adrnr kna1~kunnr kna1~ktokd
          INTO (t_header-name1, t_header-adrnr, t_header-kunnr, t_header-ktokd)
        FROM  kna1 "ON vbrk~kunrg = kna1~kunnr
        WHERE kna1~kunnr = t_header-kunrg
          AND spras = 'EN'.
      ENDIF.
      IF t_header-ktokd = 'ZONE'.
        SELECT SINGLE belnr
          INTO v_belnr
        FROM bkpf
        WHERE xblnr = p_vbeln.
        SELECT SINGLE name1
        INTO t_header-name1
        FROM bsec
        WHERE belnr = v_belnr.
      ENDIF.
      SELECT SINGLE adrc~street
        INTO t_header-street
        FROM adrc
        WHERE addrnumber = t_header-adrnr
        AND langu = 'AR'.
      IF t_header-street IS INITIAL.
        SELECT SINGLE adrc~street
          INTO t_header-street
          FROM adrc
          WHERE addrnumber = t_header-adrnr
          AND langu = 'EN'.
      ENDIF.
      "get details data
      SELECT vbrp~matnr vbrp~posnr vbrp~vgpos vbrp~fkimg
             vbrk~knumv vbrp~matnr vbrp~vgbel vbrp~vgtyp"makt~maktx
      INTO CORRESPONDING FIELDS OF TABLE t_items1
      FROM vbrp "JOIN makt ON vbrp~matnr = makt~matnr
                JOIN vbrk ON vbrp~vbeln = vbrk~vbeln
                "join konv on vbrk~knumv = konv~knumv
      WHERE vbrp~vbeln = p_vbeln
        AND vbrp~fkimg NE '0.000'.
      "AND makt~spras = 'E'.
      break arasmy.
      LOOP AT t_items1.
        SELECT SINGLE lips~lgpbe
          INTO t_items1-lgpbe
          FROM lips
          WHERE vbeln = t_items1-vgbel
          AND posnr = t_items1-vgpos.
        SELECT SINGLE makt~maktx
        INTO  t_items1-maktx
        FROM  makt
        WHERE matnr = t_items1-matnr
        AND   makt~spras = 'EN'.
        SELECT SINGLE konv~kbetr konv~kwert konv~waers konv~kkurs
          INTO (t_items1-unitprice, t_items1-total, t_items1-waers,
          t_items1-kkurs)
        FROM konv
        WHERE konv~kschl = 'NETW'"'ZSPC'                               "'ZSP1'
        AND   konv~knumv = t_items1-knumv
        AND   kposn      = t_items1-posnr.
        t_items1-unitprice = ( t_items1-total / t_items1-fkimg ) * t_items1-kkurs.
        MODIFY t_items1.
        mnumvflag = t_items1-knumv."Number of the document condition
      ENDLOOP.
    *get the deduction value for the document condiotion no
      SELECT konvkschl konvkwert
      INTO CORRESPONDING FIELDS OF TABLE t_spcialcnd
      FROM konv
      WHERE konv~kschl IN ('ZSSD', 'ZSCD', 'ZSDD', 'ZSPD', 'ZSWD', 'ZMW1', 'ZSGS', 'ZMW2')
      AND  konv~knumv = mnumvflag.
    Get tax 10%
        SELECT konvkschl konvkwert
        APPENDING CORRESPONDING FIELDS OF TABLE t_tax
        FROM konv
        WHERE konv~kschl = 'MWST'
        AND  konv~knumv = mnumvflag.
      itab-invn  = t_header-vbeln.
      itab-orgbil  = t_header-orgbil.
      itab-cusna = t_header-name1.
      itab-addr  = t_header-street.
      itab-custn = t_header-kunrg.
      itab-sord  = t_header-aubel.
      itab-fkart = t_header-fkart.
      itab-lgort = t_header-lgort.
      itab-lgobe = t_header-lgobe.
      itab-PSTYV = t_header-PSTYV.
      currency   = t_header-waerk.
      LOOP AT t_items1.
        w_items-matn   = t_items1-matnr.
        w_items-matdes = t_items1-maktx.
        w_items-stloc  = t_items1-lgpbe."lgort.
        w_items-qunt   = t_items1-fkimg.
        w_items-total  = t_items1-total.
        totalforitems  = totalforitems + w_items-total.
        COLLECT w_items INTO t_items.
      endloop.
      LOOP AT t_items1.
        LOOP AT t_items WHERE matn = t_items1-matnr.
          t_items-prc = t_items1-unitprice.
          MODIFY t_items.
        ENDLOOP.
      ENDLOOP.
      LOOP AT t_items.
          coun = coun + 1.
          t_items-itmn = coun.
          MODIFY t_items.
      ENDLOOP.
        w_footer-totalforitems = totalforitems.
        LOOP  AT t_spcialcnd.
          CASE t_spcialcnd-kschl.
            WHEN 'ZSSD'.
              w_footer-spdisc    = w_footer-spdisc      + t_spcialcnd-kwert.
            WHEN 'ZSCD'.
              w_footer-comdisc   = w_footer-comdisc     + t_spcialcnd-kwert.
            WHEN 'ZSDD'.
              w_footer-DIFMAT    = w_footer-DIFMAT      + t_spcialcnd-kwert.
            when 'ZSPD'.
              w_footer-trgtdisc  = w_footer-trgtdisc    + t_spcialcnd-kwert.
            WHEN 'ZMW2'.
              w_footer-comindisc = w_footer-comindisc   + t_spcialcnd-kwert.
            WHEN 'ZSWD'.
              w_footer-cshdisc   = w_footer-cshdisc     + t_spcialcnd-kwert.
            WHEN 'ZSGS'.
              w_footer-stampsdisc = w_footer-stampsdisc + t_spcialcnd-kwert.
          ENDCASE.
          w_footer-ttldisc = w_footer-spdisc + w_footer-comdisc + w_footer-trgtdisc
                           + w_footer-cshdisc + w_footer-DIFMAT + w_footer-stampsdisc.
        ENDLOOP.
        w_footer-aftrdiscnts = w_footer-totalforitems + w_footer-ttldisc.
        LOOP AT t_tax WHERE kwert NE '0.00'.
          w_footer-saltax = w_footer-saltax + t_tax-kwert.
        ENDLOOP.
        w_footer-totalaftrtax = w_footer-aftrdiscnts + w_footer-saltax.
        w_footer-total = w_footer-totalaftrtax + w_footer-comindisc.
        lasttotal = w_footer-total.
      APPEND w_footer TO it_footer.
      SELECT tcurt~ltext
      INTO CORRESPONDING FIELDS OF TABLE t_curtxt
      FROM   tcurt
      WHERE tcurt~spras = 'AR'
      AND   tcurt~waers = currency.
      LOOP AT  t_curtxt.
        currtxet = t_curtxt-ltext.
      ENDLOOP.
      itab[] = t_header[].
      lasttotalc = lasttotal.
      SPLIT lasttotalc AT '.' INTO firstpart secondpart.
      lasttotal = firstpart / 100.
      CALL FUNCTION 'SPELL_AMOUNT'
        EXPORTING
          amount    = lasttotal
          currency  = ''"CURRENCY
          filler    = space
          language  = 'A'
        IMPORTING
          in_words  = amountspell
        EXCEPTIONS
          not_found = 1
          too_large = 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.
    --split amount--
    BREAK radha.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        formname                 = 'Z_INVOICE_PARTS2'
    VARIANT                  = ' '
    DIRECT_CALL              = ' '
       IMPORTING
         fm_name                  = g_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.
      DATA : control_parameters    TYPE  ssfctrlop,
             print_options         TYPE  ssfcompop.
      DATA : document_output_info  TYPE  ssfcrespd,
             job_output_info       TYPE  ssfcrescl,
             job_output_options    TYPE  ssfcresop.
      DATA : count TYPE i.
      control_parameters-langu = 'AR'.
      control_parameters-no_dialog = 'X'."Don't show Dialog
    print_options-tdarmod = '1'.
    print_options-tdcopies = '001'.
    print_options-tddest = 'LP02'.
    print_options-tdprinter = 'ZARSWIN'.
       print_options-tdimmed = 'X'.
    print_options-tddelete = 'X'.
    print_options-tdlifetime = '8'.
       print_options-tddest = 'LP03'."nast-ldest.
      "print_options-tddest = nast-ldest.
      "print_options-tdcopies = pv_copies.
    print_options-tddelete = 'X'.
      print_options-tdfinal = 'X'.
    print_options-tdnewid = 'X'.
    WHILE count ne 1.
       IF job_output_info-outputdone ne 'X'.
         CALL FUNCTION g_fm_name
          EXPORTING
        ARCHIVE_INDEX             =
        ARCHIVE_INDEX_TAB         =
        ARCHIVE_PARAMETERS        =
           control_parameters       = control_parameters
        MAIL_APPL_OBJ             =
        MAIL_RECIPIENT            =
        MAIL_SENDER               =
            output_options          = print_options
            user_settings           = space
            header                  = itab
            amountspell             = amountspell
            currtxt                 = currtxet
            secondpart              = secondpart
         wa_footer                = w_footer
       IMPORTING
         DOCUMENT_OUTPUT_INFO       = document_output_info
         JOB_OUTPUT_INFO            = job_output_info
         JOB_OUTPUT_OPTIONS         = job_output_options
          TABLES
            it_items                = t_items
            it_footer               = it_footer
       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.
    ENDFORM.                    "ENTRY

    Hi,
    lw_control_param-device = 'PRINTER'.
    lw_control_param-getotf = c_x.
    lw_control_param-no_dialog = c_x.
    lw_composer_param-tdnoprev = c_x.
    <b>*lw_composer_param-tddest = 'LONSC0P310'.</b>
    <b>lw_composer_param-tddest = 'XXXX'.</b> <b>"Four digits</b>
    <i>lw_composer_param-tdnewid = c_x.
    lw_composer_param-tdfinal = c_x.</i> --> Not required
    In place of 'XXXX', replace it by a 4 digit value. It would be available in transaction SPAD->Output Devices->Double click your output device. On the right hand side there would be a field Short Name. Replace 'XXXX' with that value.
    Best regards,
    Prashant

  • How do I stop iMesssages/texts sent to a group from Messages app on MacBook from starting a new group thread?

    Whenever I try sending group iMessages on my MacBook using Messages, it keeps splitting into a new thread on our phones. There are 4 of us in the group that I've tried this with and it splits for all of us even though on my computer it is saying that I am sending to the original group that is custom named. One of the guys in the group is able to use his MacBook (same year/model/OS) without any problems of splitting, so we aren't sure what the problem is or how to fix it.
    I have OS X Yosemite 10.10.2, but it's been doing this ever since iOS 8 and Yosemite first came out.
    Thanks!

    Hi,
    I have only tried group chats a couple of times.
    I have just added the name I wanted to the "To" box after enabling a "New Chat".
    I do know that unlike AIM or a Jabber Chat people can't leave you have to restart a fresh group and exclude the people you don't want (same if you want to add people).
    I have not thought to try renaming such a chat.
    I would try building the group from scratch rather then trying to make it use and old name.  (I have difficulty accessing some chats pre my Yosemite Upgrade)
    9:28 pm      Wednesday; April 1, 2015
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • F110 - Exclude Credit Memos from original Invoice

    Good afternoon,
    Our go live was 1 month ago.
    We have prepared automatic payment process and everything works perfectly. Mainly, we base our process in the Payment Method Supplement field. Some payment methods group documents following different rules (restricted to 7 rows or as many as request).
    Our problem is that our customer does not want credit memos to be included never there (payment terms are taken from original invoice and when they pay the invoice, this credit is included). They want to identify ALWAYS what they are paying fulfilling the Payment Method Supplement field.
    Is there any chance not include the credit memo in these payments? For example, not copying Payment Method Supplement from the original invoice? any other idea? Please let me know. Regards,
    Javier

    Hi Renfe Proyecto Auge ,
    You can exclude Credit memos in Additional Fields there you have to select Excluded and from hidden field select document radio button and from the list select Document Type (BKPF-BLART),
    after this you have to choose Document type credit memo what ever you maintained for Credit memo, accordingly system will exclude the values from Automatic Payment Run.
    Regards
    Sridhar

  • How to exclude particular IPC from Rebates

    Dear SDN Team,
    Customer want to create some rebate in order to pay later on a promotional basis for the particular IPC.
    But they want to apply accruals on all IPC but by excluding particular IPC from Rebates, How to exclude the particular IPC from Rebates.
    Because customer want to exclude one IPC of the rebates calculation for only one rebates -
    Any Idea.
    For the above request i have suggested below solution - But it does not resolve their problems. But User is expecting further any other idea in order to resolve the above requirement.
    First Solution:
    In order to exclude the IPC for Ecopia from the rebates calculation- this can be done by setting the Material group in the Material Master - Basic Data1 view and you can exclude these IPC's while creating the condition records in the Rebate Agreement type.  By doing this we can exclude the rebates for the Ecopia tyres.
    Second alternative:  If you have already created the Rebate condition record for the Ecopia tyres then you can set the deletion indicator flag in the rebate condition for the particular IPC.
    Can you suggest any ideas in order to resolve this problem.
    Looking for your feedback.
    Thanks and Regards,
    Jana

    Dear,
    even if was not clear about the type of material you were reffering to, I analysed your request and I consider that you may proceed as follow.
    To achieve this result you do NOT have to modify the material master.
    Assumptions taken:
    A- you have to exclude only one material from the rebate calculation for only one rebate
    B- all other rebates do not have to be impacted by this exceptional rebate configuration
    C- material nr1 is the material to exclude
    D- material nr1 has a product hierarchy 00X (Line X)
    Procedure to achieve the objective:
    1) create a promotional rebate (RebateA) for the full Line X and set it relevant for accrual (define a percentage for accrual)
    2) create a promotional rebate (RebateB) for the single material nr1 and set it NOT relevant for accrual (no percentage for accrual)
    3) set the same percentage to pay or amount to pay to the customer in both rebates (A & B)
    4) set the same validity start-to for both rebates (A & B)
    5) define a percentage of accrual only for the first rebate (A only)
    The second rebate created (RebateB) will help in order to pay the right amount to the final customer.
    In order to perform a final settlement you will have IDEALLY simply subtract the values: RebateA - RebateB.
    There is no standard way to exclude single material from a single rebate without impacting the other active rebates.
    Of course, modify the material master is not the solution. Any change in material master will impact also open rebates and future rebates.
    For these reasons here above there is a business scenario you may apply to achieve the objective and it will not take a lot of time to maintain it.
    In case of questions or doubts to not hesitate to post your answer back to this post.
    Regards,

  • Variant config - error Material ZZZ is not copied from the bill of material

    Hello guys,
    I try to obtain a material configurable in a new plant.
    I have more errors and I don't know exactly if the problems are in setting of the variant configuration, or if the problems are in customizing.
    When I try to make a Sale Document (Standard Order VA01), the following error occurs:
    Material ZZZ is not copied from the bill of material.
    Message no. V2003
    Diagnosis
    When the bill of material was exploded, it was established that no sales document item could be created for material ZZZ.
    System Response
    The system ignores the material during bill of material explosion.
    Procedure
    Check if the BOM explosion can be used without material ZZ. If not, delete the main item which lead to the BOM explosion. You may be able to enter an item manually in which the material ZZZ in the BOM.
    What do you think it might the solution for this challenge?
    Thanks in advance.

    hello, friend.
    the issue you presented is very broad and requires some more info, such as:
    1.  what are the item category groups of the material and ZZZ?
    2.  did you check item category determination in your sales doc type?
    regards.

  • How to export one group from my contacts

    On Icloud i've made a group for work people and would like to export the group to give to people at work so they can upload it as a group
    any idea how to do this?

    Hello dorfy666,
    I found a couple of resources that have steps to help you export a group of contacts. 
    If you would like to export a group from www.iCloud.com, you can follow these steps (you can also select all contacts in step 1 by single clicking on one contact in the group and then using command+A):
    Export a contact as a vCard
    Select the contact you want to export in the contacts list.On your Mac, Shift-click to select multiple adjacent contacts or Command-click to select multiple nonadjacent contacts.
    Choose Export vCard from the Action pop-up menu at the bottom of the contacts list.
    If you select multiple contacts, Contacts exports a single vCard containing all of them.
    You can find the full article here:
    iCloud: Export contact information as a vCard
    http://support.apple.com/kb/PH3606
    If you have the group in your Address Book or Contacts application, you can follow these steps:
    Export vCards
    Do one of the following:
    Drag a contact out of the Address Book window to the desktop to create a vCard file.
    Drag multiple contacts or a group out of the Address Book window to the desktop to create one vCard file for all of the contacts.Some applications might not be able to read vCard files that contain multiple entries; to create a vCard file for each contact, hold down the Option key while dragging the contacts or the group.
    In the Address Book window, select one or more contacts or a group, and then choose File > Export > Export vCard.
    Notes and photos are exported by default. To exclude these fields when you export cards, select the appropriate options in Address Book vCard preferences.
    When you export your card, only the fields you’ve chosen to share are exported.
    You can find the full article here:
    Address Book 6.x: Export and import vCards
    http://support.apple.com/kb/PH4655
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • How can I prevent the active Tab Group from changing whenever I close a tab?

    Simply, often I will close a tab in Firefox 4; then, for some reason the active Tab Group changes to some other collection. It usually happens when I close the last tab in my tabs bar, but it has happened after closing other tabs, as well. Would love to prevent Tab Groups from changing automatically. Thank you!

    Hi:
    I tried precisely your suggestion before posting my message to the forum yesterday. I just forgot to mention it... Maybe I was afraid of increasing my message length more and more...
    I already know that this solution prevents the MediaTracker from blocking. However...
    (1) If they reach a troublesome image (like a Targa), the users of my application might not be pleased by its freezing for 10 seconds. Actually, this image loading module is part of an architecture for database applications from which my development team and I produce applications for various customers. Images are used, in particular, in Oracle BLOB support.
    (2) If I use a smaller timeout delay, I have no guarantee that any image, whatever its length, will load properly (Targa excluded, of course). According to tests I performed yesterday, I am virtually sure that the 10-second delay will be busted very easily by pictures larger than 1 Mb. I cannot overlook this potential problem: an Oracle BLOB can contain up to 2 terabytes of data!
    On the other side, I don't want to focus too much the attention on the JIMI Targa import filter because I know that a revised version of the JIMI and JAI packages will be part of JDK 1.4. This is why I am trying to figure out what is happening in the MediaTracker and Toolkit classes, which are much more fundamental than the Jimi ones...
    Thanks anyway...
    Best regards,
    Jean-Fran�ois Morin

  • Exclude individual computers from a GPO using WMI Filter

    I understand I can use security settings to Deny Apply Group Policy to certain users thus excluding them from a GPO, but I'm wondering if I can use a WMI filter to exclude certain computers from a GPO that contains only Computer Configuration policies.
    Root\CimV2; select Name from Win32_ComputerSystem where (Name <> "COMPNAME")
    This would evaluate to True on all except the COMPNAME computer and therefore should exclude the COMPNAME computer.  Could this be expanded to exclude a second computer with: Or Name <> "COMP2" ?
    Is this correct?  Has anyone else gotten this to work?

    Am 16.09.2014 um 21:20 schrieb john1519:
    > Root\CimV2; select Name from Win32_ComputerSystem where (Name <> "COMPNAME")
    select Name from Win32_ComputerSystem where (Name <> "COMPNAME1" and
    Name <> "COMPNAME2" [...])
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • I cannot remove a credit card from itunes billing

    After reviewing suggestions online for removing my credit card from itunes billing the overall suggestion was to check "none " on the credit card panel in my itunes account.  There is no "NONE" option.  What else can I do to remove this card?
    Thanks, Chrissie

    Hello,
    You can follow this to remove your credit card :
    Open iTunes.
    Choose Store > Sign In.
    Enter your Apple ID and password, then click the Sign In button.
    Choose Store > View My Account.
    Enter your account password and click the View Account button.
    From the Apple Account Information page, click the Edit Payment Information button.
    Click on the button labelled None and click on Done.
    There's a button None but it can blend into the background.

Maybe you are looking for

  • My iphone 3gs has itunes plug displayed on screen and iturnes says it needs to be restored but when i try to click restore it doesn't work what to do now?

    HELP,,,my iphone 3gs is displaying iturnes plug on screen and when i plug into computer iturnes, it says it needs to be restored but when i click on recover it doesn't complete the task my phone is stuck with itunes plug on screen. please help

  • Replacement path with text variable

    Hi experts, My client requirement is " when he enters the current year or current day then it should display the Description of that particular year r month r day." Can anyone explain me in detail how to create replacement path with text variable on

  • OBIEE not applying outer join syntax to filters

    (Note: I've already thoroughly searched the forums before posting this. Thanks) My problem is the following: I'm trying to build a report that is a count from my fact table, grouped by month from my date dimension for a given year, resulting in 12 da

  • Open Hub in Windows 7

    Hi Has anyone used OpenHub with windows 7 as destination? Mine is creating a large number of trc files but no data. Thanks in advance for your help. Points will be awarded for right answer.

  • 2 gigs of .mov files too big for dvd?

    I have 3 .mov files that I want to burn to a dvd. Each individual file is approx 700 meg or so. When I try and add the first file, it appears that it takes up 3.9g of 4g. Dragging the 2nd file in gives me the "Project Duration Error" "Your project ex