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

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

[sap-dev] Ignoring a Target Field in LSMW FI Posting

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

Question from Sunny on Aug 27 at 11:02 AM
Hello Experts,
Is there a way to ignore a particular target field and its mapping in LSMW?
For example, I have 6 target fields present in a target structure at item level, I want to ignore only one field (VALUT) based on a value in the file for another field (NEWKO OR HKONT) so only 5 target fields will be considered for processing FI posting.
Business Requirement:
If NEWKO (GL Account field) is not equal to account # 105205 then LSMW should not post any "Value Date" for that line item. Currently, the input file is posting "Value Date" for all line items in LSMW.

In the step "Maintain Field Mapping and Conversion Rules" I selected the field "VALUT" and clicked on "Rule" to get the ABAP screen. I've used the following ABAP code.

if BBSEG-NEWKO <> '105205'.
BBSEG-VALUT = SPACE
endif.

Please help me out to correct this code or let me know any other route to fix this issue.
Any replies will be much appreciated

Thank You
Sunny
 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2012 Toolbox.com and message author.
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
Sunny  

achievement
 
View this online
Ask a new question
 
In the Spotlight
Toolbox.com for iPhone & Android: Ask Questions & Get Answers Anywhere. Download the Free App

_.____.__

0 comments:

Post a Comment

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