Skip to Content
author's profile photo Former Member
Former Member

iDoc extension for HRMD_A07 - Error message B1-070

I am trying to create a custom extension to HRMD_A07 to capture some additional data added to infotype 0001. I have gone through the WE31, WE30, WE82, SM30 transactions to create the extension but when I try to test with PFAL I am getting the message B1-070.

Internal error: Program read table idoc_structure, command

data_select_for_block, argument ZHR_SEG

The extractor appears to be trying to fill in the original HRMD_A07 basic type and the HRMD_A07 with the extension.

Any hints?

Thanks, Rob.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Jul 03, 2013 at 02:24 PM

    Dear Rob,

    Although your post's date is old but I would share my knowledge for whom has the same issue.

    Last day I had the same problem and could not find any solution on internet so I had to trace the code. Fortunately I managed to fix the problem 😉 My colleagues had extended an IDOC by a segment but after that the segment was deleted so I was getting an error in ALE.

    Issue comes "DATA_SELECT_FOR_BLOCK" method which is using I_DOC_DATA table that fills in PFAL transaction. thru running PFAL IDOC data reads from table T777D.

    Go into and find the related record and clear it 😊

    By the way after that I found http://scn.sap.com/thread/3322338 useful

    Cheers,

    Omid


    ALE_SEG00.jpg (68.5 kB)
    ALE_SEG01.jpg (32.8 kB)
    ALE_SEG02.jpg (24.9 kB)
    Add a comment
    10|10000 characters needed characters exceeded

    • Thank you, Omid.

      Your post helped me to solve this error.

      I tryed to enchance HRMD_A with info-type 0290. And when I used tr. PFAL I got same error.

      I debuged PFAL for whole day and found the reason.

      The reason was next: I wrote code for exit EXIT_SAPLRHA0_004 but I didnt activated it in CMOD.

      It caused to appear an error "Internal error: Program read table idoc_structure, command data_select_for_block, argument Z1P0290".

  • author's profile photo Former Member
    Former Member
    Posted on May 13, 2010 at 12:24 PM

    I have managed to circumvent the error by implementing customer exit EXIT_SAPLRHA0_004 to supply the enhancement name in f_idoc_control-cimtyp.

    Does anyone know of an easier way?

    Rob.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 16 at 04:37 PM

    In the FM MASTERIDOC_CREATE_<Message type name>, Enhancement has to be implemented.

    The IDoc Extension Name has to be passed to the CIMP field of the structure 'F_IDOC_HEADER'. for eg. if your IDoc Extension name is 'Z_IDOC_EXTEND' the code would be :

    F_IDOC_HEADER-CIMP = 'Z_IDOC_EXTEND'.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.