Getting Material Doc number from BDC

Hi ,
Iam updating the materail using MSCN tcode in BDC.
When the material is updated successfully through BDC.
I have to capture the Material document number of that particular material.
Please suggest me how to get the material documnet number of material which is updated through 'BDC'.
Thnaks in advance.

Hi,
After writing the call transaction,use the FM FORMAT_MESSAGES.
LOOP AT t_msg INTO fs_msg.
    CALL FUNCTION 'FORMAT_MESSAGE'
      EXPORTING
        id        = fs_msg-msgid
        lang      = sy-langu
        no        = fs_msg-msgnr
        v1        = fs_msg-msgv1
        v2        = fs_msg-msgv2
        v3        = fs_msg-msgv3
        v4        = fs_msg-msgv4
      IMPORTING
        msg       = w_message
      EXCEPTIONS
        not_found = 1
        OTHERS    = 2.
       WRITE:
         / W_message.
  ENDLOOP.                     
Declare the fieldstring fs_msg and table t_msg,then the values will be populated.
Regards,
jaya

Similar Messages

  • How get Material Doc. From Delivery

    Hi experts,
    How can i get Material Document No. from Delivery No. when PGI Complete.
    What is the Proper way to find the material document no. from delivery no.
    with best performance.

    Use table VBFA.
    select <fields> from VBFA
    where vbelv = <delno>
    and      posnv = <del line item>
    and      vbtyp_n = 'R'.
    Regards
    Vinod

  • How to get Delivery Doc Number From Picking List Number?

    Helo All...
    How can I get the delivery document numbers from the picking list numbers?
    Thanks

    Try using transaction SE16 and table VBFA- subs. doc category Q should give a list of pick list numbers the preceding document is the delivery. Note you may have to go to settings> fields for selection to choose subs doc categ.  so that it appears as a selection.

  • Function module to get material serial number status

    Hi Gurus,
    How to get get material serial number status? Is there any function module?
    TCode IQ03 to display the serial number staus, but where i can find the status (AVLB / ESTO / ECUS) of these serial number ?
    Pls help.
    Regards,
    Sankaran

    hi,
    SELECT SINGLE  equnr objnr FROM
                               equi INTO (equnr1 , objnr1)
                               WHERE sernr = wa_final-sernr
                                 AND matnr = wa_final-matnr.
        CALL FUNCTION 'STATUS_TEXT_EDIT'
          EXPORTING
            client           = sy-mandt
            flg_user_stat    = 'X'
            objnr            = objnr1
            spras            = sy-langu
            bypass_buffer    = 'X'
          IMPORTING
            line             = sttxt
          EXCEPTIONS
            object_not_found = 1
            OTHERS           = 2.
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    Regards
    siva

  • How to find Material Doc number.

    Hi experts,
    Is there a way we can identify the Material Doc number<MBLNR> from PP tables?
    Given only the following table-fields:
    afpo-kdauf
    afpo-kdpos
    afpo-aufnr
    afpo-charg
    I will be needing the Matdoc num so i can extract data from MSEG.
    Thanks,
    FAA

    hi..
    u have these fields in MSEG.
    afpo-aufnr = mseg-aufnr
    afpo-posnr = mseg-aufps
    apart from above, the following is also there..
    PS_PSP_PNR - WBS element
    NPLNR - Network Number - same as aufnr
    AUFPL - Routing number of operations in the order
    regards,
    Padma
    Edited by: Padmashree RamMaghenthar on Oct 15, 2008 1:57 PM

  • How do I get my UDID number from my ipod if I can't plug it into itunes?  Apple took it back because it was broken and gave me a new one but I have games and apps that can only be moved over with the UDID from the old pod.

    How do you get the UDID number from your ipod if you don't have the ipod anymore.  The apple store took it because it wasn't working so I can't plug it in to get the number.  Some of my apps are associated wtih that number and I can't move them to my new Ipad without that number.  Any ideas?

    Hi KT. I restored my information back to November 10th and the one app that I need the info on is still empty like I just downloaded it. Do you have another suggestion? I was able to track down my serial number but can't get the UDID without plugging it in and I no longer have it. Suggestions?

  • Can anyone help me get a serial number from Adobe & Identit-e?

    I bought the Adobe Creative Suite 6 Design Standard Student & Teacher edition through Amazon online. I followed the instructions inside the package to verify my eligibilty as an educator. I received a message on the screen after submitting my materials that I was verified & I would be receiving a serial number.  This was on June 1. I contacted Adobe Chat and a rep. told me to wait 2 -3 business days, but still no email with serial number had arrived. On June 7, I contacted Adobe Chat again and the rep told me to contact customer service at identit-e.  I have sent  identit-e two emails with no response. It has been one week of trying to get my serial number from either Adobe or identit-e.  Can anyone help me get my serial number?
    Product Code <removed by moderator>. 
    My work email is <Removed by moderator>

    Jeff,
    I ordered through Amazon and not through Adobe so there is not a record of my order on the Adobe website.  I do have a record of the order with Amazon so I requested a refund through Amazon.  The product is unusable without the serial number.  It has been 8 days since my eligibility  was verified with identit-e.  I have spoken with three Adobe rep.s and two unanswered email to identit -e trying to get the serial number since I was verified as eligible to receive the student/educator version of Creative Suites. I am very disaapointed with the lack of help I have received from Adobe with this issue.
    Being referred to identit-e or to a FAQ page is not what I needed to solve the problem- I needed the serial number  I have lost complete confidence in Adobe's customer service and that the serial number will ever be provided.
    Kathie

  • My iPod touch was stolen. Can you tell me how I can get the serial number from my iTunes account?, My iPod touch was stolen. Can you tell me how I can get the serial number from my iTunes account?

    My iPod touch was stolen. Can I get the serial number from my iTunes account?

    See the end of:
    - If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone. If the iPod has been restored it will never show up.
    - You can also wipe/erase the iPod and have the iPod play a sound via iCloud.
    - If not shown, then you will have to use the old fashioned way, like if you lost a wallet or purse.
    - Change the passwords for all accounts used on the iPod and report to police
    - There is no way to prevent someone from restoring the iPod (it erases it) using it.
    - Apple will do nothing without a court order                                                
    Reporting a lost or stolen Apple product                                        
    - iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number

  • If my ipod was stolen can i get my serial number from apple?

    how would i get my serial number through apple store if it was stolen today? i need it ASAP beause im in school and the day ends at 1:45...someone help me please

    I don't believe you can get your serial number from Apple since they have know way of knowing that you are indeed you, but you can call Apple tech support at 1-800-275-2273 (if you have a cellphone or can make an 800 call from school) and ask.
    Otherwise, if you have access to a computer to which you synced the iPod, or someone you can call does, you can find the serial number in iTunes on that computer. See:
    http://support.apple.com/kb/HT1459#one
    Regards.

  • HT1349 My Ipad was stolen, How can I get the serial Number from Apple. It was registered with them

    I had  2 Ipads, a mac book pro and a Mac Air stolen 2 weeks ago
    I am trying to locate one of the serial numbers, but cant find the last box.  Can I get the serial number from Apple. It was registered and now it is not showing up as one of my products.
    Thanks

    The easiest way to find your serial number is this Open Itunes...click help... run diagnostics.....(tick or untick as necessary) so that you just have ticked the last two,  device connectivity and device sync.  run these tests. it will say no ipod/ipad found but will give results of test....scroll down to bottom of results... here you will find the serial number of your last attached devices.

  • How to get payment document number from paid column in monthly invoice

    Dear experts
    I use SBO japan version and i need to know how to get payment document number from paid column in monthly invoice ?
    in table MIN1, only contain invoice and credit note document number, there is no payment document number
    thank you for your help
    Best Regards
    JeiMing

    Dear Gordon
    Yeah, you are right, i can use field MIentry in RCT2
    thank you
    Best regards
    jeiming

  • Getting valid idoc number from the sales document

    hi,
    Iam sending the code for getting the idoc number from sales document.
    but iam not getting the result.
    please see the code and correct the code so that i will get the idoc number from the sales document.
    tables edid4.
    data l_docnum like edid4-docnum.
    parameters:p_vbeln like vbak-vbeln.
    call function 'CONVERSION_EXIT_ALPHA_INPUT'
      exporting
        input         = p_vbeln
    IMPORTING
       OUTPUT        = p_vbeln
    select single docnum from edid4 into l_docnum where sdata like '&p_vbeln&'.
    if sy-subrc = 0.
    write edid4-docnum.
    else.
    write ' the record is not found'.
    endif.
    it is very urgent..............
    thanks in advance......

    See the below code :
    report zxyz.
    tables edid4.
    data l_docnum like edid4-docnum.
    parameters:p_vbeln like vbak-vbeln.
    <b>data sdata like edid4-sdata.</b>
    start-of-selection.
    call function 'CONVERSION_EXIT_ALPHA_INPUT'
    exporting
    input = p_vbeln
    IMPORTING
    OUTPUT = p_vbeln
    <b>concatenate '%' p_vbeln '%' into sdata.</b>
    select single docnum from edid4 into l_docnum
                  where sdata like <b>sdata.</b>
    if sy-subrc = 0.
    write edid4-docnum.
    else.
    write ' the record is not found'.
    endif.
    Thanks
    Seshu

  • Function Module to get Material Document Number

    Hi All,
    I want to get the Material Document Number based on the Material, batch ,movement type and plant. Is there any function module to achieve this, without going to MSEG table.

    check this might help you..
    Get Material Document Number and Material Document Year
    Regards
    Kumar

  • I keep getting an invalid serial number when re-installing Adobe Acrobat 9 I am getting my serial number from my registered products

    I keep getting an invalid serial number when re-installing Adobe Acrobat 9 I am getting my serial number from my registered products

    If it was an upgrade version, it may be you are being asked for the qualifying product S/N and are entering the new S/N instead. That would cause a problem.

  • Can i get my serial number from itunes without connecting my ipod?

    cani i get my serial number from itunes without connecting my ipod?

    Yes, but first you have to make a hat out of aluminum foil, sacrifice 2 pounds of red jelly beans to the serial number god, run around the block three times on one leg while chanting OH Wa Ta Goo Siam.   When you get back home the serial number will be written on a piece of paper inside a mayonaise jar that is buried exactly 49.475 feet NNW of the southeast corner of your house...  But don't tell anyone I told you this....
    Now where's my hat....

