on 12-19-2008 12:13 PM
Hi Experts,
I am trying to generate an IDOC using the 'Standard inbound' tool of Transaction WE19 & I am getting the message that 'IDOC was saved and processed by function APPL_IDOC_INPUTI' however in transaction WE05 this IDOC shows status 51 & gives an error that 'The IDoc interface is not complete for message type HRSM_A' (Message no. B1500). What should be the problem, Please help...
Thanks & Regards,
Amit
Hi Chen,
Thats what i have used & generated the IDOC succesfully, but still PA30 is not getting updated, What should be the problem????
Thanks & Regards,
Amit Naik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amit,
well, it could be the reason that your IDOC is not filling correctly. Which Infotypes are you updating? Mind if I have a look at your IDOC XML? You can mask sensitive information of course.
To find the reference documentation on IDOC type HRMD_A05, go to WE60 and input HRMD_A05.
By the way, there're some flags in segment E1PLOGI which are quite important.
1)OPERA: By updating records you should set it as "u".
2)OTYPE: for personal master data, here we should have a "P"
3)PLVAR: check table T778P, which is your current plan variant?(you may follow your HR consultant's advice here) Then fill it here too.
Here's an example, although it's an outbound, but hopefully it'll help:
<?xml version="1.0" encoding="UTF-8"?>
<HRMD_A>
<IDOC BEGIN="1">
<E1PLOGI SEGMENT="1">
<PLVAR>01</PLVAR>
<OTYPE>P</OTYPE>
<OBJID>00000001</OBJID>
<OPERA>I</OPERA>
<E1PITYP SEGMENT="1">
<PLVAR>01</PLVAR>
<OTYPE>P</OTYPE>
<OBJID>00000001</OBJID>
<INFTY>0000</INFTY>
<BEGDA>18000101</BEGDA>
<ENDDA>99991231</ENDDA>
<E1P0000 SEGMENT="1">
<PERNR>00000001</PERNR>
<INFTY>0000</INFTY>
<ENDDA>20080331</ENDDA>
<BEGDA>20080101</BEGDA>
<SEQNR>000</SEQNR>
<AEDTM>20081023</AEDTM>
<UNAME>CLN</UNAME>
<MASSN>01</MASSN>
<STAT2>3</STAT2>
<STAT3>1</STAT3>
</E1P0000>
<E1P0000 SEGMENT="1">
<PERNR>00000001</PERNR>
<INFTY>0000</INFTY>
<ENDDA>20080531</ENDDA>
<BEGDA>20080401</BEGDA>
<SEQNR>000</SEQNR>
<AEDTM>20081112</AEDTM>
<UNAME>CLN</UNAME>
<MASSN>02</MASSN>
<STAT2>3</STAT2>
<STAT3>1</STAT3>
</E1P0000>
<E1P0000 SEGMENT="1">
<PERNR>00000001</PERNR>
<INFTY>0000</INFTY>
<ENDDA>99991231</ENDDA>
<BEGDA>20080601</BEGDA>
<SEQNR>000</SEQNR>
<AEDTM>20081112</AEDTM>
<UNAME>CLN</UNAME>
<MASSN>02</MASSN>
<STAT2>3</STAT2>
<STAT3>1</STAT3>
</E1P0000>
</E1PITYP>
<E1PITYP SEGMENT="1">
<PLVAR>01</PLVAR>
<OTYPE>P</OTYPE>
<OBJID>00000001</OBJID>
<INFTY>0001</INFTY>
<BEGDA>18000101</BEGDA>
<ENDDA>99991231</ENDDA>
<E1P0001 SEGMENT="1">
<PERNR>00000001</PERNR>
<INFTY>0001</INFTY>
<ENDDA>20080331</ENDDA>
<BEGDA>20080101</BEGDA>
<SEQNR>000</SEQNR>
<AEDTM>20081023</AEDTM>
<UNAME>CLN</UNAME>
<BUKRS>1000</BUKRS>
<WERKS>1000</WERKS>
<PERSG>1</PERSG>
<PERSK>21</PERSK>
<VDSK1>1000</VDSK1>
<BTRTL>0001</BTRTL>
<JUPER>0001</JUPER>
<ABKRS>01</ABKRS>
<ORGEH>00000000</ORGEH>
<PLANS>00000000</PLANS>
<STELL>00000000</STELL>
<SACHA>001</SACHA>
<SACHP>001</SACHP>
<SACHZ>001</SACHZ>
<SNAME>TARILFER ALLGMEIN GEWERBLICHER</SNAME>
<ENAME>Gewerblicher Tarilfer allgmein</ENAME>
<OTYPE>S</OTYPE>
<SBMOD>1000</SBMOD>
<KOKRS>1000</KOKRS>
</E1P0001>
<E1P0001 SEGMENT="1">
<PERNR>00000001</PERNR>
<INFTY>0001</INFTY>
<ENDDA>20080531</ENDDA>
<BEGDA>20080401</BEGDA>
<SEQNR>000</SEQNR>
<AEDTM>20081112</AEDTM>
<UNAME>THIEDEPE</UNAME>
<BUKRS>1000</BUKRS>
<WERKS>1000</WERKS>
<PERSG>1</PERSG>
<PERSK>10</PERSK>
<VDSK1>1000</VDSK1>
<BTRTL>0001</BTRTL>
<JUPER>0001</JUPER>
<ABKRS>01</ABKRS>
<ORGEH>00000000</ORGEH>
<PLANS>00000000</PLANS>
<STELL>00000000</STELL>
<SACHA>001</SACHA>
<SACHP>001</SACHP>
<SACHZ>001</SACHZ>
<SNAME>TARILFER ALLGMEIN GEWERBLICHER</SNAME>
<ENAME>Gewerblicher Tarilfer allgmein</ENAME>
<OTYPE>S</OTYPE>
<SBMOD>1000</SBMOD>
<KOKRS>1000</KOKRS>
</E1P0001>
<E1P0001 SEGMENT="1">
<PERNR>00000001</PERNR>
<INFTY>0001</INFTY>
<ENDDA>99991231</ENDDA>
<BEGDA>20080601</BEGDA>
<SEQNR>000</SEQNR>
<AEDTM>20081112</AEDTM>
<UNAME>THIEDEPE</UNAME>
<BUKRS>1000</BUKRS>
<WERKS>1000</WERKS>
<PERSG>1</PERSG>
<PERSK>21</PERSK>
<VDSK1>1000</VDSK1>
<BTRTL>0001</BTRTL>
<JUPER>0001</JUPER>
<ABKRS>01</ABKRS>
<ORGEH>00000000</ORGEH>
<PLANS>00000000</PLANS>
<STELL>00000000</STELL>
<SACHA>001</SACHA>
<SACHP>001</SACHP>
<SACHZ>001</SACHZ>
<SNAME>TARILFER ALLGMEIN GEWERBLICHER</SNAME>
<ENAME>Gewerblicher Tarilfer allgmein</ENAME>
<OTYPE>S</OTYPE>
<SBMOD>1000</SBMOD>
<KOKRS>1000</KOKRS>
</E1P0001>
</E1PITYP>
<E1PITYP SEGMENT="1">
<PLVAR>01</PLVAR>
<OTYPE>P</OTYPE>
<OBJID>00000001</OBJID>
<INFTY>0002</INFTY>
<BEGDA>18000101</BEGDA>
<ENDDA>99991231</ENDDA>
<LONG_INFTY>X</LONG_INFTY>
<E1P0002 SEGMENT="1">
<PERNR>00000001</PERNR>
<INFTY>0002</INFTY>
<ENDDA>99991231</ENDDA>
<BEGDA>19700101</BEGDA>
<SEQNR>000</SEQNR>
<AEDTM>20081023</AEDTM>
<UNAME>SBE</UNAME>
<INITS>12345</INITS>
<NACHN>Tarilfer allgmein</NACHN>
<VORNA>Gewerblicher</VORNA>
<KNZNM>00</KNZNM>
<ANRED>1</ANRED>
<GESCH>1</GESCH>
<GBDAT>19700101</GBDAT>
<GBORT>Bielefeld</GBORT>
<NATIO>DE</NATIO>
<SPRSL>D</SPRSL>
<FAMDT>00000000</FAMDT>
<ANZKD>0</ANZKD>
<GBPAS>19700101</GBPAS>
<GBJHR>1970</GBJHR>
<GBMON>01</GBMON>
<GBTAG>01</GBTAG>
<NCHMC>TARILFER ALLGMEIN</NCHMC>
<VNAMC>GEWERBLICHER</VNAMC>
<SPRSL_ISO>DE</SPRSL_ISO>
<NACHN_40>Tarilfer allgmein</NACHN_40>
<VORNA_40>Gewerblicher</VORNA_40>
<GBORT_40>Bielefeld</GBORT_40>
<E1Q0002 SEGMENT="1">
<PERNR>00000001</PERNR>
<INFTY>0002</INFTY>
<ENDDA>99991231</ENDDA>
<BEGDA>19700101</BEGDA>
<SEQNR>000</SEQNR>
</E1Q0002>
</E1P0002>
</E1PITYP>
<E1PITYP SEGMENT="1">
<PLVAR>01</PLVAR>
<OTYPE>P</OTYPE>
<OBJID>00000001</OBJID>
<INFTY>0006</INFTY>
<SUBTY>1</SUBTY>
<BEGDA>18000101</BEGDA>
<ENDDA>99991231</ENDDA>
<E1P0006 SEGMENT="1">
<PERNR>00000001</PERNR>
<INFTY>0006</INFTY>
<SUBTY>1</SUBTY>
<ENDDA>99991231</ENDDA>
<BEGDA>20080101</BEGDA>
<SEQNR>000</SEQNR>
<AEDTM>20081031</AEDTM>
<UNAME>THIEDEPE</UNAME>
<ANSSA>1</ANSSA>
<STRAS>Teststr. 1</STRAS>
<ORT01>Bielefeld</ORT01>
<PSTLZ>33611</PSTLZ>
<LAND1>DE</LAND1>
<ENTKM>0</ENTKM>
<HSNMR>000000</HSNMR>
<ENTK2>0</ENTK2>
<RAILW>0</RAILW>
<STRAS_40>Teststr. 1</STRAS_40>
<ORT01_40>Bielefeld</ORT01_40>
</E1P0006>
</E1PITYP>
<E1PITYP SEGMENT="1">
<PLVAR>01</PLVAR>
<OTYPE>P</OTYPE>
<OBJID>00000001</OBJID>
<INFTY>0016</INFTY>
<BEGDA>18000101</BEGDA>
<ENDDA>99991231</ENDDA>
<E1P0016 SEGMENT="1">
<PERNR>00000001</PERNR>
<INFTY>0016</INFTY>
<ENDDA>99991231</ENDDA>
<BEGDA>20080101</BEGDA>
<SEQNR>000</SEQNR>
<AEDTM>20081023</AEDTM>
<UNAME>CLN</UNAME>
<LFZFR>42</LFZFR>
<LFZZH>010</LFZZH>
<LFZSO>00</LFZSO>
<KGZFR>0</KGZFR>
<PRBZT>6</PRBZT>
<PRBEH>012</PRBEH>
<ARBER>00000000</ARBER>
<EINDT>00000000</EINDT>
<KONDT>00000000</KONDT>
<CTTYP>01</CTTYP>
<CTEDT>00000000</CTEDT>
<CTBEG>00000000</CTBEG>
</E1P0016>
</E1PITYP>
</E1PLOGI>
</IDOC>
</HRMD_A>
Otherwise, I suggest you set a breakpoint and debug it.
Regards,
Chen
Thanks a lot Chen, its resolved now...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Chen, Can you please tell me which Function Module should i use in Case No.1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chen,
Thanks a lot, actually i tried to run this report, but still no data is getting updated, its giving me this error 'List contains no data'
Regards,
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amit,
which information would you like to send via IDOC HRSM_A? External personal master data? Or time data?
In the first case, you should use message type HRMD_A and the process code is HRMD in WE42. No report is needed. Any problem please check OSS Note 200343. There are whole bunch of information there available.
On the second case, you need HRSM_D and the process code HRSM_D. The report I mentioned needs to be scheduled to update PA30.
Greetings,
Chen
Thanks a lot Michal, i changed the FM & it worked , one more question plz, actually now the IDOC is getting generated & its an Inbound IDOC, however i am not able to see the data which gets updated. In my case a new Personnel Number should get created after the generation of this IDOC but in transaction PA30 i am not able to see the new Personnel number, can you please help me out...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
I don't think the module is correct
which process code do you use?
HRSM - FM - IDOC_INPUT_HRSM_HIRE
HRSM_D - FM - IDOC_INPUT_HRSM_SCHEDULE
Regards,
Michal Krawczy
http://mypigenie.com XI/PI FAQ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.