‎2007 Apr 04 2:22 PM
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>
‎2007 Apr 04 2:36 PM
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
‎2011 Feb 18 11:36 AM
‎2011 Feb 18 11:40 AM