2006 May 15 11:41 AM
Hi everybody
the problem i am facing is i am able to get the item total corectly in devlopment server but the logic ic not working in production server .can suggest me how proceed so that the same logic works well in production server also. The coding i used is as below.
regards
venkat
LOOP AT I_VBRK where VBELN = G_VBELN.
IF SY-SUBRC = 0.
G_NETWR1 = I_VBRK-NETWR.
G_KWERT = I_VBRK-MWSBK.
T4 = G_KWERT.
CONCATENATE '-' T4 INTO T4.
CONDENSE T4 NO-GAPS.
T3 = G_NETWR1.
CONCATENATE '-' T3 INTO T3.
CONDENSE T3 NO-GAPS.
ENDIF.
G_KWERT_TOT = G_NETWR1 + G_KWERT.
T5 = G_KWERT_TOT.
CONCATENATE '-' T5 INTO T5.
CONDENSE T5 NO-GAPS.
ENDLOOP.
Hi Fredric
can u suggest me how to solve this problem if there is a problem in code
regards
venkat
2006 May 15 11:45 AM
Hi,
Why did you use a "If sy-subrc .." in a Loop statement ? The result of your sy-subrc will always be 0 !
Why do you use a concatenate '-' ? you can't make simply a g_kwert = - g_kwert ?
What are the type and length of your data ?
Rgd
Frédéric
2006 May 15 12:00 PM
Hi Fredric
before i used read table instead of loop at then it worked fine in dev server but not in production server
so i thought if i change it to loop at it will work fine but it did not could u plz suggest
regards
venkat
2006 May 15 12:11 PM
Hi Fredric
can u suggest me how to solve this problem if there is a problem in code
regards
venkat
2006 May 15 11:45 AM
HI Venkat,
If it is working properly in one server, there must be some problem in your transport request.
Try to re release your transport.
Regards,
Ravi
2006 May 15 11:55 AM
Hi Ravi
just 30mins back i transported the request , i recieved mail from onsite saying its not working fine in production server please suggest
Your answers always helped me
regards
venkat
2006 May 15 12:00 PM
Venkat,
Attach all the objects concerned into a new tr. request and retranport them in the PRODUCTION server.
regards,
Ravi
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |