EXTEND BASIC TYPE HRMD_A FOR TRANSFER IDOC DATA (HR MODULE)

Hi,
I'm trying to various infotype 2001,2002,2006 ecc to another SAP system via ALE and since they are not part of message type "HRMD_A" I have created the extension ZHRMD_A06. I've already created the new segments(we31) and put these segments (with names Z1P2001, Z1P2002 ecc ecc) into the extension(we30). And I've assigned the extension to the message and basic type (we82).
The new segment are processed correctly in the idoc creation via transaction PFAL, but via transaction BD21 i meet the abend message : B1 070 - Internal Error : program....command... for argument Z1P2001 (for example)
In other words, BD21 do not process the custom segment but the PFAL yes...how it is possible?
I've activate the change pointer in every customizing table intersting.
Many thanks in advance for any reply
Achille

unfortunately, the standard do not provide the infotypes for the HR-TM (Time Management), that
are between the structures i must send in the other system sap.
Ok, I have never delt with Time data in HRMD_A. Probably this is the case then
Ok,now i've checked the filter in BD64 and the tables BDCP2, CDHDR and CDPOS but it seems
all correct!!
By checking Filters I mean that confirm if you have added Time Infotypes there (just
making sure). If data is appearing in BDCP2 that means there is no problem in Change
pointer creation, Just ruling out possibility.
Try with an user exit it's a good idea, but why in the PFAL the idoc (with the custom segments)
is created without problems and in the BD21 no??? This is very strange
1) Well BD21 uses the Function module (TBDME for HRMD_A) which read change pointers and
create IDOCs. So now if you have extended Segment you have to add your population code
here somewhere.
2) PFAL is Push program, my assimption here is you have wriiten some piece of code to
populate Additinal segments data here? Otherwise IDOC will not be populated
automatically.
Let me know what you think.

