Hello,

Sign up to join our community!

Welcome Back,

Please sign in to your account!

Forgot Password,

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask a question.

You must login to send a message.

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Welcome To SAPEWM HELP

Ask questions and get real answers from real Experts. Get instant solutions for your SAP Extended Warehouse Management ABAP FICO BASIS and other Modules challenges. Experts from SAP community will help you resolve you issues, optimize processes, and provide guidance.

Our Statistics

  • Questions 195
  • Answers 3
  • Best Answers 0
  • Users 4

SAP EWM Help Latest Questions

  • 0
DPM125
Beginner

Synchronous RFC (sRFC) Default type when you call a function module via RFC. The caller program waits until the remote system has completed the function execution and returned the result. Example use: Real-time data retrieval (e.g., fetching stock from another SAP system). FM execution: ...

  • 0
DPM125

Scenario: Business wants to run a Sales Order Report (ZSD_SALES_ORDER_REPORT) every night automatically in the background. Instead of manual execution, a background job is scheduled from the ABAP program. CODE:   REPORT z_schedule_bg_job. DATA: lv_jobname TYPE tbtcjob-jobname VALUE ‘Z_SALES_ORDER_JOB’, lv_jobcount TYPE tbtcjob-jobcount, lv_subrc TYPE sy-subrc. PARAMETERS: p_variant ...

*&———————————————————————* *& Report  ZCLASS_TEST_DP_1 *& *&———————————————————————* *& *& *&———————————————————————* REPORT zclass_test_dp_1. *pillars of oop ” abstraction  –> hiding the data. ” encapsulation –> variable + methods.  –> capsule ->  1 + 1 == ” inheritance –> parent child relation. ” –> child calss will inherit the property of parent class ” polymorphism ” multiple forms –> 1 method — same name and differe param parent ==> child class but with different paremeters. –> method overriding. ” method overloading is not there –> same 2 same name and different parameters. PARAMETERS: p_num TYPE i. DATA: lv_tot TYPE i. CLASS lcl_main DEFINITION. PUBLIC SECTION. METHODS: get_data EXPORTING iv_num TYPE i. METHODS: set_data IMPORTING ev_num TYPE i. PROTECTED SECTION. PRIVATE SECTION. DATA : lv_num1 TYPE i. ENDCLASS. CLASS lcl_main IMPLEMENTATION. METHOD set_data. lv_num1 = ev_num. ENDMETHOD. METHOD get_data. iv_num = lv_num1. ENDMETHOD. ENDCLASS. ” inheritance class lcl_child DEFINITION INHERITING FROM lcl_main. PUBLIC SECTION. METHODS: get_data REDEFINITION. METHODS: set_data REDEFINITION. PROTECTED SECTION. PRIVATE SECTION. data lv_child type i value 4. ENDCLASS. class lcl_child IMPLEMENTATION. method get_Data. ” method overriding *    ev_tot = iv_num + iv_num2. ” child will gor the child methods first then to parent method. super->get_data( IMPORTING iv_num = iv_num ). ” way to calling the parent method ENDMETHOD. method set_Data. *    ev_tot = iv_num + iv_num2. ” child will gor the child methods first then to parent method. super->set_data( EXPORTING ev_num = ev_num  ). ” way to calling the parent method ENDMETHOD. ENDCLASS. START-OF-SELECTION. DATA(lo_obj) = NEW lcl_main( ). DATA(lo_obj_child) = NEW lcl_child( ). lo_obj_child->set_data( EXPORTING ev_num = p_num ).

  • 0
DPM125
Beginner

*&---------------------------------------------------------------------* *& Report  ZTEST_PROGRAM_2 *& *&---------------------------------------------------------------------* *& *& *&---------------------------------------------------------------------* REPORT ztest_program_2. TYPES : BEGIN OF lty_student,         name TYPE string,         id TYPE zstudent_id_01,         departid TYPE zdep_id,         departmentname TYPE string,         END OF lty_student. " internal table DATA lt_student TYPE TABLE OF lty_student. " work area. DATA ls_student TYPE lty_student. DATA ls_department TYPE zdepartment_1. " assign  --> " unassig  --> directly access the place where the data is stored. START-OF-SELECTION.   SELECT studentname studentid departmentid FROM zstudent_2         INTO TABLE lt_student.   "using workarea.   clear: ls_Student.   ls_student-id = '2'.   ls_student-name = 'RAM'.   ls_student-departid = '4'.   ls_student-departmentname = 'CSE'.   " append    append ls_Student to lt_Student.     "using workarea.   clear: ls_Student.   ls_student-id = '3'.   ls_student-name = 'RAM'.   ls_student-departid = '5'.   ls_student-departmentname = 'CSE'.   " append    insert ls_Student into lt_Student.   LOOP AT lt_student INTO ls_student.     WRITE: / ls_student-name, ls_student-id, ls_student-departid, ls_Student-departmentname.   ENDLOOP.   This ABAP report ZTEST_PROGRAM_2 is a beginner-friendly example that demonstrates how to work with internal tables, work areas, and database records. It starts by defining a custom structure lty_student to hold student ...

SAP BPA stands for SAP Build Process Automation.It is a cloud service on SAP Business Technology Platform (BTP) that helps companies automate workflows and business processes without needing deep coding skills. Think of it as a tool to digitize and ...

Recent Posts on sapewmhelp.com

SAP EWM Help Latest Articles

Create TU in SAP Extended Warehouse Management – EWM

TRY.          lo_tu_cntrl->create_new_bo_tu( EXPORTING is_bo_tu_new = ls_new_tu_head                                         IMPORTING eo_bo_tu     = eo_bo_tu ). IF eo_bo_tu IS BOUND.             es_tu_act_num = eo_bo_tu->get_num( ).             APPEND es_tu_act_num TO lt_inkeys.          ENDIF.             lo_tu_cntrl->save( ). *--Commit work             COMMIT WORK AND WAIT.             tu_num = es_tu_act_num-tu_num.             "Log something in case of success           CATCH /scwm/cx_sr_error INTO lo_tu_exception.             ROLLBACK WORK. *--Log something in case of error

How can you extract specific fields from an internal table using FOR … WHERE inside a VALUE expression?

This creates a new string table containing only the names of users whose status = ‘ACTIVE’—short, clean, and readable. — REDUCE Example —Total Amount: 500 Output: — FILTER Example —Alice ACTIVECharlie ACTIVE — FOR Expression Example —AliceCharlie

Explore Our Blog