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>