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: 

How to create package?

Former Member
0 Kudos
16,415

Hi All,

I'm new to ABAP and want to create a package for BAPI.

While creating package in SE80, I't shows a message

"cannot select component".

The details i'm filling in the package window creation are as given below:

Package: <package name>

Short Description: <Description>

Application Component: BC-DWB

S/W Component: HOME

Transport Layer: SAP

Package Type: Main Package

Plz Help. Thanks in Advance.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
319

hi Mohnish Kapoor

just only give

short description

and

software component 'HOME'.

u r pacKage will be created.

Reward points if helpful.

Thanks and regards,

rajesh.

8 REPLIES 8

Former Member
0 Kudos
319

Hi,

Instead of SE80 Go to tranaction SE21 and create a package.

Thanks.

Former Member
0 Kudos
320

hi Mohnish Kapoor

just only give

short description

and

software component 'HOME'.

u r pacKage will be created.

Reward points if helpful.

Thanks and regards,

rajesh.

0 Kudos
319

Hi Rajeshwar,

Thnx for replying, i got created the package but

it didn't show up in the selection screen, while selecting the package.

0 Kudos
319

Former Member
0 Kudos
319

Below transactions can be used to Create/ Change/ Delete Packages:

SE21
SPACKAGE
SPAK

Former Member
0 Kudos
319

Hi Mohnish,

Follow the Below Path

go to SE80,

Click Package in the Drop down

Package: <package name>

Short Description: <Description>

Application Component: BC-DWB

S/W Component: HOME

Transport Layer: SAP

Package Type: Main Package

Reward If Helpfull,

Regards Naresh.

Former Member
0 Kudos
319

HI

Package: <package name>

Short Description: <Description>

Application Component: BC-DWB

S/W Component: HOME

Transport Layer: SAP

Package Type: Main Package

Reward If Helpfull,

Naresh.

319

Hi

FOr package creation:

Go to TC Code : SE21

Ex : for creating a package:

Package : ZBAPI

Choose Create option

Then its asking about following deatails

Package : ZBAPI

Description: Give some descrion

Application Component: SD

Software Component: HOME

Transport Layer: SAP

Package TYPE: Not a main package

then save .

then continue.

By this procedure successfully package will be created .

Then Go to TC Code SWO1( for BAPI creation)

Object Type : ZBAPI1

choose Create

Then give the following values

Object Type:ZBAPI1

Object Name : ZBAPI1

Name::ZBAPI1

Description: Give some descrion

Program :zbapi_prog

Application: * (Crossed Application)

Then contiue.

Its give a pop up asking for package name.

Package :ZBAP I ( In SE21,Previously created package name )

Then Save

A pop up comes

Press continue.

Then

Utilitties ->API methods ->Add method

Give ur function module name

Then continue.

Then a pop appears

press " >"

press ">"

then yes

A method will be created.

double click on that method

select ABAP tab

Choose API function.

then

EDit->Change in release status->Object type->modeled.

EDit->Change in release status->Object type->implemented.

EDit->Change in release status->Object type->released.

EDit->Change in release status->Object type componenet ->modeled.

EDit->Change in release status->Object type componenet ->implemented.

EDit->Change in release status->Object type componenet ->released.

Two pop ups comes press yes .

Click on Generate Button

Successfully BAPI will be created

for check this go for TC code BAPI

choose alphabetic order

check ur bapi name is there or not.

For testing ur bapi

Go to SE21

place ur bapi name and press execute

give ur fields content and press execute

you will find some entries there.