Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

LSMW

Former Member
0 Likes
669

Hi,

I'm using direct input method for FB01. Here there will be 2 entries for Debit and Credit. WBS element is only for debit entry. So if WBS value is null in the source file, I skip that record.

My requirement is when i skip the debit record, the corresponding credit entry also I need to skip.

Is there anyway to do this?..Pls help.

Thanks

Hi,

I'm using direct input method for FB01. Here there will be 2 entries for Debit and Credit. WBS element is only for debit entry. So if WBS value is null in the source file, I skip that record.

My requirement is when i skip the debit record, the corresponding credit entry also I need to skip.

Is there anyway to do this?..Pls help.

Thanks

4 REPLIES 4
Read only

Former Member
0 Likes
637

Hi

First sort the file with debit and credit records and skip 2 records instead of 1.

Hope this helps.

Thanks,

Deepti

Read only

0 Likes
637

Thanks for reply,

How to sort the file thru LSMW and how to skip 2 records?

Pls help

Read only

0 Likes
637

hi,

In the coversion rules step u can do that.

first read all the records into an internal table and then sort.

This can be done in conversion rules step.

Thanks,

Deepti

Read only

Former Member
0 Likes
637

Hi,

Use the SKIP_TRANSACTION command in the mapping step:

In the setting of the WBS field:

If it is null and the item is a debit, then

SKIP_TRANSACTION.

This will prevent the data for that transaction being passed from the conversion step.