How can i insert document number in the Idoc status

Hi All,
    I am working on customized program, which will post the inbound Idoc data to transaction. Once everything updated / posted, Idoc should show the status 53 with description - <b>'Document XXXXXXXXX is created / changed</b>'. 
    I knew that we can use messages like ' Document &1 is created / Changed' in place of &1 need to replace with document number, but could not able to do that, can you please help me as soon as possible.
Thanks
Jayasri

Hi,
check this code
LOOP AT itab_status WHERE mess NE 'WMMBXY'.
SELECT SINGLE * FROM edids INTO wa_edids WHERE docnum = itab_status-idoc
             AND countr = itab_status-status_counter.
      IF  wa_edids-statxt CA '&'.
        v_msgno = wa_edids-stamno.
        IF v_msgno NE '000'.                                "----mod3
          CALL FUNCTION 'MESSAGE_PREPARE'
               EXPORTING
                    msg_id   = wa_edids-stamid
                    msg_no   = v_msgno
                    msg_var1 = wa_edids-stapa1
                    msg_var2 = wa_edids-stapa2
                    msg_var3 = wa_edids-stapa3
                    msg_var4 = wa_edids-stapa4
               IMPORTING
                    msg_text = itab_status-descrp.
          CONDENSE itab_status-descrp.
        ENDIF.                                              "---- mod3
      ELSE .
        itab_status-descrp = wa_edids-statxt.
      ENDIF.
      MODIFY itab_status.
    ENDLOOP.
    LOOP AT itab_status WHERE mess EQ 'WMMBXY'.
      itab_status-descrp = 'APPLICATION DOCUMENT POSTED'.
      MODIFY itab_status.
    ENDLOOP.
i guess you can do similair thing in your case too.
let me know if you need any further help
thanks
venki

