cancel
Showing results for 
Search instead for 
Did you mean: 

Routine in sap bi.7

Former Member
0 Kudos
82

Hi,

I written the routine the code is ok but values not uploading to field so any one look in to this issue.

data:p1(02).

    data:ZQUARTER type /BIC/OIZQUARTER.

     p1 = SOURCE_FIELDS-calday+4(2).

     if p1 = 01 or p1 = 02 or p1 = 03.

       move '04' to p1.

     elseif p1 = 04 or p1 = 05 or p1 = 06.

       move '01' to p1.

     elseif p1 = 07 or p1 = 08 or p1 = 09.

       move '02' to p1.

     elseif p1 = 10 or p1 = 11 or p1 = 12.

       move '03' to p1.

     endif.

*/BIC/ZQUARTER

*    ZQUARTER = p1.

*/BIC/ZQUARTER = p1.

*    RESULT = source_fields-ZQUARTER .

zquarter = p1.

Accepted Solutions (1)

Accepted Solutions (1)

former_member183012
Active Contributor
0 Kudos

Hi Rama,

This your feild level routine in transformation?

If yes then remove comment of result and pass required feild ie P1 to your result.it will update your mapped infoobject.

Regards,

Ganesh Bothe

Former Member
0 Kudos

Hi,

Thank you very much for your replies and issue has been solved.

Regards

RK

Answers (2)

Answers (2)

former_member182343
Active Contributor
0 Kudos

Dear Rama krishan,

Pass P1 value to RESULT.

RESULT = P1.

CLEAR : P1.

Regars, Vijay

sascha_reissig
Participant
0 Kudos

Hi Rama,

RESULT = P1 should work instead of ZQUARTER = P1.

Best regards, Sascha