Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Newbie -- my intro and my first question about a BADI

former_member210148
Participant
0 Kudos

Greetings everyone! My name is Dave, and as you can tell from my profile, I'm new to the world of SAP and, more specifically, ABAP. I've only been coding for a couple months, and I'm still trying to digest the slew of classes myself and my team have had in the past few months. I was previously a COBOL programmer supporting our university's legacy systems, which will be replaced by our three-year "OnePurdue" initiative.

I've been lurking here for a bit, and this seems like a tremendous resource -- it's obvious there are a lot of very bright, experienced, and helpful people who frequent here. I might not be in a position to answer much right now, but someday I hope to be.

That said, here's my first question: I am writing a Technical Specification for an enhancement. The enhancement applies to the SAP E-Recruitment system, and I am to use a BADI (HRRCF00_DOC_UPLOAD) and Method (CHECK_NUMBER_OF_ATTACH) to make sure only one Resume attachment is submitted. The Functional Specification gives me the values to validy on the Method's importing parameters (HROBJECT, SUBTYPE, and ATTACHMENT_TYPE), and I can see there's an exporting parameter (IS_OUT_OF_RANGE) that looks like I'll want to set to True if the "maximum number of attachments was exceeded."

So, I know what's coming in, and I think I know what to send going out, but my question is, how do I determine the number of attachments? Nothing coming in is a value to tell me this, and I don't know if that information is a key to a table somewhere that I'd need to read to get this information. In essence, I don't know what the "guts" of my method needs to do.

Does anyone have any suggestions? All help is greatly appreciated. Thank you. _

1 REPLY 1

Former Member
0 Kudos

Dave,

Did you ever find and answer for this?

We do not have access to e-recruitment here so I can't see the BADI definition. I guess it depends on how you are attaching the resumes.

We do document archiving in our HR system and the documents get stored on IXOS but are linked to the HR records. If you are doing something similar, take a look at the following:

1. Function module ARCHIV_CONNECTINFO_GET_META should be able to return the number of documents attached

2. Table TOAV0 contains the details of archived documents.

Chris H.

Go Boilers! BSIM '97