Similar Messages

  • How can I insert a number of photos in a numbers doc without the file becoming too large?

    How can I insert a number of photos into a numbers doc without the file becoming too large?

    Use smaller photos.
    Seriously, reduce the file size of the photos in Preview, PhotoShop, iPhoto or other application before inserting tehem into the Numbers document.
    Regards,
    Barry

  • I`d like to know how can i insert documents, xls/doc/pdf into iCloud and have them in my iPhone and my iPad. I just found one way, through ibooks, but i think it isn't a practical option.

    I`d like to know how can i insert documents, xls/doc/pdf into iCloud and have them in my iPhone and my iPad. I just found one way, through ibooks, but i think it isn't a practical option.

    Just use Drop Box instead.

  • How to add a document type for the residence status GB in infotype 48

    Hi Team,
    How to add a document type for the residence status GB in infotype 48.
    Please answer this  at the earliest.PFA screnshot.
    Thanks
    chris

    I believe there is a PDF doc which comes with the component (it should be at your harddrive when you install it), which describes everything you will need.
    In a nutshell, there are two types of relationship: sibling - sibling, parent - child (there are some more nuances, but it follows the same logic).
    A relationship is created between two existing items (not sure, if you can also create a relationship for a new checked in item, but it would be just a usability). You select the type of relationship and the item - I believe depending on the relationship you may start from either item. The dialog to start is INFO (display metadata) or UPDATE (update metadata).
    When a relationship is created you may watch it also from either end (again INFO is the starting point).
    It is quite self-explanatory, so if you have the component installed you may just play around with it for a while and that is it.

  • How can I insert a table in the header?

    The question is easy: How can I insert a table of one row in the header.
    Thanks in advance.
    Jesús.

    There are multiple versions of Pages in circulation on Mavericks and Yosemite. Telling us which one helps with a more accurate answer.
    If you are referring to Pages v5, then you cannot insert a table into the header or footer, because implicitly, these are table cells too. The discontinued Pages ’09 v4.3 would allow table insertion in the document header/footer fields.

  • How can I insert a parameter to the layout template?

    How can I insert a parameter defined in report to the layout template? just like insert a field. I wanna display the parameter in the output.

    If its Ebiz, concurrent program.
    Put this in your template in the starting,
    where the P_BUSINESS_GROUP_ID is one of the concurrent program parameters,
    <?param@begin:P_BUSINESS_GROUP_ID?>
    and then you can access the parameter in your rtf like <?$P_BUSINESS_GROUP_ID?>
    Upload the rtf template back into apps.
    and then rerun the conc pgm :)

  • How can I delete my number from the iCloud?

    I would like to delete my phone number from the icloud

    Hi conrad0509,
    If you are talking about removing your phone number from your Apple ID (which associates it with iMessage and iCloud), you may find the following article helpful (instructions on unlinking should be near the bottom):
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    Regards,
    - Brenden

  • How can i remove particular articles in the idoc before generation of idoc

    Hi ,
    How can i acheive the below screnaios.
    Need to know the feasibility  of the following  while  creating  WP_PLU idoc  using  WPMU ; do we have any  BADI or exit to achieve the following  requirement.
    Scenario 1:
    Based on a switch from a Ztable we donu2019t want  include few articles in the  IDOC.
    Example :  For article   1000  I keep an entry  in  the Ztable that send to store = Fales 
    Then  article shouldnu2019t be included in the IDOC
    Scenario 2:
    Based on a count kept in the Ztable  we restrict the number of  articles   included in the  IDOC.
    Example :  In the  in the Ztable we keep a count of 4000 articles  then  we limit the number of articles in the IDOC as 4000.
    Optionally can the following also possible in the same scenario ?
    Exit the process  of creating  idocs  and  abort the process of updating the change pointer tables )
    (Means  when we reach 4000 articles we stop creating  the IDOCS also stop updating the change pointer tables so that next day when
    WPMU runs  these unprocessed change pointers will get picket again)
    Regards
    SriHari
    Edited by: srihari haranandan on May 23, 2011 12:28 PM

    Hi SriHari,
    Surely you know them, but I suggest you to read them:
    Note 519685 - Conversion of procedure for work list creation
    Note 173587 - Settings for the pricing worklist
    Note 858555 - WP_PLU IDocs become too large
    Other way, is to set a new customer function module (ie: Z_*) for this IDOC using the actual as a template, where you can write your own algorithm with ABAP.
    I hope this helps you
    Regards.
    Eduardo

  • How can I insert an image at the original resolution into a PDF using Acrobat Pro XI

    Got an image created in Photoshop at 300DPI 2480 pixels wide by xx high.  Saved as a TIFF.
    When I insert that image in my PDF (A4 210mm x 297mm) using Acrobat Pro XI via "Content Editing->Add Image" it appears smaller than the page width of the PDF, and I must manually resize the inserted image by dragging with my mouse.  
    Documentation says the image is inserted at the original image resolution, but it doesn't seem to be the case.
    Also tried creating another image in Photoshop using 210mm width @ 300 DPI (instead of 2480 pixels @ 300DPI), got the same results.
    Can anyone help?  Cheers.

    You should maybe take a step back. Nobody composes pages in Acrobat.

  • How can I insert a value into the Oracle Date column using JDBC?

    Suppose I have a table TEST created by "create table TEST (c1 INT, c2 Date);"
    Now I want to insert some proper value into the table TEST's column c2. I couldn't do that by TRYing using Java.sql.Date, Java.Util.Date, Java.String.
    Could anyone give me some suggestions by providing the sample code?
    Many thanks for your help!
    Wendy

    What about building the java string:
    "Insert into test (c1,d1) values ("+
    Integer.toString(var)+
    ", TO_DATE("
    formatYourDateVariableWithCalendarMethods
    ",'DD-MON-YYYY')"
    and executing it ??

  • How can I Insert pictures in the text? Is there another way besides attaching a file?

    How can I insert a picture in the text email instead attaching file?

    The feature to add images in tables is gone, ike about another 90 features that exists in Pages 09.

  • How to add a receipt number in the following Query for PO Report

    Hi Guys,
    I need a help regarding following query.
    Its a PO report for 11.5.10.2
    select distinct pv.segment1 supplier_number,
    pv.vendor_name supplier_name,
    pha.segment1 po_number,
    pha.revision_num revision_num,
    pha.authorization_status po_status,
    to_char(pha.creation_date, 'DD/MM/YYYY') creation_date,
    pha.currency_code currency_code,
    pla.sum_amount_ordered sum_amount_ordered,
    pda.sum_quantity_ordered sum_quantity_ordered,
    pda.sum_amount_received sum_amount_received,
    pda.sum_quantity_received sum_quantity_received,
    (pla.sum_amount_ordered - pda.sum_amount_received) sum_accrued, --AVI
    ( pda.sum_quantity_ordered - pda.sum_quantity_received) quantity_accrued, --AVi
    to_char(rsl.date_receipt, 'DD/MM/YYYY') date_receipt,
    -- rsl.receipt_num receipt_number,
    ppa.segment1 project_code, ppa.project_status_code, --10.0.0.4
    aia.invoice_num invoice_num,
    aia.invoice_date invoice_date, --AVI 
    aia.creation_date invoice_creation_date, --AVI 
    aia.amount invoice_amount_allocated_to_po, --AVI
    pla.purchase_basis,
    pla.category_id,
    -- pda.item_description,
    haou.name organisation, --10.0.0.3
    pda.sum_quantity_billed sum_quantity_billed , --10.0.0.3
    gcc1.CONCATENATED_SEGMENTS,
    gcc2.CONCATENATED_SEGMENTS
    from po_headers_all pha,
    po_vendors pv,
    pa_projects_all ppa,
    hr_all_organization_units haou,
    (select po_header_id,
    sum(quantity * unit_price) sum_amount_ordered,
    org_id,
    purchase_basis,
    category_id
    -- pla.item_description,
    from po_lines_all
    group by po_header_id, org_id
    , purchase_basis,
    category_id
    -- pla.item_description
    ) pla,
    (select pla.po_header_id,
    pda.project_id,
    sum(pda.quantity_ordered) sum_quantity_ordered,
    sum(pda.quantity_delivered * pla.unit_price) sum_amount_received,
    sum(pda.quantity_delivered) sum_quantity_received,
    sum(pda.quantity_billed) sum_quantity_billed, --10.0.0.3
    accrual_account_id
    from po_distributions_all pda, po_lines_all pla
    where pla.po_line_id = pda.po_line_id
    group by pla.po_header_id, pda.project_id,accrual_account_id
    ) pda,
    (select po_header_id, charge_account_id,
    -- rsh.receipt_num,
    min(rsl.creation_date) date_receipt
    from rcv_shipment_lines rsl
    where rsh.SHIPMENT_HEADER_ID=rsl.SHIPMENT_HEADER_ID
    group by po_header_id,charge_account_id
    ) rsl,
    (select distinct aia.invoice_num, pda.po_header_id , aia.invoice_date --10.0.0.3
    , aia.creation_date , sum(aida.amount) amount
    from po_distributions_all pda,
    ap_invoice_distributions_all aida,
    ap_invoices_all aia
    where pda.po_distribution_id = aida.po_distribution_id(+)
    and aia.invoice_id(+) = aida.invoice_id
    Group by
    aia.invoice_num, pda.po_header_id , aia.invoice_date --10.0.0.3
    , aia.creation_date) aia,
    (select haou2.organization_id, haou2.name
    from fnd_flex_value_sets ffvs,
    fnd_flex_value_norm_hierarchy ffvnh,
    fnd_flex_values_vl ffvv,
    hr_all_organization_units haou1,
    FND_FLEX_VALUE_CHILDREN_V ffvcv,
    hr_all_organization_units haou2
    where ffvs.FLEX_VALUE_SET_NAME = 'CAP_CODE_BU'
    and ffvs.FLEX_VALUE_SET_ID = ffvnh.flex_value_set_id
    and ffvnh.parent_flex_value like 'PO%'
    and ffvv.FLEX_VALUE_SET_ID = ffvnh.flex_value_set_id
    and ffvv.FLEX_VALUE between ffvnh.child_flex_value_low and ffvnh.child_flex_value_high
    and substr(haou1.name, 1, Instr(haou1.name, '-')) =
    substr(ffvv.DESCRIPTION, 1, Instr(ffvv.DESCRIPTION, '-'))
    and haou1.organization_id = fnd_global.org_id
    and ffvcv.parent_flex_value = ffvnh.parent_flex_value
    and ffvcv.flex_value_set_id = ffvs.flex_value_set_id
    and substr(haou2.name, 1, Instr(haou2.name, '-')) =
    substr(ffvcv.DESCRIPTION, 1, Instr(ffvcv.DESCRIPTION, '-'))
    union --10.0.0.1
    select f.organization_id, f.name --10.0.0.1
    from hr_all_organization_units f --10.0.0.1
    where f.organization_id = fnd_global.ORG_ID --10.0.0.1
    ) bu
    , po_line_locations_all plla --10.0.0.4
    , gl_code_combinations_kfv gcc1
    ,gl_code_combinations_kfv gcc2
    where pv.vendor_id = pha.vendor_id
    and pla.po_header_id = pha.po_header_id
    and pda.po_header_id = pha.po_header_id
    and pha.po_header_id = rsl.po_header_id(+)
    and pda.project_id = ppa.project_id(+)
    and pha.po_header_id = aia.po_header_id(+)
    and aia.po_header_id = pha.po_header_id
    and pla.org_id = haou.organization_id
    and pha.authorization_status in ('APPROVED', 'OPEN')
    and plla.po_header_id = pha.po_header_id --10.0.0.4
    and plla.closed_code in ('APPROVED', 'OPEN', 'CLOSED FOR INVOICE', 'CLOSED FOR RECEIVING', 'CANCELLED') --10.0.0.4
    and bu.organization_id = haou.organization_id
    AND gcc1.code_combination_id = pda.accrual_account_id
    AND gcc2.code_combination_id =rsl.CHARGE_ACCOUNT_ID
    In the following query I have commented receipt_num using the table rcv_transaction_headers.
    If I uncomment it the query results huge number of unexpected report.
    How can I add receipt number to the following query?
    Should I use rcv_transactions. If yes, what would be the join conditions.
    Kindly help as its urgent.
    Thanks in advance.
    Regards
    Avijit

    Sandeep is correct. I don't have time to tell you the correct query, but mine is something like this based on Sandeep's information:
    SELECT rsh.receipt_num
    FROM   rcv_transactions      rcvt,
           po_lines_all          pla,
           rcv_shipment_headers  rsh
    WHERE  rcvt.shipment_header_id   = rsh.shipment_header_id
    AND    rcvt.PO_LINE_ID          = pla.PO_LINE_ID
    AND    pla.item_id              = (select distinct inventory_item_id
    from mtl_system_items
    where segment1 = '1216107-2')

  • How can i insert to word number pages after 6 pages but considering the pages before

    how can i insert to word number pages after 6 pages but considering the pages before.

    I assume this is Microsoft Word, and you want the first six pages to have no footer, subsequent pages to have a footer showing the page number.
    1. Insert a section break after the first six pages.
    2. Insert page numbers. This will add a footer with page numbers to both sections.
    3. Unlink the section 2 footer from the section 1 footer. [Click in the footer area, uncheck Link to Previous in the Header and Footer toolbar.]
    4. Delete the page number from the section 1 footer.
    Your document will now show page numbering on all pages starting with section 2.

  • How can i retrieve documents(.doc,.pdf, .txt) using forms from the database.

    How can i retrieve documents(e.g .doc,.pdf, .txt etc) using forms from the database.
    i inserted the documents using sql*loader, below is the control and data files.
    -- control file
    LOAD DATA
    infile 'load.txt'
    INTO TABLE husman
    APPEND
    FIELDS TERMINATED BY ','
    (id integer external,
    fname FILLER CHAR(50),
    docu LOBFILE(fname) TERMINATED BY EOF)
    --data file
    1,../husman/dell.doc,
    2,../husman/me.pdf,
    3,../husman/export.txt,
    in the form i have a text field to display the id and an OLE container to display the document as an icon. but when i execute query, i only get the id number and not the document.
    any help will be appreciated.
    Thanks
    Hussein Saiger

    Step by step
    1. Erase all contents and settings
    2. You'll be asked twice to confirm
    3. You'll see Apple logo and progress bar
    4. You'll see a big iPad logo on screen
    5. Configuration start
    6. Set language
    7. Set country
    8. Enable Location Service
    9. Select network, enter password and join network
    10. You'll be given 3 options (a) Setup as New iPad (b) Restore from iCloud Backup (c) Restore from iTune Backup
    11. Selected Restore from iCloud Backup
    12. You'll be required to enter Apple ID and Password
    13. Agree to Terms and Conditions
    14. Select Backup file
    15. You'll see progress bar
    16. Red slider will appear; slide to unlock; step #1 to #16 is fast
    17. Pre-installed apps will be restored first
    18. Message: Purchased apps and media will now be automatically downloaded
    19. You'll see a pageful of apps with Waiting/Loading/Installing
    20. Message: Some apps cannot be downloaded, please sync with computer

  • How can you insert "Page Break" in a pdf file so you will specify the pages

    How can you insert "Page Break" in a pdf file so you will specify the pages

    How / from what was the PDF originally created?  It would be easiest to insert page breaks into the original document, then recreate the PDF.

Maybe you are looking for