Similar Messages

  • What is the message type and basic type used for catsdb in idoc help me

    what is the message type and basic type used for catsdb in idoc help me
    ANY IDOC FOR CATSDB PLEASE TELL,
    Regards,
    Jagrut BharatKumar Shukla
    points will be awarded

    Hi,
    Check these message types.
    ATT_ABS_WITH_COST and WORKSCHED_WITH_COST.

  • Extending basic type SDPIID01

    Hi,
    I have to extend basic type SDPIID01 and add custom segments, After adding those segments I need to update records in those custom fields that would get stored in the databse table using Idoc.Pls suggest the complete steps and the any enhancement or exits that I need to implement to update the values in the database.Also pls suggest the logic that needs to be written inside that enhancement, exit or BADI.
    Thanks in advance
    Anand

    Hi go to we30
    Give one zidoc type name and create with radio button extension.
    Choose create newlinked basic type , give ur basic type  as SDPIID01
    Then enter description and say ok.
    and save .
    Now Clk on the segment under which u want to add ur zsegment wether u want to add on hraedr level or item level.
    and click on craete .
    Enter a segment name , minimum1  maximum u can gv as per u like 10 , 99 etc.and ok.
    It will take u to the segment structure , where u have to add the zfields.
    For detail u can go through some documents or helps.
    Regards

  • How to extend IDOC type "HRMD_A" for infotype 2001?

    Hi,
    I'm trying to send infotype 2001 to another SAP system via ALE and since it is not part of message type "HRMD_A" I have tried to create an extension. I've already created a new segment(we31) and put this segment into the extension(we30). And I've assigned the extension to the message and basic type (we82) but it still doesn't work. Is there anything else I have to do?
    Many thanks in advance
    Christopher

    Hello Christopher,
    I don't think any coding is required in your case if I understand your issue correctly.
    Just create a Z segment (say Z1P2001...make it same structure as P2001) then insert it as a child segment type of E1PITYP in your customer extension which should be attached to Basic Type HRMD_XX (as per your SAP release).
    Make sure in the partner profile you have specified the name of your customer extension and in table T777D you have maintained the value of your Z segment (Z1P2001) in the field IDOC segment.
    Now, as long as you have change pointers activated globally as well as for the message type you are using, change pointers will be auto triggered for infotype 2001 and when you run BD21 to process the change pointer, you'll see the system has automatically populated your customer segment Z1P2001.
    Let me know if it solved your case.
    Cheers,
    Sougata.
    Edited by: Sougata Chatterjee on May 23, 2008 1:41 PM

  • Begin date in idoc segment E1BEN07 basic type BENEFIT3 health plan IDOC

    I run tcode HRBEN0052, Idoc Data Transfer, for my health plans.  If my new health plan record (IT0167) does not have a change in the General plan data (plan type, benefit plan, health plan option, dependent coverage) the begin date value on segment E1BEN07 is not the begin date for the current IT0167 record but of the previous record where the general plan data is the same.  This causes a problem because the additional provider field (PROVI) value in the idoc is from the previous IT0167 record and not the current IT0167 record. 
    Does anyone know why the current IT0167 begin date value is not included in the idoc when there are past IT0167 with the same general plan data?

    Per SAP
    +The current functionality is to combine multiple continuous records if
    there is no difference in the records except the dates. If you want the
    functionality to be different, you can try the following.
    Inside the function module HR_BEN_IDOC_SEND, there is a call to
    subroutine "fill_idoc_for_period"
    Kindly change the call inside the subroutine "fill_idoc_for_period"
    From
    1. Read Plan Data
    IF idoc_categ-healt = true.
    PERFORM read_infty_health TABLES it0167
    error_tab
    USING subscriber
    begda
    endda
    true
    reaction
    CHANGING subrc.
    To
    1. Read Plan Data
    IF idoc_categ-healt = true.
    PERFORM read_infty_health TABLES it0167
    error_tab
    USING subscriber
    begda
    endda
    false
    reaction
    CHANGING subrc.
    Please note however that this is a change in the standard and thus will
    be considered consulting if an error occurs, which is not supported
    by our services.+

  • IDoc Basic Type needed for FI & CO posting with local & document currency

    Hi All,
    I am using basic type  u201CFIDCCP02u201D which has local and document currency separately and posts to FI and CO segments but without any validations. This results in erroneous entries like posting to a cost center that cost center is not linked to company code.
    Is there a basic type that I can use which posts to FI and CO with all validations similar to t-code FB01 and have fields to post local and document currency separately?
    Thanks,
    Leo

    Hi Umesh,
    Select 'Display Currency' button
    Choose Local currency radiobutton and click Enter.
    Let me know if it worked.....
    Deepthi.

  • Basic type :HRMD_A07  in which table data will be store

    Hi,
    I have the basic type HRMD_A07 .so can any one tell me in which table data will store .
    Thanks in advance.
    Regard

    Hi,
    Check the following link for more information on tables and the flow of information in sd
    <u>http://www.erpgenie.com/sap/abap/tables_sd.htm</u>
    Award points if it adds information.
    Thanks
    Mohan

  • Extend BASIC Type HRMD_ABA (HRM Module) - Custom Extention

    Hi I have extended IDOC Message type HRMD_ABA to include custom Infortype. We are planning to use Change Pointer.
    How can BD21(generate idoc from change pointers) populate custom infotype data into the IDOC?
    Thanks,

    Hello KuPatel_PI ,
                                  Automatically nothing happens. You need the find an user exit to populate the data  for the custom info type related data to populate the IDOC custom segments that you had added.
    You need to locate an user exit inside the FM "RH_MASTERIDOC_CREATE_HRMD".
    you can try the below user exits that suits your requirement:
    EXIT_SAPLRHAL_003
    EXIT_SAPLRHAL_001
    EXIT_SAPLRHAL_004
    EXIT_SAPLRHAL_002
    Hope this answers your question.
    Thanks,
    Greetson

  • Question re: syncing with Itunes in preparation for transfer of data to iphone 6

    Hi,  I have an iPhone 4s that I have never synced to iTunes.  I've never synced it because it is my understanding that all the music on my  PC in iTunes would be copied to my iPhone. I have  a huge iTunes library that is much bigger than the space I have on my iPhone.
    My questions are:
    1.  Am I right in assuming that everything in my PC iTunes goes to my iPhone when I sync?
    2.  Is there any way to sync without copying everything to my iPhone?
    And here are a few more questions:
    1.  It is recommended to update to IOS8 prior to transferring data to iPhone 6?
    2.   I have heard that using iCloud to transfer data to new iPhone does NOT transfer apps or passwords.  Is that true??
    Any help much appreciated!
    Gina

    Allan Sampson wrote:
    Have you had Sync Apps selected under the Apps tab for your iPhone sync preferences with iTunes - this was selected the last time you synced your iPhone with iTunes a couple of months ago?
    I have Sync Apps and Automatically sync new apps checked. Both have been checked every time I sync'd since I got my phone.
    It deleted apps that I know were already in my iTunes, since they were apps I have had practically since the day I purchased my iPhone.
    The apps in your iTunes library on your computer don't need to be downloaded again.
    When I sync'd it deleted all the apps in my iTunes library as well. They were there previously, but now they are not.
    You can view your iTunes account with iTunes - Store > View My Account. Check Purchase History.
    You can re-download an app with iTunes on your computer and you won't be charged again for a purchased app as long as you use the same iTunes account to re-download the app that was used to purchase the app.
    Ok, so this tells me what I have purchased, but it doesn't seem to allow me to do this. I checked my iTunes account and have confirmed that I have purchased a specific app, and using that same iTunes account I tried to download the app but it tells me that my credit card will be charged if I wish to continue. Will it actually be charged? And, yes, I'm positive that it is the same iTunes account. I am only signed into one and did this all from the same computer and same iTunes.

  • When do we ceate custom messagae type apart for custom idocs type

    Hi all.
        Can u pls let me know when do we create custom message type in ALE/IDOCS. what I know is we can create a custom message when we create custom idoc type & when we have reduced idoc type.Pls let me what are other cases in which I need to create a custom message type.Thanks in advance.
    Kind regards,
    sami.

    I think these are the only cases where we need to create. Its basically when we dont have standard SAP message type available.

  • Populating the custom segments for the Basic type attached to HRMD_A (IDOC)

    Hi,
    I've enhanced a few infotypes and want the new fields to be available in an IDOC created through the program RHALEINI.
    Here are the steps I followed.
    Step 1 :(we31)
    We created new segment Z1IT023 , containing all the fields from infotype 0023 along with the custom fields added.
    Step 2 :(we30)
    We created an extension of IDOC type HRMD_A07 by name HRMD_EX to include this segement.
    Step 3 :
    We added an entry in table EDIMSG against message type HRMD_A , with base type : HRMD_A07 , extension : HRMD_EX , version : 700
    Step4 :(we20)
    Now , we made changes to partner profile by adding entry for message type HRMD_A with base IDOC type as HRMD_A07 and extension as HRMD_EX
    Step5:
    We changed the entry in table T777D and specified the IDOC segment as Z1IT023.
    Step6.
    We then tried to execute the report RHALEINI to generate the IDOC. The IDOC got created, but it didn't have the data for the segment Z1IT023.
    In fact, there is a different solution to this... by adding the custom segment(containing nly the new infotype fields) as a child of the original segment E1P0023 and then writting code in the user-exit to populate the segment, but our intension is to have a single segment with all the infotype 0023 data. Besides, I believe in HR, making an entry in T777D should free us from writing any code for populating the IDOC segments.
    Can anybody please suggest me, where am I going wrong. How can the new segments be populated automatically.
    Thanks in advance.
    Sujit.
    Responses will be suitably rewarded.

    Hi,
    Did u get any exit to populate the custom segment?
    Thanks,
    San

  • How to send IDOC with extended message type MATMAS

    Hi Experts,
    I am looking for a solution to send open PR & open PO related data for diffrent materials through as IDCO in XML file.
    Scenario is i have to show a report in a 3rd party system for open PR & open PR that too will come after selection some materials. That means select a materials & it will show all the open PO & related data in a report.
    The rough idea for the solution i got is I can save the data in XML file in the system. For this i have to send IDOC. but the problem is there is no message type for PR. IF i am not wrong i can extend the MATMAS05 for a segment that will have PR related info.
    Now what to do with that how to send the IDOC do i need to create another report to send IDOC or i can send the extended one through BD10. I tried it but it shows error message "0 communication idoc sent" so I dont no y such error is coming i think i am not filling the extended idoc. But again my QUestion is how to do that.
    Can i use BAPI also for such work, if then how it can be helpful.
    If anyone have any other solution Please help me out of this.
    Regards,
    Nik

    Hi Mahesh,
    Thanks for your reply.
    My requirement is bit different. i have to send Open PR data for diffrent materials. In a 3rd party application user will search for few materials which will generate a report that will show the PR related data for those material.
    That means for few selected materials there will be few PR's which may be open, i have to show those in my report.
    Eg: material A, B. are in PR 00001 & material B, C in PR 00002.
    After selecting materials A to C report will show
    Material                 PR No                   Item No                Quantity
    A                           00001                    10                             1
    B                           00001                     20                            3
    B                           00002                     10                            3
    C                           00002                      10                           1
    Same thing i have to do for open PO & open Sales order also.
    Can u please help me to provide the solution how can i proceed for it. U have given the Message type & a bapi how it will help in my issue?
    I got a suggesion from someone that extend message type matmas for PR, PO, SD related data & send the idoc. but i am confused how to pass that much data ina single IDOC.
    Regards,
    Nik

  • Create new LSMW using Idoc for HR master Data

    Hi Guys,
    I was wondering id someone could help me. I have started developing an LSMW, of which I have already
    created the Object. I have also created the Maintain attributes and I have supplied the Message Type, Basic Type and activated the IDOC inbound processing after providing the appropriate information.
    The question I have is in the "Maintain source structure" do I need to create a structure for data records
    and a structure for header?
    Can I do a recording for transaction     -
    "PA30" --->  update infotype 6
                                                           |
    IDOC   -
    > infotype 0,1,2,6
    I have previously created HR LSMW using recording, but I have not used the IDOC facility and I'm not
    sure of the differences.
    Does anyone have any documentation.
    Regards,
    Frank

    Dear Frank,
    For Idoc method need to do setting first.
    Creating  pratner profile,.....................etc.
    then rest of the thing are same.
    Best Regards,
    Flavya

  • Same message type in Diffrent Interface IDoc-HRMD_A

    Hi All.
    i am using standard message type HRMD_A iin one IDoc and have done coding in one of the Function Exit ..EXIT_SAPLRHA0_001
    now if some other interface is also running using same satndard message type  then how can i restritct my EXIT code to run for the 1st one only..like 1st one is running for country say Alaska and 2nd one for Ohio then how to make a check to diffrentiate between these two...as there is no Control data is populated before triggering this Function exit.i have done filteration in the exit like it will pass the data for the Alaska country only rest will be filtered out.but for the Ohio i want some other filyteration.Please assist.
    Mona singh.

    Hi Mona,
    One question, just  to see if I understood, the filter you want to use is by Company Code? or which is the field you want to use as a filter? You want some information to be sent to the destination and the other don't ?
    Or you just want that the internal code in that Exit is to be executed for especific filter?
    I ask, because there is a way to filter by company code the whole IDOC.
    Regards
    Edith

  • Idoc basic type and extension copied to new extension now how to trigger

    HI EXPERTS,
    I have copied a basic type and extension of idoc and now my new idoc has extension name say ext1.
    my old extension name is ext .
    now i want to trigger an idoc with ext1 extension ,i do not want to change idoc settings in we20.
    how can i do this ,please some one reply .
    Thanks,
    Pradeep.

    hi nikhil,
    reason is we want two different transport paths ,one team is amking changes to existing things ,i am working on another pahse of project .
    I have almost reached near to the solution .i have set the message variant in we20 ,now when i trigger its generating 2 idocs
    i am trying to write code in exit but in exit there there is no field idoc_mescod or idoc_cimtype
    Kindly suggest!!!1
    Thanks,
    pradeep.

Maybe you are looking for

  • "Invalid Serial Number" - Photoshop CS2 (Upgrade)

    Hello, I got the Photoshop CS2 Upgrade some years back and it has always worked fine. Whenever I needed to reinstall my operating system, it was a simple matter of deactivating the software and then activating it after reinstalling Windows. However t

  • Reg organisational structure

    hi   i would like to whether sales organisation in delhi can sell a material from plant in chennai.what i would like to know is suppose if i have five plants in five states,is it necessary to have five sales organisation. regarding indian scenarios

  • Viewing files through SAP viewer only

    Hi, When i create a DIR and attch a PDF file in it, and when i open this file, its get opened in PDF viewer. I want that the file should only be opened in SAP viewer and not in application on PC. How can i achieve this? Regards, Kalpesh

  • Black window with white letters

    In the past several days a black window appears on the desktop with white writing saying restart your computer as there is a problem with the hard drive. I restart and the computer works just fine. I have a imac intel.

  • Missing icons and unformated web query

    Hi everyone. When i run a query with BEx, all icons are missing and text is not formated. What is happening? Kind regards, Inigo.