on 01-22-2010 6:41 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
No. You will have to give Group & Group Counter (Both) as input in your flat file for Header, Operation as well as Characteristics Data. System links the Header, Operation & Characteristics Data based on combination og Group & Group Counter Number.
For example please check data given below -
Header Data -
Group / Group Counter / Material / Usage / Status ......................................
50050001 / 1 / A
50050001 / 2 / B
50050002 / 1 / C
50050002 / 2 / D
Operation Data -
Group / Group Counter / Material / Operation Number / Control Key ......................................
50050001 / 1 / A / 0010
50050001 / 1 / A / 0020
50050001 / 2 / B / 0010
50050002 / 1 / C / 0010
50050002 / 2 / D / 0010
Characteristics Data -
Group / Group Counter / Operation Number / Characteristics Number / Description ..........................
50050001 / 1 / A / 0010 / 10
50050001 / 1 / A / 0010 / 20
50050001 / 1 / A / 0020 / 10
50050001 / 1 / A / 0020 / 20
50050001 / 1 / A / 0020 / 30
50050001 / 2 / B / 0010 / 10
50050002 / 1 / C / 0010 / 10
50050002 / 2 / D / 0010 / 10
In above case, if Group Number is not given alongwith Group Counter, system will not be able to link which Characteristics Data is relevant for which Operation & Which Operation Data isrelevant to which Header Data.
Hence, while uploading Inspection Plan through Standard Object LSMW, you will have to give Group as well as Group Counter. Other wise the inspection plans will not get uploaded through LSMW.
Also, please note that the recorded LSMW also will not work, because, each inspection plan may have differnt number of operations & each operation may have differrent number of Characteristics.
Regards,
Prashant
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.