Skip to Content
author's profile photo Former Member
Former Member

conversions

hi,

i have a poblem in bdc. plz solve this.

while we upload the data using the call transaction we are handling the messages also. but when using the call transaction with 'A' mode we are getting message with vendor number , company code , purchasing organisation record is created. but when we used the 'N' mode the above message is not getting . inorder to get that message. could anyone help with some code.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Jan 17, 2008 at 01:46 PM

    hi,

    Declare one internal table like BDCMSGCOLL and

    use FM:FORMAT_MESSAGE

    check this example..

    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 17, 2008 at 01:50 PM

    what about using mode 'E'?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 17, 2008 at 01:54 PM

    what u do is declare ineternal table it_messages

    data : it_messages like BDCMSGCOLL occurs 0 with header line.

    data : v_message(100) type c.

    call transaction NNNN using it_bdcdata mode 'N' update 'S' messages into it_messages.

    loop at it_messages.

    call function 'format_message'

    exporting

    *--details of it_messages

    importing

    v_message.

    write :/ v_message.

    clear v_message.

    endloop.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.