We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-log-mm] Code for fetching MSEG-DUBMTR data positive/negative in Query

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from LCC352 on Jan 20 at 2:56 PM
Ashutosh is correct, but if you're using an ABAP Query, then you've turned on "short fields" and you've assigned a name to the DMBTR and MENGE fields. You would create two new fields, one based on DMBTR and one based on MENGE, and use the code Ashutosh sent, substituting your new field names for his DMBTR.

The code given by Ashutosh would work if you were in pure ABAP, but in query, it would be slightly different.

- Lou

---------------Original Message---------------
From: Zaiedul Hoque
Sent: Sunday, January 19, 2014 3:05 PM
Subject: Code for fetching MSEG-DUBMTR data positive/negative in Query

Dear Experts,


I've made a query where the main table is MSEG and join with MKPF.

But I need to fetch data from DUBMTR (Amount in Local Currency) and MENGE_D (Quantity) as positive/negative value depends on following movement type.

101, 918, 919, 262, 602 as positive
102, 917, 920, 261, 601 as negative.

Would you please advice to make coding for this.



Thanks in advance
Zaied

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2014 Ziff Davis, Inc. and message author.
Ziff Davis, Inc. 28 E 28th Street New York, NY 10016
LCC352  

CEO, COO, CFO, CMO, Pres, GM
21 achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Have a technical question? Need to find IT solutions? Ask your peers in the Toolbox for IT community.

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language