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

IDoc type for vendor master update/change

what is the IDoc type used to update vendor master table or change vendor master table(LFA1).or is there any IDoc type to change vendor master table for the inbound vendor update interface please provide me the details and thanks in advance

srini

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Oct 11, 2005 at 09:52 PM

    Look for the IDOC types CRE*(CRECOR01,CREMAS01, CREMAS02, CREMAS03).

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 12, 2005 at 01:56 AM

    Hi ,

    The function module is IDOC_INPUT_CREDITOR.

    Message type - CREMAS

    Idoc Type - CREMAS03/04 ( depending on your SAP version )

    Process Code - CRE1.

    Cheers.

    ( Dont forget to reward if answers were helpful ).

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 13, 2005 at 09:56 PM

    Hi Srinivas/Sanjay

    I am satisfied with your answer so I need to use CREMAS03 IDoc type for updating the vendor master table LFA1 using the function module IDOC_INPUT_CREDITOR well I am testing using the transaction we19 where i am updating the address data so when there is no data in the IDoc then the data available in the screen of XK02 is getting deleted and i am using the function 004 (MSGFN)(like for example TELFX data is empty in IDoc but thereis some value in XK02 screen that is getting replaced with spaces) kindly provide me the details.Does MSGFN value makes all changes or what?????

    Advance thanks for srinivas/sanjay.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Srinivas ,

      For some IDOC types MSGFN would mean Create / Change / Delete etc.

      VALUE '009'. "New

      VALUE '004' "Change

      VALUE '005'. "Refresh

      VALUE '023'. "Synchronisation

      VALUE '003'. "Deletion

      VALUE '018'. "Reissue

      If you use MSGFN '004' or '005' , the system will try to copy whatever is there in IDOC to the vendor master . If a field is blank it will be deleted in Vendor master or if it has a vlaue it will overwrite the value in vendor master . If you do not want to change a field value , just pass a NODATA "/" character in that field ( Without quotes ) . So better pass NODATA in all the fields and give value in only the required fields.

      Cheers

      ( If you problem solved close the thread and reward points if answers were helpful )

  • author's profile photo Former Member
    Former Member
    Posted on Oct 14, 2005 at 06:29 PM

    Hi Sanjay

    Well I am convinced with your answer thanks for the reply(100% appreciated) but i have a potential difficulty here any way i am testing manually using WE19 (So i can put '/' in the fields i dont want)how does this need to be programmed in the real time scenario(as i am goin on for all the standard things)do i need to use the user exit or i need to use the total custom function module or how i should proceed

    please provide me the details

    Advance thanks

    Thanks

    srini

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Srinivas ,

      There is one user exit EXIT_SAPLKD02_001 , but this is for custom segments and is called after the IDOC has posted

      You can create conversion rules for the segments in which you want to convert data .

      Transaction SALE -> Modelling & Implementing Business Process -> Converting data Between sender and receiver.

      You have to do all the three steps -

      Create Rule / Maintain Rule - ( Here you will find the options to convert various fields of a segment ) / Assign Rule to message Type ( Sender + Receiver ).

      ( this conversion takes place in ALE layer before IDOC is passed to application ) .

      In craete rule you will create a rule for the segment you want to convert. In maintain rule you will actually give the logic to individual field which you want to convert .

      Cheers.

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.