Skip to Content
0
Former Member
Mar 22, 2007 at 05:12 AM

CJI5 via SUBMIT.

72 Views

Hi Experts,

Thanks a lot for great support from SDN Users.

I am trying to submit CJI5 with more than one order but always I am getting only one record in OUTPUT. Please help me to resolve this issue.

My Sample Code:

RANGES : R_AUFNR FOR AUFK-AUFNR.

START-OF-SELECTION.

PERFORM POPULATE_ORDERS_RANGE.

PERFORM SUBMIT_CJI5_REPORT.

Form POPULATE_ORDERS_RANGE.

CLEAR : R_AUFNR.

R_AUFNR-SIGN = C_I .

R_AUFNR-OPTION = C_EQ .

R_AUFNR-LOW = '90211966' .

APPEND R_AUFNR.

CLEAR : R_AUFNR.

R_AUFNR-SIGN = C_I .

R_AUFNR-OPTION = C_EQ .

R_AUFNR-LOW = '90273536' .

APPEND R_AUFNR.

endform. " POPULATE_ORDERS_RANGE

form SUBMIT_CJI5_REPORT.

SUBMIT RKPEP005 VIA SELECTION-SCREEN

WITH CN_NETNR IN R_AUFNR[]

WITH R_OBDAT BETWEEN ' ' AND ' '

WITH P_DISVAR = C_1SAP

WITH P_USEDB = C_X

WITH P_USEAR = ' '.

endform. " SUBMIT_CJI5_REPORT

My Observations as below

I am able to see all the orders in the selection screen. If I click Copy button in the sub screen of Orders then only getting all the orders in the output other wise only first record only.

Is there anyway to refresh this screen or copy this data through submit.

Thanks in advance,

Points rewarded for all helpful answers.

Regards,

Nava