Maybe you are looking for

  • I have an hp office jet 4500 and os maverick 10.9.4 and I can't get it to print after last upgrade, multiple malfunctions and error, help?

    I have an hp office jet 4500 and os maverick 10.9.4 and I can't get it to print after last upgrade, multiple malfunctions and error, help? I have tried deleting and resetting printer and re-installing update 6 times. Last update attempt showed none a

  • Is BB Curve 9320 for me?

    Hi guys! i'm not already a BB user, but i need to have some info about this device before i buy it. Now i explain you my situation: i actually use a GMail acount ([email protected]) to receive business emails that cusotmers write me at [email protect

  • Paste found text in new frame

    I have this script to find my desired text: var myDoc = app.activeDocument; // Creates  service Text Frame myDoc.textFrames.add({     geometricBounds: [50,-300,740,-70], fillColor: "C=100 M=0 Y=0 K=0", fillTint: 20, name: "Summary" //Find  text app.f

  • Playback Control in Captivate 4 as it was in version 3

    Hi! I have some projects made using the version 3. When publishing them in that old Captivate, the playback control (stop, pause, etc buttons) was placed inside the borders of the project, so the measures of the whole movie (swf file) wasn't being ch

  • Need to Format iPod!!!

    Please help me. I need to re-format my iPod. It is not able to connect to my mac. Here's my previous posting: Hi My iPod is unable to connect to my mac. I get an error saying that this is not an OSX volume. I've been to the restore page and no luck t