Batch input is typically used to transfer data from non-R/3 systems to R/3 systems or to transfer data between R/3 systems. It is a data transfer technique that allows you to transfer datasets
automatically to screens belonging to transactions, and thus to an SAP
system. Batch input is controlled by a batch input session.
Showing posts with label SAP Bangladesh. Show all posts
Showing posts with label SAP Bangladesh. Show all posts
Thursday, November 24, 2016
Sunday, April 7, 2013
How to add search help to selection parameter?
I was looking for help to add search help in selection parameter. But I didn't find any simple one to understand for a newbie like me. So I am going to explain for the beginner how to add search help in selection parameter.
In my previous post I have shown how to create search help. Now I will use that one.
DATA: it_return TYPE STANDARD TABLE OF ddshretval,
wa_return LIKE LINE OF it_return.
PARAMETERS: p_traid TYPE likp-traid.
Go to AT SELECTION-SCREEN.
Change the line AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_traid.
Now call FM F4IF_FIELD_VALUE_REQUEST
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = 'likp'
fieldname = 'TRAID'
searchhelp = 'ZTRAID'
TABLES
return_tab = it_return[]
EXCEPTIONS
field_not_found = 1
no_help_for_field = 2
inconsistent_help = 3
no_values_found = 4
OTHERS = 5 .
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Read it_return table data and assign to the parameter.
IF sy-subrc EQ 0.
READ TABLE it_return INTO wa_return INDEX 1.
p_traid = wa_return-fieldval.
ENDIF.
Now it will work :).
Thanks
Rizvi :)
In my previous post I have shown how to create search help. Now I will use that one.
DATA: it_return TYPE STANDARD TABLE OF ddshretval,
wa_return LIKE LINE OF it_return.
PARAMETERS: p_traid TYPE likp-traid.
Go to AT SELECTION-SCREEN.
Change the line AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_traid.
Now call FM F4IF_FIELD_VALUE_REQUEST
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = 'likp'
fieldname = 'TRAID'
searchhelp = 'ZTRAID'
TABLES
return_tab = it_return[]
EXCEPTIONS
field_not_found = 1
no_help_for_field = 2
inconsistent_help = 3
no_values_found = 4
OTHERS = 5 .
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Read it_return table data and assign to the parameter.
IF sy-subrc EQ 0.
READ TABLE it_return INTO wa_return INDEX 1.
p_traid = wa_return-fieldval.
ENDIF.
Now it will work :).
Thanks
Rizvi :)
Tuesday, April 2, 2013
Who I am ?
This is Rizvi Saleheen a SAP professional in Bangaldesh.I have 3 SAP project experience including 1 full cycle implementation as an ABAP consultant.
• Extensive experience in developing and supporting SAP ABAP solutions ECC-6.
• Proficient with ABAP Workbench tools (ABAP Dictionary, ABAP Editor, Smart-Forms, ALV report and SAP Script).
• Exposure in SAP modules including SD, MM, PP, FICO, HCM, PM and QM.
• Clear concept on database updates with Open SQL, Oracle native SQL, and Pl/SQL.
• Having good working knowledge on Oracle database 9i, 10g and Oracle Developer Suite 6i, 10g.
• Experience in complete life cycle of project development (SDLC), including Planning, Programming, Analysis/Design, Testing, Documentation, Database Designing, End-user training and Support. Conversant with Agile practices, Scrum approaches.
Find my profile in Linkedin
Summary
• Overall 5 years of experience as an IT professional including 1 full life cycle SAP implementations and 3 support projects.• Extensive experience in developing and supporting SAP ABAP solutions ECC-6.
• Proficient with ABAP Workbench tools (ABAP Dictionary, ABAP Editor, Smart-Forms, ALV report and SAP Script).
• Exposure in SAP modules including SD, MM, PP, FICO, HCM, PM and QM.
• Clear concept on database updates with Open SQL, Oracle native SQL, and Pl/SQL.
• Having good working knowledge on Oracle database 9i, 10g and Oracle Developer Suite 6i, 10g.
• Experience in complete life cycle of project development (SDLC), including Planning, Programming, Analysis/Design, Testing, Documentation, Database Designing, End-user training and Support. Conversant with Agile practices, Scrum approaches.
Find my profile in Linkedin
Subscribe to:
Posts (Atom)