Application Development and Automation 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: 
Read only

REPORT PROGRAM

Former Member
0 Likes
463

Hi Experts,

I am Deethya, i am new in ABAP .so now i am doing one ABAP Report object can anyone help me how to write ABAP REPORT, here i attached my requrirement plz give me some suggestion i will give good points because this is my first program.

<b>Step 1:

Selection screen : Document Number ( Multiple Selection)

Step 2:

Select all lines from EKKO where ( BSART = ZFR or BSART = ZPA).Check document number if it was filling in selection screen

Step 3:

Select the first line from EKPO where EBELN = EKKO – EBELN and

EKPO – EPELP = ‘0010’

Step 4:

EKPO – LOEKZ is initial?

IF YES go to STEP 5

IF NO go to STEP 2

Step 5:

Select STPRS from MBEW where MATNR = EKPO – MATNR and

BWKEY = EKPO – WERKS.

Step 6:

Call function Z_BAPI_PO_CHANGE and the informed parameters are

Purchaseorder = EKKO – EBELN,

POITEM – po_item = EKPO – EBELP,

POITEM – net_price = MBEW – STPRS,

POITEMX – po_item = EKPO – EBELP,

POITEMX – net_price = ‘X’

Step 7:

This function will fill in the return table

Step 8:

Is there message type = E?

IF YES go to STEP 9

IF NO go to STEP 10

Step 9:

Create Log with following message :

Contract Number : EKKO-NUMBER : XXXX

Message : return-message ( this one we want to see in SM36)

Step 10:

Finish File

IF NO go to STEP 2</b>

thanks and regards,

deethya

<b></b>

3 REPLIES 3
Read only

Former Member
0 Likes
420

You can start from here.

<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb353d358411d1829f0000e829fbfe/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb353d358411d1829f0000e829fbfe/frameset.htm</a>

Message was edited by:

Harish K Srivastava

Message was edited by:

Harish K Srivastava

Read only

Former Member
0 Likes
420

closed

Read only

Former Member
0 Likes
420

closed