Info Record IDOCs

Hello,
I am working on a project that will use IDOCS to create/update Info Records and Price Conditions under the Info Records.  Also the project will use IDOCS to create/update Source List information.
At this time I am aware that we need to use INFREC01 format for the Info Records, the COND_A01for the Price Conditions, and the SRCLST01 for Source List.
The problem I have is I do not know these formats.  Is there more detailed documentation than what WE60 provides to understand these IDOC formats?  Is there a way to generate sample IDOCS for these formats?  There is no output from the transactions that generate these documents, so I do not know how to generate IDOCS for them. 
Any information on where I can get more detailed information on these formats would be VERY useful and appreciated!

Hello Jurgen,
This is very helpful information.  However, when I attempt transaction ME18, I get the following messages:
1 master IDocs set up for message type INFREC
0 communication IDoc(s) generated for message type INFREC
These IDOCS are not like ORDERS or INVOIC, so I do not believe there is anything I can setup like I can for the others under NACE.  I did add INFREC to the outbound parameters under the partner profile I was using, but this did not change anything.  Any additional direction you can give me to get this to work?
Also is there a transaction similar to ME18 for Price Conditions and Source List?
Thanks,
Kent

Similar Messages

  • Creating Conditions for Purchase Info Records using IDoc COND_A01

    Hi All,
    we are using IDOC COND_A01 to update and add conditions in ME12 transactions.
    But when we send a condition IDoc which contains 2 condition types (Segment KONP), the standard function call creates only one database entry in the table KONP. The entry in KONP is for  standard condition types PB00, but not  for company specific types (Say: ZABC) .But when we create them manually in ME12 maintaining an purchase info record  we get both the entries in the KONP database table.
    Has anyone come accross such a problem? Is there any special field in the IDoc COND_A01 which controls the creation of the condition types?
    Thanks for any answer!

    U should use basic type INFREC01 instead of NFRECMASS01.
    Within the FM there is a check for basic type like:
    check idoc type
        if f_idoc_control-idoctp <> c_idoctp_infrec01. " INFREC01
          raise wrong_function_called.
        endif.
    Edited by: Joyjit Ghosh on Sep 15, 2008 4:57 PM

  • Create Info record with IDOC

    Hi gurus,
    I would like to create info records from external system through IDOC. Can someone help me with this?
    Regards,
    Marina

    Thanks for the fast answer.
    We are trying to make Info record with IDOC INFREC (function module idoc_input_infrec). We create successfully info record, but the problem is that the NETPRICE = 0 and also VALID TO DATE = 31129999 (because no price).
    Please, if you need some more details, let me know.
    Thanks!
    Marina

  • IDoc status 51 - LSMW for Creating Purchasing Info Records

    Dear All,
    My req is to create a Conversion for Purchasing Info Records. LSMW's IDoc method is used to develop this conversion wherein Message Type "INFREC" and Basic Type "INFRECMASS01" are being used.
    In the 14th step (Start IDoc Processing), I 'am getting the IDoc status "51" and Status Text "Application document not posted". If I double click on respective IDoc number, I got its Control record, Data records, and Status records; in the status records I can see "51" in Red color with the message "Function module not allowed: IDOC_INPUT_INFREC". If I double click on this it asks me to check the process code...
    Request you guys to resolve the issue....
    Solution will b rewarded.. Thanks in advance....

    I shouldnot use basic type INFREC01 instead of NFRECMASS01.
    'coz Within the FM there is a check for basic type like:
    check idoc type
    if f_idoc_control-idoctp c_idoctp_infrec01. " INFREC01
    raise wrong_function_called.
    endif.
    Even one can go to WE57 and see the basic Type INFREC01 assigned to the FM IDOC_INPUT_INFREC, hence one shud use this basic type...

  • IDoc status 51 - LSMW for Creating Purchasing Info Records using IDoc meth

    Dear All,
    My req is to create a Conversion for Purchasing Info Records. LSMW's IDoc method is used to develop this conversion wherein Message Type "INFREC" and Basic Type "INFRECMASS01" are being used.
    In the 14th step (Start IDoc Processing), I 'am getting the IDoc status "51" and Status Text "Application document not posted". If I double click on respective IDoc number, I got its Control record, Data records, and Status records; in the status records I can see "51" in Red color with the message "Function module not allowed: IDOC_INPUT_INFREC". If I double click on this it asks me to check the process code...
    Request you guys to resolve the issue....
    Solution will b rewarded.. Thanks in advance....

    U should use basic type INFREC01 instead of NFRECMASS01.
    Within the FM there is a check for basic type like:
    check idoc type
        if f_idoc_control-idoctp <> c_idoctp_infrec01. " INFREC01
          raise wrong_function_called.
        endif.
    Edited by: Joyjit Ghosh on Sep 15, 2008 4:57 PM

  • Create Purchase info record using LSMW idoc method

    Hello Friends,
    I am trying to update Purchase Info records using LSMW Standard program RM06IBI0.
    But it is not updating the condition price details and scale Quantity.
    For that the  form  suggessted LSMW IDOC method. with : Message Type         COND_A / COND_A02.
    But i dont know is the info record created earlier to this step or else we can create both using this method
    at a time ?  Does anybody please suggest.
    ( Actually Purchase Info record created using transaction  ME11 ).
    Regards,
    Phaneendra

    you first create the info record and subsequently you load the conditions.
    become familiar with the condition tables and its key first. Check How table A017 and A018 are maintained.
    Intresting is the field VAKEY which is actually the link to your info record.
    This is a combination of vendor, material, purchasing org, plant , and info record indicator.
    data:  begin of ZZVARKEYA,
            ZLIFNR like LFM1-LIFNR,
            ZMATNR like MARc-MATNR,
            ZEKORG like LFM1-EKORG,
            ZWERKS like MARC-WERKS,
            ZINFTYP like EINE-ESOKZ,
            end of zzvarkeyA.

  • BAPI or IDOC to upload quality info record transaction QI01

    Hi,
    If any one knows any BAPI or IDOC to upload quality info record do let me know.
    regards
    Ranveer

    Hi,
    Have you tried doing this in ECATT??
    See this Link:
    http://help.sap.com/bestpractices/BBLibrary/Documentation/G09_BB_InstallGuide_EN_DE.doc

  • Pur. Info Records by BAPI and Idoc

    Hi,
    Am uploading Purchasing Info Records by LSMW-Direct method.
    Can anyone guide to do the same by BAPI and also by Idoc method...
    Please let me know the advantages and disadvantages for the above methods over another.
    Thanks

    Idoc type :INFREC01
    message type : INFREC
    FM : IDOC_INPUT_INFREC
    I have done output and above details are inbound ,i guess it should work
    I do not know about BAPI ..
    Thanks
    Seshu

  • How can we create info record using IDOC INFREC?

    Hi Friends,
    Can we create info record using IDOC INFREC. If Yes. How?
    Regards,
    Narendra

    Using IDOC INFREC & FM IDOC_INBOUND_SINGLE

  • BAPI or IDOCs  for Quality info records

    I want to know which BAPI or IDOCs is used to upload the Quality info records data from legacy system to SAP.

    Hi Raghu
    Below is the BDC program I was used for the same.
    Program Name : YX30_UPLOAD_QUALITY_INFO
    Author : Rameshwar Yadav *
    Date : 2006-11-27 *
    Description : The purpose of this program is to upload the *
    Quality Info Record for I30 System *
    Original Transport Number : I30K903055 *
    SYS id: SYS_30_1502_03_41_Upload Quality Info Records *
    TDS id: TD_30_1502_03_41_Upload Quality Info Records *
    UT ID: UT_30_1502_03_41_Upload Quality Info Records *
    ======================================================================
    Change History *
    Date | Change No | Name | Description *
    yyyy/mm/dd | AAAYYYYMMDD | xxxxxxxxxxxx | *
    REPORT YX30_UPLOAD_QUALITY_INFO MESSAGE-ID yx30_conversions
    no standard page heading line-size 255.
    include yx30_upload_quality_info_top. "Include for Variable Declaration & Selection Screen
    include yx30_upload_quality_info_data. "Include for File read & Authority Check
    *& At Selection Screen Output *
    AT SELECTION-SCREEN OUTPUT. "PBO
    PERFORM fill_parameters.
    *& Start Of Selection Event *
    start-of-selection.
    Perform Authority_check. "Subroutine for authority check
    Perform prepare_file. "Subroutine for preparing file
    perform file_read. "Subroutine for File read
    perform update_qi01. "Subroutine for Uploading data
    perform write_error_log1. "Subroutine for writing error log
    *& Form write_error_log
    text
    --> p1 text
    <-- p2 text
    *& Include YX30_UPLOAD_QUALITY_INFO_TOP
    Type Declaration
    Types: Begin of type_qtyinf,
    matnr type matnr, "Material No
    lieferant type char10, "Vendor
    werk type werks_d, "Plant
    frei_dat type char10, "Frei_Dat
    stsma type char8, "Stsma
    anwso_01 type char1, "ANWSO(01)
    anwso_02 type char1, "ANWSO(02)
    anwso_03 type char1, "ANWSO(03)
    end of type_qtyinf.
    Internal Table Declaration
    Data: itab_qtyinf type standard table of type_qtyinf. "Internal table for QTYINF.
    Work Area Declaration
    Data: wa_qtyinf type type_qtyinf. "Work Area for QTYINF.
    Variable Declaration
    Data: v_file_qtyinf type string, "Source File Name
    v1 type string,
    v2 type string,
    v3 type string,
    v_file_return type string,
    v_lin TYPE n.
    *Selection Screen Declaration
    selection-screen *
    SELECTION-SCREEN BEGIN OF BLOCK blk1
    WITH FRAME TITLE text-s01.
    PARAMETER:
    p_sysid(3) TYPE c OBLIGATORY , "Source System
    p_bukrs(4) TYPE c OBLIGATORY , "Source CompCode
    p_samshr type char30 lower case obligatory default '/sap_upload/' , "Samba Share Drive
    p_object TYPE CHAR10 OBLIGATORY default 'MAT' . "Migration Data Object
    SELECTION-SCREEN END OF BLOCK blk1.
    SELECTION-SCREEN SKIP 3.
    PARAMETER:
    cb_pfill TYPE c AS CHECKBOX DEFAULT 'X' . "Prefill values?
    SELECTION-SCREEN COMMENT /1(79) text-s1a.
    SELECTION-SCREEN BEGIN OF BLOCK blk3
    WITH FRAME TITLE text-s03.
    PARAMETER:
    pa_filn1(500) TYPE c LOWER CASE
    VISIBLE LENGTH 50 , "Filename AppServer
    pa_dlimt TYPE c DEFAULT ';' . "Field Delimter
    SELECTION-SCREEN END OF BLOCK blk3.
    include bdcrecx1. "Include for the subroutine
    *& Include YX30_UPLOAD_QUALITY_INFO_DATA
    *& Form file_read
    Subroutine for reading the source file into internal table
    --> p1 text
    <-- p2 text
    FORM file_read .
    DATA:
    single_line TYPE string .
    *-- read file, split lines into fields and put data into table
    OPEN DATASET v_file_qtyinf FOR INPUT IN TEXT MODE ENCODING NON-UNICODE. "Opening the files
    IF sy-subrc EQ 0.
    DO.
    READ DATASET v_file_qtyinf INTO single_line. "Reading the content of file into line
    IF sy-subrc = 0.
    IF sy-index > 1. "skip header-line
    SPLIT "Split the content of line into work area
    single_line
    AT ';'
    INTO
    wa_qtyinf-matnr "Material No
    wa_qtyinf-lieferant "Vendor
    wa_qtyinf-werk "Plant
    wa_qtyinf-frei_dat "Frei Date
    wa_qtyinf-stsma "STSMA
    wa_qtyinf-anwso_01 "ANWSO_01
    wa_qtyinf-anwso_02 "ANWSO_02
    wa_qtyinf-anwso_03. "ANWSO_03
    APPEND wa_qtyinf TO itab_qtyinf. "Appending Work Area to internal table
    ENDIF.
    ELSE.
    EXIT.
    ENDIF.
    ENDDO.
    CLOSE DATASET v_file_qtyinf. "Closing the files
    ELSE.
    MESSAGE e015 .
    ENDIF.
    DESCRIBE TABLE itab_qtyinf LINES v_lin.
    IF v_lin LT 0.
    MESSAGE e016 .
    ENDIF.
    ENDFORM. " file_read
    *& Form fill_parameters
    Subroutine for getting the file name
    FORM fill_parameters .
    IF cb_pfill = 'X'.
    Preparing QTYINF File
    CONCATENATE p_sysid '_forward' INTO v3.
    CONCATENATE p_sysid '_QTYINF_' p_bukrs '.CSV' INTO v2.
    CONCATENATE p_samshr v3 '/' p_object '/' v2 INTO pa_filn1.
    ENDIF.
    ENDFORM. " fill_parameters
    *& Form Authority_check
    Authority Check
    --> p1 text
    <-- p2 text
    FORM authority_check .
    Authority Check For the Migration
    AUTHORITY-CHECK OBJECT 'YX30_MIGR'
    ID 'SYSTEM' FIELD p_sysid
    ID 'BUKRS' FIELD p_bukrs
    ID 'YX30_DMOBJ' FIELD p_object
    ID 'ACTVT' FIELD '16'.
    IF sy-subrc <> 0.
    MESSAGE e010 WITH p_sysid p_bukrs p_object.
    ENDIF.
    ENDFORM. " Authority_check
    *& Form prepare_file
    text
    --> p1 text
    <-- p2 text
    FORM prepare_file .
    CONCATENATE p_sysid '_forward' INTO v3.
    CONCATENATE p_sysid '_QTYINF_' p_bukrs '.CSV' INTO v2.
    CONCATENATE p_samshr v3 '/' p_object '/' v2 INTO v_file_qtyinf.
    CLEAR v3.
    CLEAR v2.
    Prepare Return File
    CONCATENATE p_sysid '_forward' INTO v3.
    CONCATENATE p_sysid '_RETRUN_LOG_' p_bukrs '.CSV' INTO v2.
    CONCATENATE '/sap_upload/' v3 '/' 'MAT' '/' v2 INTO v_file_return.
    ENDFORM. " prepare_file
    *& Form update_qi01
    text
    FORM update_qi01.
    PERFORM open_group. "Opening a session
    CLEAR wa_qtyinf.
    LOOP AT itab_qtyinf INTO wa_qtyinf.
    PERFORM bdc_dynpro USING 'SAPMQBAA' '0100'. "Subroutine for mapping data
    PERFORM bdc_field USING 'BDC_CURSOR'
    'QINF-MATNR'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    PERFORM bdc_field USING 'QINF-MATNR'
    wa_qtyinf-matnr. "Mapping the material
    PERFORM bdc_field USING 'QINF-LIEFERANT'
    wa_qtyinf-lieferant. "Mapping the vendor
    PERFORM bdc_field USING 'QINF-WERK'
    wa_qtyinf-werk. "Mapping the plant
    PERFORM bdc_dynpro USING 'SAPMQBAA' '0101'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=STAN'.
    PERFORM bdc_field USING 'QINF-FREI_DAT'
    wa_qtyinf-frei_dat.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'QINF-STSMA'.
    PERFORM bdc_field USING 'QINF-STSMA'
    wa_qtyinf-stsma. "Mapping the status
    PERFORM bdc_dynpro USING 'SAPLBSVA' '0201'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'J_STMAINT-ANWSO(01)'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=OKAY'.
    IF wa_qtyinf-anwso_01 = 'X'.
    PERFORM bdc_field USING 'J_STMAINT-ANWSO(01)'
    wa_qtyinf-anwso_01. "Mapping the anwso(01)
    ELSEIF wa_qtyinf-anwso_02 = 'X'.
    PERFORM bdc_field USING 'J_STMAINT-ANWSO(02)'
    wa_qtyinf-anwso_02. "Mapping the anwso(02)
    ELSEIF wa_qtyinf-anwso_03 = 'X'.
    PERFORM bdc_field USING 'J_STMAINT-ANWSO(03)'
    wa_qtyinf-anwso_03. "Mapping the anwso(03)
    ELSEIF wa_qtyinf-anwso_01 = 'X' AND wa_qtyinf-anwso_02 = 'X'.
    PERFORM bdc_field USING 'J_STMAINT-ANWSO(01)'
    wa_qtyinf-anwso_01.
    PERFORM bdc_field USING 'J_STMAINT-ANWSO(02)'
    wa_qtyinf-anwso_02.
    ELSEIF wa_qtyinf-anwso_01 = 'X' AND wa_qtyinf-anwso_03 = 'X'.
    PERFORM bdc_field USING 'J_STMAINT-ANWSO(01)'
    wa_qtyinf-anwso_01.
    PERFORM bdc_field USING 'J_STMAINT-ANWSO(03)'
    wa_qtyinf-anwso_03.
    ELSEIF wa_qtyinf-anwso_02 = 'X' AND wa_qtyinf-anwso_03 = 'X'.
    PERFORM bdc_field USING 'J_STMAINT-ANWSO(02)'
    wa_qtyinf-anwso_02.
    PERFORM bdc_field USING 'J_STMAINT-ANWSO(03)'
    wa_qtyinf-anwso_03.
    ELSEIF wa_qtyinf-anwso_01 = 'X' AND wa_qtyinf-anwso_02 = 'X' AND wa_qtyinf-anwso_03 = 'X'.
    PERFORM bdc_field USING 'J_STMAINT-ANWSO(01)'
    wa_qtyinf-anwso_01.
    PERFORM bdc_field USING 'J_STMAINT-ANWSO(02)'
    wa_qtyinf-anwso_02.
    PERFORM bdc_field USING 'J_STMAINT-ANWSO(03)'
    wa_qtyinf-anwso_03.
    ENDIF.
    PERFORM bdc_dynpro USING 'SAPMQBAA' '0101'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'QINF-FREI_DAT'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=QMBU'.
    PERFORM bdc_field USING 'QINF-FREI_DAT'
    wa_qtyinf-frei_dat.
    PERFORM bdc_field USING 'QINF-STSMA'
    wa_qtyinf-stsma.
    PERFORM bdc_transaction USING 'QI01'.
    ENDLOOP.
    PERFORM close_group. "Closing the session
    ENDFORM. "update_qi01
    *& Form write_error_log
    text
    --> p1 text
    <-- p2 text
    FORM write_error_log1 .
    DATA:
    single_line TYPE string,
    v_msg TYPE string,
    v_msg1 TYPE string.
    *-- read file, split lines into fields and put data into table
    OPEN DATASET v_file_return FOR INPUT IN TEXT MODE ENCODING NON-UNICODE. "Opening the files
    IF sy-subrc EQ 0.
    CONCATENATE text-020 v_lin INTO v_msg SEPARATED BY space.
    CONCATENATE text-021 v_lin INTO v_msg1 SEPARATED BY space.
    TRANSFER: v_msg TO v_file_return.
    TRANSFER: v_msg1 TO v_file_return.
    WRITE:/ v_msg.
    WRITE:/ v_msg1.
    ENDIF.
    ENDFORM. " write_error_log
    Regards,
    Sree

  • Creation of purchase info using IDOC

    We have a requirement where we creating the purchase info (ME11) via IDOC.
    Currently we are using basic type "INFREC01" to create Info records.
    But this IDOC type has limitations, as this IDOC does not contain scale quantity & some other fields.
    To add these fields we have another IDOC type "COND_A04".
    So, using this IDOC type to create condition Scale Quantity.
    When i am trying to test this basic type COND_A04 in WE19 provding the condition type PB00 and the condition table 017 it gives me error of "Table not available". (checked the condition table in T681 for the condition type pb00)
    Can i know how this can be handled?

    looks like it accepted A017.
    Why did you choose basis type COND_A04 ?
    As this one is very special for long material numbers ( more than 18 digit material numbers) do you have such?
    E1VFSCAH is the Scale header in case of dimension specific scales. do you have such?
    Just try it with COND_A01

  • Mass Creation of Material Group Purchase info record

    Dear All
    Currently we are developing a custom transaction in SAP to mass upload Purchase Info records from a flat file (excel)
    We are using the standard Function Module ME_POST_INFORECORD to create the PIR s
    We use two different number ranges for Material and Material Group PIR s. This is set up already in SPRO>MM>PIR>Define Number Ranges
    Purchasing info record for stock material (Group - IL ) have a number range X
    Purchasing info record for material group (non-stock mat.)(Grpup -IN) have number range Y
    So when we create a Material PIR manually in SAP it picks X number range and  Y number range for Material Group PIR
    But when we create Material Groups PIR via the new custom transaction it creates PIR s with Number range X.
    Upon checking understood that the standard FM ME_POST_INFORECORD is always defaulting the Number Range Group as IL internally . Seems like a harcoding done by SAP
    Wanted to know
    - Is there any another FM we should consider while creating Material Group PIR s. Any other Function module provided by SAP for that ?
    - Or what can be other way to resolve this ?
    Please let me know your views on this.
    Regards
    Shyam

    Hi,
    For mass upload from flat files you can consider LSMW with different options e.g. IDoc:
    Message Type         INFREC
    Basic Type           INFRECMASS01
    or simply via recording of transaction (this should be using exactly the same NR as you have when doing this manually).
    Regards,
    Tomek

  • BDC for Purchase info records in AFS

    Hi Everyone,
    I could not found any BAPI,IDOC,FM with supports for uploading purchase info records in AFS, is the only way is to do is recording or any thing else supports.
    Regards,
    Srinath.

    Hi Srinath,
    You have posted on a wrong forum.  Please close your thread.
    You may check this thread and post to your question there:
    *The operation cannot be carried out with this node type*
    Thanks,
    Gordon

  • Conditions in purchase info records

    I need to migrate purchase info records including conditions in LSMW in one step via IDoc or BAPI.
    Message type INFREC does not seem to support conditions. I tried to migrate in two steps with INFREC and afterwards COND_A, but I get the error that the condition table (014) is not supported.
    Can anybody help ?
    Kind regards
    Alex

    Hello ,
    you can also use standard program RM06IBI0 if allowed for you.
    David

  • Changing/Updating info record

    Hello!
    Please help me to know how can I programmatic update or change info record?
    I have looked for BAPI, but not successful. I found FM ME_UPDATE_INFORECORD. Can I use this and whether using it to be correctly?
    Thanks.

    I have used INFREC01.  It is true that this Idoc doesn't do the pricing conditions.  In the same program I follow up the INFREC01 Idoc with a COND_A02.  I use IDOC_INBOUND_SINGLE to post the INFREC01.  This function will pass back the IDoc number.  You can then read the status table for this IDoc and only attempt to post the COND_A02 if the INFREC01 was successful.

Maybe you are looking for

  • Error Running Forms: Failure of server APACHE bridge

    Hi Everyone, I have this problem on windows 7 64-bit... installation went fine without any errors. Forms was working fine, i was able to run test form, and a form that i created, and both were running properly.. suddenly, while testing a new form mod

  • How do I move pics from my pc to a iPad?

    How do I move pictures from my PC to my iPad?

  • Apply different styles to text within a Text field?

    I am working on an application that consumes a user-generated HTML file and displays it on part of a Flex screen. The main problem is HTML can look something like this (for example): Hello <span class="greeting">Mr. Smith</span>, how are you doing <s

  • Photoshopversion for mac and windows when switching?

    Hi, I have used now the photoshop trial version for windows for windows for a while and would like to buy the full version. However I will switch to a mac in December or January and would really appreciate If I would be able to start out with photosh

  • Choose macbook pro.

    Hi, I need to know which macbook pro I should by for my needs. I'm a graphic designer and I've been working for one year with an iMac 21,5" 3.06 GHz Intel Core 2 Duo 8GB Ram and never had any problem of velocity also using many programs at the same t