Skip to main content

Posts

Showing posts from May, 2018

Manual testing of AL11 directory

At times, there might be cases where file not getting stored in the required path after execution of the program. In this case instead of reaching out to technical team functional team can check if the given path is valid and ready to receive  using the below T.Codes. CG3Y - To Save a file From Application server to Presentation server directly. CG3Z - To Save a file From Presentation server to Application server directly.

Fetching Text Data Functional Way

Ideally in order to fetch any data pertaining to text technical team will use ' READ_TEXT' functional module in order to fetch data. At times business might require fetching data functionality rather than programmatically then in that case below are the steps need to be followed.

Appending fields in ME1P report output

At times business requires appending new fields to the ME1P report output. In this case below is the logic needs to be implemented. Append new fields into Standard Structure - 'MEREP_OUTTAB_PRHIS' Write implicit in the function module - 'MEPOBADI_CHANGE_OUTTAB' Thank you.

Useful SNOTES in Credit Management - S/4 HANA

2315269 - FSCM Credit Management: Error when calling credit management (Technical error, web service issues) T.Code to check credit Management Web service calls failure - SRT_TOOLS, SRT_MONI All service failures will be checked in Dump Analysis T.Code - ST22 814637 - Credit Management: Various corrections

Requirement to restrict business user from releasing sales document more than once after credit block

Business Requirement: If the customer is blocked due to credit then credit release should happen only for the first time. When the second order is created for the customer and is blocked for credit then the system should through error message with below info Solution approach: Userexit_SAVE_DOCUMENT Logic If SY-TCODE EQ ‘VKM4’ Pass KUNNR into Table VBAK and fetch all entries where VBAK – CMGST = ‘D’ and VBAK-GBSTK and VBAK-LFSTK = ‘C’ If SY-SUBRC is INITIAL Pass VBELN into table VBFA-VBELV and fetch VBELN with VBTYP_N = ‘M’ If SY-SUBRC is INITIAL Pass VBELN into Table BSID – ZUONR and fetch BELNR If SY-SUBRC is INITIAL Message ‘Payment pending for Order exist. Hence cannot release this Sales Order’ type ‘E’.

Credit Management Reports - S/4 HANA

Display Credit Exposure - UKM_BOL_COMMITMENTS_1 This gives the list of open document and levels at which they are in  open status i.e., order, delivery or Billing Table - V_UKM_TOTALS This table gives the commitment amount and the exposure perceived Report - UKM_RVKRED06 The report checks all blocked documents from the credit view Report - UKM_RVKRED77 This is used for the reorganization of credit data after update errors