|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Uploading Customer Master data using Direct Input Method
the cursor on respective field and then click on Rule button.
after rule insertion, mapping looks like below.
initial check rule for each and every field in the source structure which are
used in the mapping and used conversion exit to provide leading zeros to the
input field value for few selected fields where ever it is necessary.
similar steps for rules button and choose this radio button.
constants where ever necessary lime below
There are also few other possible features are available under Rule
button which can be used according and effectively based on the requirement.
ensure that we have done field mapping for each and every field which is present
in the source structure and we have not left any field with un-mapping, we can
follow below path to check.
above are the basic steps which need to be considered while doing any LSMW
from this there are few sections available in the LSMW design where we can also
insert some custom code to achieve few other things.
shown are the different processing blocks of a LSMW object.
single record in the input flat file refers to one transaction in LSMW.And this
one transaction contains data which bellows to different structure available in
the standard program interface. Each structure got a –Begin of record and
–End of record event, where we can write our custom code to manipulate the
whole record. If we would like to skip some record of any transaction, we can
write some custom logic here it self. Logic written here wont affect the while
transaction but that specific structure record.
can double click on the code section and Implement your new custom code.
we can write our custom code at –Begin of transaction & --End of
transaction to manipulate the whole transaction record.
all the records from flat file/or all the transactions at LSMW level got
processed, the event
of processing gets trigger where we can write some custom code giving the
summary of all transaction processing.
will be calculated during each record processing stage if any and if any error
is found then input data is not transferred to transaction level but error
details will be provided at the end of processing.
logic to do date formatting as per the requirement. Used PERFORM F_GET_DATE to
convert incoming date format MM/DD/YYYY
to YYYYMMDD.So the perform we can call in LSMW level and the form
routine can be written at –Form Routine—section. This routine is local to
the LSMW object only.
doing all these custom coding we can do data declaration in –Global
You can make use of button to change the layout
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards