Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from Sunny on Aug 28 at 10:01 AM Hi Christina, Thanks for your reply The Value Date field is not suppressed for all GL accounts so using "/" means some one has to manually tweak the input file to enter "/" inplace of value date. If the ABAP code would be correct then SAP will do the job and will leave the Value Date field of all GL accounts blank except the account 105205. Any other thoughts? Sunny
| | | ---------------Original Message--------------- From: Sunny Sent: Monday, August 27, 2012 11:03 AM Subject: Ignoring a Target Field in LSMW FI Posting 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. __.____._ | _.____.__ |