07-26-2006 3:50 PM
Hi All,
I am using LSMW using BAPI method to upload data to create an Purchase order. I m getting this error.
" Identification specifications missing for source structure 'PSOURCE_HEAD' ".
Here are the steps I have followed.
1. Created an IDOC Inbound Processing.
2. Bussiness Object: BUS2012
Method : CreateFromData
Message Type : PORDCR
Basic Type : PORDCR05
3. Maintained Source Structure : PSOURCE_HEAD AND PSOURCE_ITEM
4. Maintained Source Fields for PSOURCE_HEAD AND ITEM
5. Maintained Structure Relations:
E1PORDCR=>PSOURCE_HEAD
E1BPEKKOC=>PSOURCE_HEAD
E1BPEKOC=>PSOURCE_ITEM
E1BPEKET=>PSOURCE_ITEM
6. MAINTAINED FIELD MAPPING:
E1PORDCR - E1PORDCR-HEAD_ADD_DATA_RELEVANT = 'H'.
E1PORDCR - E1PORDCR-ITEM_ADD_DATA_RELEVANT = 'I'.
7. specify files
8. Assign Files : assigned uploaded file to both PSOURCE_HEAD AND PSOURCE_ITEM
9. IMPORT DATA: I M GETTING THE PROBLEM " Identification specifications missing for source Structure 'PSOURCE_HEAD' ".
H 1001 1000 000
I 100-130 20 200 001 1000 28.06.2006
With Regards
Vasu
11-02-2006 9:07 AM
Hi vasu
I have encountered the same problem with material BOM creation.
The reason you get this message is probably because you didn't define correctly the identification field in the source structures.
In step 'Maintain source fields' you should define the first field of every structure as identification field by creating char field of length 1. Then from the tree view of source fields, double click this field (in change mode) and give appropriate value in field 'Identifying Field Content', meaning 1 for header structure, 2 for items structure etc.
This should fix the problem.
Best regards
01-30-2007 8:58 PM
HI Ziv,
Despite I didn't ask I was looking for the solution to this same error and thanks to your tips I fix the problem.
Thanks you very much.
Alejandro
11-02-2006 9:15 AM
hi
good
go through this weblog which ll give you comeplete idea about the LSMW using BAPI,
/people/hema.rao/blog/2006/09/14/lsmw--step-by-step
THANKS
MRUTYUN^
03-01-2007 10:19 AM
Hi ,
Can any one just tell me how to use lsmw with bapi.I need all the steps including the configration please kindly help me its urgent.