In recording for MIR7 the input option 'other invoice document' is disabled

Hi All,
I came across a issue where i opened the transaction MIR7 in a session and it gives an option(in menu and on toolbar) to give input as 'other invoice document' but when i am doing recording through SHDB for the same MIR7 transaction this option 'other invoice document' is disabled. I need this option to make changes in other invoice doc. I am wondering why it's behaving like this......Please assist me on the same.
Thanks
Subhankar

It seems that screen which is compitible with batch recording doesn't provide an option to enter another invoice.
But, while recording in SHDB, if you put the =DOC in the Transaction box and press enter, system will provide the popup to enter another invoice.
Regards,
Naimesh Patel

Similar Messages

  • Menu option "other invoice document" gets disabled in MIR7 while Recording

    Hi All,
    I have one requirement when I have to open the parked invoice document ( MIRO) with MIR7.
    I don't want to record each and every field and pass the bdcdata then with call transaction.
    There is one option in MIR7 when under invoicedocumnet->other invoice document i can pass the invoice document number and the fiscal year.
    I have the document number and the fiscal year as i have already parked the document with MIRO.
    so i thought to record this and call the transaction then.
    Problem: When i open MIR7 to record, the menu option invoicedocumnet->other invoice document  gets disabled. I am not able to record this.
    Is there any solution to this? Any BAPI exists ??
    Otherwise i would have to record each and every field to pass the parked data into it ..
    Thanks in advance
    Regards
    Mudit Batra

    Hi,
    check this:
    program: SAPLMR1M
    include: LMR1MI3U
    MODULE (PAI) FCODE_6100
      IF ok-code = fcook.
        mir4_change = 'X'.
        SET PARAMETER ID: 'RBN' FIELD rbkpv-belnr,
                          'GJR' FIELD rbkpv-gjahr,
                          'RBS' FIELD rbkpv-rbstat,
                          'CHG' FIELD mir4_change.
        IF sy-tcode = tcode_mir4.
          LEAVE TO TRANSACTION tcode_mir4 AND SKIP FIRST SCREEN.
        ELSE.
          CALL TRANSACTION tcode_mir4 AND SKIP FIRST SCREEN.
        ENDIF.
      ENDIF.
      SET SCREEN 0. LEAVE SCREEN.
    Best regards.

  • How 2 creat report for displaying the details of a Delivery Document using

    how to create report for displaying the details of a Delivery Document using the tables LIKP, LIPS
    thank you
    regards,
    jagrut bharatkumar shukla
    points will be rewarded

    HI
    I AM GIVING YOU MY DELIVERY DOCUMENT CODE...MODIFY IT ACCORDING TO YOUR REQUIREMENT
    *& Report  ZDELIVERY                                *
    report  zdelivery  message-id z9bhu          .
    types: begin of t_likp,
               vbeln type likp-vbeln,      "Delivery
               erdat type likp-erdat,      "Date for rec creation
    *           LFDAT TYPE LIKP-LFDAT,      "Delevery Date
    *           WAERK TYPE LIKP-WAERK,      "Currency
               kunnr type likp-kunnr,      "Ship-To Party
               kunag type likp-kunag,      "Sold-to party
               traty type likp-traty,      "Means-of-Transport
           end of t_likp.
    types: begin of t_lips,
               vbeln type lips-vbeln,      "Delivery
               posnr type lips-posnr,      "Delivery item
               matnr type lips-matnr,      "Material Number
               arktx type lips-arktx,      "Short Text for Sales Order Item
               lfimg type lips-lfimg,      "Actual quantity delivered
               netpr type lips-netpr,
    *           MEINS TYPE LIPS-MEINS,      "Base Unit of Measure
               vgbel type lips-vgbel,      "Doc no of the reference document
            end of t_lips.
    types: begin of t_vbpa,
               vbeln type vbpa-vbeln,      "SD DocumenT Number
               posnr type vbpa-posnr,      "Item number
               parvw type vbpa-parvw,      "Partner function
               kunnrb type vbpa-kunnr,      "Customer Number 1
           end of t_vbpa.
    types: begin of t_kna1,
               kunnr type kna1-kunnr,      "Customer Number 1
               name1 type kna1-name1,      "Name 1
               ort01 type kna1-ort01,      "City
               adrnr type kna1-adrnr,      "Address
           end of t_kna1.
    types: begin of t_li_vbpa,
               vbeln type likp-vbeln,      "Delivery
               erdat type likp-erdat,      "Date for rec creation
    *           LFDAT TYPE LIKP-LFDAT,      "Delevery Date
    *           WAERK TYPE LIKP-WAERK,      "Currency
               kunnr type likp-kunnr,      "Ship-To Party
               kunag type likp-kunag,      "Sold-to party
               traty type likp-traty,      "Means-of-Transport
               vbeln1 type lips-vbeln,      "Delivery
               posnr type lips-posnr,      "Delivery item
               matnr type lips-matnr,      "Material Number
               arktx type lips-arktx,      "Short Text for Sales Order Item
               lfimg type lips-lfimg,      "Actual quantity delivered
               netpr type lips-netpr,      "Net Price
    *           MEINS TYPE LIPS-MEINS,      "Base Unit of Measure
               vgbel type lips-vgbel,      "Doc no of the reference document
               vbeln3 type vbpa-vbeln,     "SD DocumenT Number
               parvw type vbpa-parvw,      "Partner function
               kunnrb type vbpa-kunnr,      "Customer Number 1
           end of t_li_vbpa.
    types: begin of t_final,
               vbeln type likp-vbeln,      "Delivery
               erdat type likp-erdat,      "Date for rec creation
               kunnr type likp-kunnr,      "Ship-To Party
               kunag type likp-kunag,      "Sold-to party
               traty type likp-traty,      "Means-of-Transport
               vbeln1 type lips-vbeln,      "Delivery
               posnr type lips-posnr,      "Delivery item
               matnr type lips-matnr,      "Material Number
               arktx type lips-arktx,      "Short Text for Sales Order Item
               lfimg type lips-lfimg,      "Actual quantity delivered
               netpr type lips-netpr,      "Net Price
               vgbel type lips-vgbel,      "Doc no of the reference document
               vbeln3 type vbpa-vbeln,     "SD DocumenT Number
               parvw type vbpa-parvw,      "Partner function
               kunnrb type vbpa-kunnr,     "Customer Number 1
               name1 type kna1-name1,      "Name 1
               ort01 type kna1-ort01,      "City
               adrnr1 type kna1-adrnr,     "Address
               name2 type kna1-name1,      "Name 1
               ort02 type kna1-ort01,      "City
               adrnr2 type kna1-adrnr,     "Address
               name3 type kna1-name1,      "Name 1
               ort03 type kna1-ort01,      "City
               adrnr3 type kna1-adrnr,     "Address
           end of t_final.
    *            D A T A  D E C L A R A T I O N
    *&*********Internal Table Declaration****************&*
    data: it_likp type standard table of t_likp.
    data: it_lips type standard table of t_lips.
    data: it_vbpa type standard table of t_vbpa.
    data: it_kna1 type standard table of t_kna1.
    data: it_li_vbpa type standard table of t_li_vbpa.
    data: it_li_vbpa_temp type standard table of t_li_vbpa.
    data: it_final type standard table of t_final.
    *&*********Work Area Declaration********************&*
    data: wa_likp type t_likp.
    data: wa_lips type t_lips.
    data: wa_vbpa type t_vbpa.
    data: wa_kna1 type t_kna1.
    data: wa_li_vbpa type t_li_vbpa.
    data: wa_li_vbpa_temp type t_li_vbpa.
    data: wa_final type t_final.
    *&*********Data Declaration************************&*
    data: d_vbeln type likp-vbeln.
    data: flag type i value 0.
    *           S E L E C T I O N  S C R E E N   D E C L A R A T I O N
    selection-screen begin of block block2 with frame title text-001.
    select-options: s_vbeln for d_vbeln obligatory.    "Delivery no
    selection-screen end of block block2.
    *            A T  S E L E C T I O N - S C R E E N   E V E N T S
    *AT SELECTION-SCREEN.
    *PERFORM VALIDATE_DATA.
    *            S T A R T   O F  S E L E C T I O N     E V E N T S
    start-of-selection.
    perform fetch_data.
    perform merge_data_kna1.
    *INCLUDE Z9BT_SH_***4_FORMS.
    call function 'OPEN_FORM'
    exporting
    *   APPLICATION                       = 'TX'
    *   ARCHIVE_INDEX                     =
    *   ARCHIVE_PARAMS                    =
        device                            = 'PRINTER'
    *   DIALOG                            = 'X'
    *   FORM                              = ' '
       language                          = sy-langu
    *   OPTIONS                           =
    *   MAIL_SENDER                       =
    *   MAIL_RECIPIENT                    =
    *   MAIL_APPL_OBJECT                  =
    *   RAW_DATA_INTERFACE                = '*'
    *   SPONUMIV                          =
    * IMPORTING
    *   LANGUAGE                          =
    *   NEW_ARCHIVE_PARAMS                =
    *   RESULT                            =
    exceptions
       canceled                          = 1
       device                            = 2
       form                              = 3
       options                           = 4
       unclosed                          = 5
       mail_options                      = 6
       archive_error                     = 7
       invalid_fax_number                = 8
       more_params_needed_in_batch       = 9
       spool_error                       = 10
       codepage                          = 11
       others                            = 12
    if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    sort it_final by vbeln.
    loop at it_final into wa_final.
    call function 'START_FORM'
    exporting
    *   ARCHIVE_INDEX          =
       form                   = 'Z9BT_DELIVERY'
       language               = sy-langu
    *   STARTPAGE              = ' '
    *   PROGRAM                = ' '
    *   MAIL_APPL_OBJECT       =
    * IMPORTING
    *   LANGUAGE               =
    exceptions
       form                   = 1
       format                 = 2
       unended                = 3
       unopened               = 4
       unused                 = 5
       spool_error            = 6
       codepage               = 7
       others                 = 8
    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 'WRITE_FORM'
    exporting
       element                        = 'ITEM_LIST'
       function                       = 'SET'
       type                           = 'BODY'
       window                         = 'MAIN'
    * IMPORTING
    *   PENDING_LINES                  =
    * EXCEPTIONS
    *   ELEMENT                        = 1
    *   FUNCTION                       = 2
    *   TYPE                           = 3
    *   UNOPENED                       = 4
    *   UNSTARTED                      = 5
    *   WINDOW                         = 6
    *   BAD_PAGEFORMAT_FOR_PRINT       = 7
    *   SPOOL_ERROR                    = 8
    *   CODEPAGE                       = 9
    *   OTHERS                         = 10
    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 'END_FORM'
    * IMPORTING
    *   RESULT                         =
    exceptions
       unopened                       = 1
       bad_pageformat_for_print       = 2
       spool_error                    = 3
       codepage                       = 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.
    endloop.
    call function 'CLOSE_FORM'
    * IMPORTING
    *   RESULT                         =
    *   RDI_RESULT                     =
    * TABLES
    *   OTFDATA                        =
    exceptions
       unopened                       = 1
       bad_pageformat_for_print       = 2
       send_error                     = 3
       spool_error                    = 4
       codepage                       = 5
       others                         = 6
    if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    *&      Form  VALIDATE_DATA
    *       text
    *  -->  p1        text
    *  <--  p2        text
    form validate_data .
    select single vbeln into wa_likp-vbeln
                        from likp where vbeln in s_vbeln.
    append wa_likp to it_likp.
    if sy-subrc <> 0.
    flag = 1.
    endif.
    endform.                    " VALIDATE_DATA
    *&      Form  FETCH_DATA
    *       text
    *  -->  p1        text
    *  <--  p2        text
    form fetch_data .
    select a~vbeln
           a~erdat
           a~kunnr
           a~kunag
           a~traty
           b~vbeln
           b~posnr
           b~matnr
           b~arktx
           b~lfimg
           b~netpr
           b~vgbel
           c~vbeln
           c~parvw
           c~kunnr
             into table it_li_vbpa
                    from likp as a
                    left outer join lips as b on a~vbeln = b~vbeln
                    inner join vbpa as c on b~vgbel = c~vbeln
                    where a~vbeln in s_vbeln and
                    c~parvw = 'RE'.
    endform.                    " FETCH_DATA
    *&      Form  MERGE_DATA_KNA1
    *       text
    *  -->  p1        text
    *  <--  p2        text
    form merge_data_kna1 .
    if it_li_vbpa[] is not initial.
    it_li_vbpa_temp[] = it_li_vbpa[].
    sort it_li_vbpa_temp by kunnr.
    delete adjacent duplicates from it_li_vbpa_temp comparing kunnr.
    loop at it_li_vbpa into wa_li_vbpa.
    read table it_li_vbpa_temp into wa_li_vbpa_temp with key kunnr =
    wa_li_vbpa-kunag.
    if sy-subrc <> 0.
    wa_li_vbpa_temp = wa_li_vbpa.
    append wa_li_vbpa_temp to it_li_vbpa_temp.
    endif.
    read table it_li_vbpa_temp into wa_li_vbpa_temp with key kunnr =
    wa_li_vbpa-kunnrb.
    if sy-subrc <> 0.
    wa_li_vbpa_temp = wa_li_vbpa.
    append wa_li_vbpa_temp to it_li_vbpa_temp.
    endif.
    endloop.
    endif.
    if it_li_vbpa_temp[] is not initial.
    select  kunnr
            name1
            ort01
            adrnr into table it_kna1 from kna1
                        for all entries in it_li_vbpa_temp
                        where kunnr = it_li_vbpa_temp-kunnr.
    endif.
    loop at it_li_vbpa into wa_li_vbpa .
    wa_final-vbeln = wa_li_vbpa-vbeln.
    wa_final-erdat = wa_li_vbpa-erdat.
    *it_final-LFART = it_li_vbpa-LFART.
    wa_final-kunnr = wa_li_vbpa-kunnr.
    wa_final-kunag = wa_li_vbpa-kunag.
    *it_final-VSTEL = it_li_vbpa-VSTEL.
    wa_final-traty = wa_li_vbpa-traty.
    wa_final-vbeln1 = wa_li_vbpa-vbeln.
    wa_final-posnr = wa_li_vbpa-posnr.
    wa_final-matnr = wa_li_vbpa-matnr.
    wa_final-arktx = wa_li_vbpa-arktx.
    wa_final-lfimg = wa_li_vbpa-lfimg.
    wa_final-netpr = wa_li_vbpa-netpr.
    *wa_final-GEWEI = it_li_vbpa-GEWEI.
    *it_final-VOLUM = it_li_vbpa-VOLUM.
    *it_final-VOLEH = it_li_vbpa-VOLEH.
    wa_final-vgbel = wa_li_vbpa-vgbel.
    wa_final-vbeln3 = wa_li_vbpa-vbeln.
    *wa_final-PARVW = wa_li_vbpa-PARVW.
    wa_final-kunnrb = wa_li_vbpa-kunnrb.
    read table it_kna1 into wa_kna1 with key kunnr = wa_li_vbpa-kunnr.
    if sy-subrc = 0.
    wa_final-name1 = wa_kna1-name1.
    wa_final-ort01 = wa_kna1-ort01.
    wa_final-adrnr1 = wa_kna1-adrnr.
    endif.
    read table it_kna1 into wa_kna1 with key kunnr = wa_li_vbpa-kunag.
    if sy-subrc = 0.
    wa_final-name2 = wa_kna1-name1.
    wa_final-ort02 = wa_kna1-ort01.
    wa_final-adrnr2 = wa_kna1-adrnr.
    endif.
    read table it_kna1 into wa_kna1 with key kunnr = wa_li_vbpa-kunnrb.
    if sy-subrc = 0.
    wa_final-name3 = wa_kna1-name1.
    wa_final-ort03 = wa_kna1-ort01.
    wa_final-adrnr3 = wa_kna1-adrnr.
    endif.
    append wa_final to it_final.
    clear wa_final.
    endloop.
    endform.

  • Which table find the matching options of invoice level in ap in oracle apps

    hi
    which table find the matching options of invoice level in ap in oracle apps
    thnks

    Hi,
    Have a look at the following note:
    Note: 190156.1 - AP: Which Tables Are Populated When Invoices Are Matched To A PO?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=190156.1
    Refer to [eTRM |http://etrm.oracle.com] for more details about the tables.
    Regards,
    Hussein

  • How to use the table maintenance events for validating the input entries..?

    Hi,
    I have created a Z table with 6 fields in which all are KEY fields. All are of CHAR type. I have created the Table Maintenance Generator for the same. While maintaining the entries in the table, even though I maintain a blank entry for a field it is saving the entry. But, I don't want that way. All the fields are mandatory in my table. One should enter all the fields. Otherwise it should not allow to save the entry. So, I think it can be done using the Table Maintenance Events. can someone tell me how to use the Table Maintenance Events. and which event to use for my reuqirement and what is the logic to be written.
    Or Is there any other way to solve my problem.
    Please share your inputs. Thanks in advance.
    Best regards,
    paddu.

    In the table maintenance generator, Environment --> Modifications --> Events then a screen will be appear here,we need to create the Events.In the EVENTS screen, press new Entries, there give 01(Before Saving the Data in the Database) and give a name(This will become a PERFORM), then click the Editor pushbutton, this will be there at the right side of the entry, then a popup will be appear, you can create an include program, there inside of the include program write ur code.
    Here is documentation for Event 01(Before Saving the Data in the Database )
    Event 01: Before Saving the Data in the Database
    Use
    This event occurs before new, changed or deleted entries are written to the database. Other activities can be performed, for example:
    hidden entry processing
    fill hidden fields
    flag data to be written to hidden tables after the database change.
    To have the changes saved by the central maintenance dialog routines, SY-SUBRC must be set to 0 at the end of the routine.
    Realization
    This event has no standard routine. The following global data is available for the realization of the user routine:
    internal table TOTAL
    field symbols
    field symbols <ACTION> and <ACTION_TEXT>
    <STATUS>-UPD_FLAG
    If internal table data are to be changed before saving, t he changes should be made in both the internal table TOTAL and in the internal table EXTRACT.
    FORM abc.
    DATA: F_INDEX LIKE SY-TABIX. "Index to note the lines found
    LOOP AT TOTAL.
    IF <ACTION> = desired constant.
    READ TABLE EXTRACT WITH KEY <vim_xtotal_key>.
    IF SY-SUBRC EQ 0.
    F_INDEX = SY-TABIX.
    ELSE.
    CLEAR F_INDX.
    ENDIF.
    (make desired changes to the line TOTAL)
    MODIFY TOTAL.
    CHECK F_INDX GT 0.
    EXTRACT = TOTAL.
    MODIFY EXTRACT INDEX F_INDX.
    ENDIF.
    ENDLOOP.
    SY-SUBRC = 0.
    ENDFORM.
    Regards,
    Joy.

  • Where can I find explanations for all the export options?

    [ Re-posting this from the iPhoto & iDVD branches ]
    When I export a slideshow in iPhoto 9, choose 'Custom export' and then hit the 'Options' button, a dialog pops up with Video & Sounds options that can further be explored. In the Video section, I can click on the 'Settings' button, amongst others, to reveal lots of things that can be tweaked (Compressor Type, Motion, Data Rate & Compressor).
    Where can I find help and explanations of what all these settings do, when to change them, why they should be changed, to what values and what effects these all have on the overall output?
    Apple has a user manual for FCE4 on their web-site and I recognise some of these iPhoto slideshow export settings from similar dialog boxes from within FCE4. Does a user manual for iPhoto 9 exist also? I can't find it on Apple's web-site.
    It has been suggested to me that these are all standard QT settings/options - hence the re-post to this forum.
    - CDM

    It's always been up to each user to find all of the "hidden gems" in any OS software. Most of us experiment, test, try, fail and try again with all the options. Along the way we learn what works, what doesn't. I've played, poked and prodded QuickTime Pro for the last ten years and even wrote a "book" about it. I have over 200 bookmarks to resources and links that help me sort things out.
    Onto some answers:
    1. on your list is actually a three part question. Since you probably can't burn a true "HD" DVD we'll leave that part out.
    You can easily "share" your iPhoto files with iDVD and burn in SD 16:9 format. You need to learn nothing about the compression options as iDVD will do all of the work. The Web based file formats (from the same source file) are an easy "trick" in QuickTime Pro.
    QuickTime Pro includes an export option "Export for Web" that will make up to 4 "versions" of your source file and even write the html code for you to copy/paste into your Web pages. It creates up to 4 versions (iPhone, iPod, Desktop and cell phone) with just one export and writes html page code that can "read" your connected visitors "speed" to serve up just the right file for the device.
    Your number 2 question is answered by your SD DVD media device. Can't make a sow's ear into a silk purse. But you could use QuickTime Pro export options to create a "true" HD file and display it on your HD TV. If your HD TV includes HDMI connections (and all should) you could either connect your camera directly to the TV (via cables) to display the "raw" video captures or use iTunes (free) application to export HD video to an appliance like Apple TV.
    My "book" (a downloadable PDF) does include an explanation about nearly all of the QuickTime available codecs but it's probably not needed for your particular workflow. The built-in preset exports are all you probably need to use.
    Compression type = file format (AVI, MP3, MOV, etc.).
    Motion = frame rate allows you to change the source frame rate to meet the restrictions of your delivery media (nearly always adjusted to reduce file size for Web delivery). E.G source is 30 fps and delivery is 15 fps (reduces file size).
    Key frames = "special" frames of the video that either "predict" or "optimize" for the delivery media format. The Export for Web feature of QuickTime Pro defaults should be all you need.
    Quality slider = is "optional" but usually defaults to "medium". In most cases this is best left at the default setting.
    Dimensions = file size dimensions. Well crafted, H.264 video codec QuickTime files will look very good when displayed at up to twice the file export dimension. This means you can display a Web based 640X480 file at "Full Screen" size (display resolution) without much degradation of video quality. Older codecs will not look as good when doubled in size.
    Preserve Aspect ratio = just what it says. Widescreen source = widescreen display.
    De-interlace source = http://en.wikipedia.org/wiki/Deinterlacing
    Hope this helps you sort things out.
    Data rate = the amount of compression (data limit)

  • Fuba or Report for Change the OBJECT_ID in one order documents

    Hi Guru's
    we want to reuser the Order-ID in CRM contracts (CRMD_BUS2000121)
    So I search a FuBa or a report for Changing the OBJECT_Id in the one order document or is there any other possibility.
    we use SAPCRM 4.0
    thanks
    Reiner

    Hi Reiner,
    changing a Order or Contract ID is not possible because they are the key of the Object. Perhaps I've don't get your point. Please describe your requirement in more detail.
    Regards
    Gregor

  • Is there any settings in CO to stop the Sale Order or Invoice Document

    The Invoice would not post to accounting when created as the material did not have a standard cost.
    I created a cost, re-dated the invoiced and released it from VFX3.
    When I looked at the PA entries I saw that the group cost entries to PA were okay but only the cost component (raw materials) of the legal cost had posted. The legal cost of goods sold was blank. Looking at the billing document I see that the VPRS condition is showing as an error with zero value. This explains why no PA entry for it was made.
    Can anyone tell me why the condition wasn't corrected when the cost was created and why the invoice was released from VFX3 with an Condition error uncorrected.
    Is there any settings in CO to stop the Sale Order ot Invoice when there is an error in sale order or invoice.
    Thanks in advance

    Hi
    To stop the sale order in the absence of Std Cost - use exit MV45AFZB
    To Stop the invoice - CReate a Costing key in KE40 and check "Issue error msg if no cost estimate found"...
    Also, you can redetrmine your pricing during billing to update VPRS
    Ajay M

  • BAPI to change the posting data of invoice document

    Hello All,
          I need a BAPI to change the posting date of the invoice document (Type : RE, Generated from MIRA transaction). Do let me know if you can across a BAPI to do it.
    Thanks,
    Siva.

    BAPI_INCOMINGINVOICE_CHANGE

  • Is there a command for setting the selection option to be mandatory

    hi,
    i have a 4 select-option in my program, and i would set that, either one select option must be fill to execute the program. which mean, at least one field ( any select option) have to be enter, or else it will not run. is there a command to restrict on this?
    please help. thanks

    Check this sample
    TABLES : vbap.
    SELECT-OPTIONS : so_vbeln FOR vbap-vbeln,
                     so_posnr FOR vbap-posnr.
    AT SELECTION-SCREEN.
      IF NOT so_vbeln[] IS INITIAL OR
         NOT so_posnr[] IS INITIAL.
      ELSE.
        MESSAGE e000(ztest_gopi) WITH 'Atleast one shd be filled'.
      ENDIF.
    " OR You can do it this way also
    TABLES : vbap.
    SELECT-OPTIONS : so_vbeln FOR vbap-vbeln,
                     so_posnr FOR vbap-posnr.
    AT SELECTION-SCREEN.
      IF so_vbeln[] IS INITIAL AND
         so_posnr[] IS INITIAL.
        MESSAGE e000(ztest_gopi) WITH 'Atleast one shd be filled'.
      ENDIF.
    Regards
    Gopi

  • Urgent: Function module for getting the input from user  using a pop up

    Hi all,
    My requirement at user commmand a pop up should appear asking the user to enter the session name for the bdc session to be created.
    My report allows the user to enter the session name of his choice.
    I need the name of the function module which can do this.
    Thanks
    Pritish

    better to create one FM  to pop-up.
    check this :
    function y_pop_up_get_distributor_time.
    *"*"Local interface:
    *"  IMPORTING
    *"     REFERENCE(W_ROUTE) LIKE  VBAP-ROUTE
    *"     REFERENCE(W_VBELN) LIKE  VBAK-VBELN
    *"     REFERENCE(W_VGBEL) LIKE  VBAK-VGBEL
    *"     REFERENCE(W_VSTEL) LIKE  VBRP-VSTEL
    *"     REFERENCE(W_AUART) LIKE  VBAK-AUART
    *"  EXPORTING
    *"     REFERENCE(W_FROM_DATE) TYPE  SY-DATUM
    *"     REFERENCE(W_FROM_TIME) TYPE  SY-UZEIT
    *"     REFERENCE(W_TO_DATE) TYPE  SY-DATUM
    *"     REFERENCE(W_TO_TIME) TYPE  SY-UZEIT
    *"     REFERENCE(W_TKNUM) TYPE  VTTK-TKNUM
    *"     REFERENCE(W_RC) TYPE  SY-SUBRC
    *"     REFERENCE(W_DEPT_DATE) TYPE  SY-DATUM
    *"     REFERENCE(W_DEPT_TIME) TYPE  SY-UZEIT
    *"     REFERENCE(W_REPO_DATE) TYPE  SY-DATUM
    *"     REFERENCE(W_REPO_TIME) TYPE  SY-UZEIT
    *"     REFERENCE(W_PLNT_DATE) TYPE  SY-DATUM
    *"     REFERENCE(W_PLNT_TIME) TYPE  SY-UZEIT
    *"     REFERENCE(W_TRUCK_NO) TYPE  YW2_TIMEENTRY-TRUCKNO
    *"     REFERENCE(W_LIFNRN) TYPE  YW2_TIMEENTRY-LIFNR
    *  SET PF-STATUS 'STATUS_100' OF PROGRAM SAPLZ2SLS.
    *CLEAR:W_DATE_FROM, W_DS_TIME_1, W_ADATE,
    *      W_ATIME,W_BDATE,W_BTIME, W_CDATE, W_CTIME.
    clear : w_route1, w_vbeln1,w_vgbel1,
            w_vstel1,w_auart1.
      w_route1 = w_route.
      w_vbeln1 = w_vbeln.
      w_vgbel1 = w_vgbel.
      w_vstel1 = w_vstel.
      w_auart1 = w_auart.
      clear: w_date_to, w_date_from, w_adate,w_atime,
             w_ds_time_1, w_ds_time_2,
             w_bdate, w_btime, w_cdate, w_ctime.
      call screen 100 starting at 10 2 ending at 115 13.
      if w_ok_code = 'SAVE'.
        w_rc = 0.
        w_from_date  = w_date_from.
        w_from_time  = w_ds_time_1.
        w_to_date    = w_date_to.
        w_to_time    = w_ds_time_2.
        w_tknum      = w_tknum.
        w_dept_date  = w_adate.
        w_dept_time  = w_atime.
        w_repo_date  = w_bdate.
        w_repo_time  = w_btime.
        w_plnt_date  = w_cdate.
        w_plnt_time  = w_ctime.
        w_truck_no   = sg_truckno.
        w_lifnrn     = w_lifnr.
      else.
        w_rc = 1.
      endif.
    *  IF w_ok_code = 'CANC'.
    *    W_rc = 1.
    *  ELSE.
    *    W_rc = 0.
    *    W_FROM_DATE  = w_date_from.
    *    W_FROM_TIME  = w_ds_time_1.
    *    W_TO_DATE    = w_date_to.
    *    W_TO_TIME    = w_ds_time_2.
    *    W_TKNUM      = W_TKNUM.
    *    W_DEPT_DATE  = W_ADATE.
    *    W_DEPT_TIME  = W_ATIME.
    *    W_REPO_DATE  = W_BDATE.
    *    W_REPO_TIME  = W_BTIME.
    *    W_PLNT_DATE  = W_CDATE.
    *    W_PLNT_TIME  = W_CTIME.
    *  ENDIF.
      clear w_ok_code.
    endfunction.
    Regards
    Prabhu

  • How do i switch from head phone to mic? I know there is a internal mic, but when i go to system preferences  then sound doesn't give me the input option.

    I know there is an internal mic but i need to switch the head phone to mic. but in system preference then sound folder it does not give me the option to  make  the mic an imput. but when i goto about this computer it says it is compatable how do i make this happen?

    Welcome to Apple Support Communities
    You have a MacBook, so your Mac hasn't got a HDMI port and you are using a Mini DisplayPort to HDMI adapter.
    There are some Macs which do not support sound over HDMI, and it seems that your MacBook does not support it. Read > About Mini DisplayPort to HDMI adapters

  • Using BADI for changing the Profit Center in FI Document during MIRO

    Hi,
    We have an requirement of changing the profit center in FI/CO Document while doing MIRO which is different than the one which is posted at the time MIGO.The system is not allowing us to do this and the field profit center during MIRO is not changeble mode and the business requirement is to change this through any SAP enhancements or program.
    How can I do this ?
    Is there is any standard BADI or User Exit is available for this.
    Pleease help me in this and will give valuable points.

    Hey,
    Use the BADI INVOICE_UPDATE and try with this. Otherwise you try to create Enhancement point to implement your code.
    Note: Inside BADI we can't change the runtime value. So, try to use enhancement point.
    Rewert back for any clarification.
    Regards,
    Saravanan M

  • ABAP report for caluculating the average days between invoice day  &posting

    Hi All,
    i have a requirement where in  i should create a report for caluculating average days between the invoice days and posting days.  By counting the total day in a month for which invoice were generated and counting the days on which payements were recived,i should difference those days and take a average for a month. anybody who is having any idea either interms of code or interms of links please help me.

    Hello,
    See this thread [Calculation Of Days|Calculation Of Days;
    Thanks
    Chandran

  • Silent feedback from microphone after pressing the record ready and or input monitoring buttons

    Hi Community,
    So I am running a microphone(xlr cable)-->mbox mini--->macbook and have been able to successfully record many songs in the past. Just recently I have run into an intersting issue which I hope someone can provide a solution to.
    When I hit the ready record button or the input monitoring button my level automatically shoots up about a third the volume bar without me even singing into the mic (My monitors are muted and I am wearing headphones). After recording, the wavform looks like there is a thick bar on the top half. I can still hear vocals but they are very faint, unlike how i used to get a clear, quality sounding recording. My input on the interface is also at about halfway and my phantom power is on.   Here are some pictures to give you a better understanding of what I am looking at.
    I hope this is clear
    If ANYONE has a solution to this issue please let me know
    -J

    Trying another interface is probably the next step. I would also make sure the Mic is ok, do you know anyone with an interface or mixing board that supplies phantom power? Make sure your cables are good, a shorted mic cable can blow an interface op-amp in less than a second.  The Mini may have blown on it's own, as I recall the mBox series did have some problems along those lines.
    The general rule with phantom power is, do not plug (or unplug) any device with it on, this holds true for the interface into the computer or to XLR->Mic / XLR->Interface.  After turning off phantom power I usually wait at least 15-30 seconds to let voltage drain from the circuits before starting to remove cables...etc.
    As you can tell, I'm on the cautious side when it comes to phantom power and mics/mixing boards, I worked at a studio that had mics valued at $5,000 - $10,000 and a mix board that cost far beyond that... always play it safe.

Maybe you are looking for

  • Maximum number of Mappings per Module?

    Hello! Is there any (techical) limit how many mappings there can be in one module? Cheers, Ykspisto

  • Disk space for Grid Control

    Just getting started with the Grid Control. Anyone know roughly how much disk space is required for a basic installation?

  • Keypad not functional, have tried everything.

    Hi, I have recently come into a serious problem with my Verizon BlackBerry Curve 8300, and a lot of people seem to share this problem:  The keypad is not working at all.  I can scroll the trackball across the different menu items, but I can't press t

  • Scanning "window" stays in forefront.....

    I scan a lot of lengthy documents during my workday. Previously, I can begin the scanning process and open other applications on my desktop, specifically QuickBooks, and continue working on other tasks while the documents are scanning. When the scann

  • Now I see Now I don't the NAS on the network

    I was having the following problem that needed some help and advice.  I was able to access the NAS via the PC for all these while. However, the PC didn't detect it this morning.  The following actions yield no result:  1. Restart the PC. 2. Off and O