Skip to Content
avatar image
Former Member

LSMW - Inspection Plan Upload - Direct Input Method

Dear friends,

I am using LSMW - Direct input method for uploading the inspection plans (Program Name - RCPTRA01).

I have prepared three files for Header, Operations and Characteristics. But while uploading I am not understating how to set the logic of connection between the three files.

The only fields common in all three files seem to be Group and Group counter. But we want to set Group number as an internal number. Hence can not be specified. Due to this, the program is not able to pick up the right connections between the files.

Please let me know how to do it.

Regards,

Avinash

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • avatar image
    Former Member
    Jan 22, 2010 at 06:54 AM

    Hi Avinash,

    Its your intrest to upload the data,but If uploaded the Qplan using BDC it would be easy and fast without error.only small work is required is

    1. Record the transcation using SHDB.

    2. Ask Abaper to create program.it will take few mins to do that.

    3. upload it.

    Even mass data can be uploaded.if the plans are less then also its safe and easy method.

    Thanks and Regards,

    VJ

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 22, 2010 at 08:26 AM

    Hi

    It would be very difficult to use LSMW for upload the Inspection plan that too with three different files.

    Best way is to use BDC may be along with BAPI : BAPI_INSPECTIONPLAN_CREATE.

    Also search in SDN PLM & QM to upload the Inspection plan through BAPI_INSPECTIONPLAN_CREATE.

    You will get lot of support

    Regards

    Sujit

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 22, 2010 at 08:10 AM

    As u said, u have made 3 files

    then upload these files 1 by one

    as group number is internally generated upload Header file first so that group number will be generated

    keep this group number as input in operation file and Characteristics filr

    after header upload operations and then characteristics

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 02, 2010 at 03:11 PM

    You must create a field in each load file that ties all files together. You can use a random number or the legacy number, it doesn't matter. This field does not need to be loaded. That way, LSMW is able to group all information that belongs together in an inspection plan:

    Example

    Header:

    RANDOM_NUMBER_1 | HEADER_INFO_1

    RANDOM_NUMBER_2 | HEADER_INFO_2

    Item:

    RANDOM_NUMBER_1 | ITEM_INFO_1A

    RANDOM_NUMBER_1 | ITEM_INFO_1B

    RANDOM_NUMBER_2 | ITEM_INFO_2A

    LSMW will identify the first two items as belonging to HEADER_INFO_1.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 26, 2011 at 12:31 AM

    Hi Avinash ,

    Did you find a solution to the problem . I am struck up with similar problem while creating inspectin plan through standard program using three files . The group counter is not getting generated automatically. If you have found the solution please post .

    Thanks

    Sanjeev

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 26, 2011 at 04:23 AM

    Hi,

    The Group Number can not be kept blank if you are trying to upload the inspection plan through LSMW - Standard Object. This is because, the only link coupling the Header Data, Operation Data & Characteristics Data is the combination of Group & Group Counter Number.

    Also, the Standard Object LSMW can only be used for Creating Inspection Plan & not for changing the inspection plan which is already uploaded in system.

    Regards,

    Prashant Kolhatkar

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      The inspection plans can be uploaded -

      1) Manually one by one without referring to Group / Group Counter. System will take the Group / Group Counter automatically

      2) Through LSMW - By giving Group / Group Counter in all 3 files.

      Regards,

      Prashant