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

BAPI Employee Info

Hi All,

I am trying to get the employye info, using the BAPI BAPI_ADDRESSEMP_GETDETAIL. But, I dont know why I always get the error:

There is not data for 0006 (in the selected period).

0006 in the infotype.

I am triying to sen all the parametres for the BAPI, but always get the same result, with or without parameters.

Somebody can help me?

Thanks in advance.

/* -


function = this.createFunction("BAPI_ADDRESSEMP_GETDETAIL");

if (function == null) {

System.out.println("BAPI " +

" not found in SAP.");




// Here we go...

function.getImportParameterList().setValue("00034797", "EMPLOYEENUMBER");



function.getImportParameterList().setValue("1", "SUBTYPE");



// function.getImportParameterList().setValue("", "RECORDNUMBER");

// function.getExportParameterList().setActive(false, "COMPANYCODE_ADDRESS");


JCO.Structure returnStructure =


if (! (returnStructure.getString("TYPE").equals("") ||

returnStructure.getString("TYPE").equals("S")) ) {

System.out.println("DADOS= "+returnStructure.getString("MESSAGE"));



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 06, 2005 at 06:02 PM

    Hi Luis,

    The BAPI_ADDRESSEMP_GETDETAIL requires exact date for validitybegin date. I would call <b>BAPI_ADDRESSEMP_GETLIST</b>

    first to get the information to be passed to BAPI_ADDRESSEMP_GETDETAIL.

    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.