Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Working with Dialog programing

$
0
0

Hi Friends,

 

I have a requirement like below please help me with coding.

 

Sub-Screen for Non-PO Indexing Screen

Overview:  The non-po indexing screen will be called from the indexing workflow. It will display the

custom indexing fields configured at CLIENT_NAME for a non-po invoice

Program:  ZFI_VIM_BL_M1_SUBSCREENS

Screen:  1003

Description:  Open Text: Indexing Data Header - Index Information NON PO

Sub-Screen Layout:

 

Structures:

Ensure to extend the structure ZFI_VIM_1RDOC_DATA to include the fields required:

 

1. Company Code

a. Change Mode

b. Mandatory

2. Credit Memo

a. Check Box

b. Optional

c. Change Mode

3. Invoice Date

a. Mandatory

b. Change Mode

4. Invoice Amount

a. Mandatory

b. Change Mode

5. Vendor Number

a. Blank

b. Mandatory

c. Change Mode

6. Vendor Name

a. Prepopulated from Vendor Number Master Data

b. Optional

c. Display Mode

7. Vendor Invoice Number

a. Mandatory

b. Change Mode

8. Currency

a. Blank

b. Mandatory

c. Change Mode

9. Requestor (network ID)                                                                               

  a. Blank

b. Optional

c. Change Mode

10. Notes

a. Blank

b. Optional

c. Change Mode

 

PBO Logic:

1) Prepopulate the screen with existing data from table /OPT/VIM_1HEAD.

PAI Logic:

1) Check that the fields defined above as mandatory are filled in by the user.  Display an error

message if this is not the case.

2) Load all captured data in /OPT/VIM_1RHEAD structure for later update in

/OPT_VIM_1HEAD table

 

 

Sub-Screen for Non-PO Parked Invoice Reason

Overview:  The sub-screen will appear in the bottom section of the Park Reason screen

/PTGWFI/SAPLPIR_001   9010. This sub screen will allow the AP Processor to select a

valid Requestor (Approver) and thus also determine who the coder will be from the

custom approval matrix table (/ORS/USERMAP)

Program:  SAPLZFI_VIM

Screen:  9020

Description:  Open Text VIM - Subscreen to Enter Requestor for Non-PO Approval

Sub-Screen Layout:

 

See baseline program /OPT/SAPMVIM_BL_PRS_SUBSCREEN screen 8000 and make necessary

changes.

 

PBO Logic:

1) Prepopulate the coder ID field and domain with what was already in /PTGWFI/F_PIRMTR

table (WINDOWS_ID and WINDOWS_DOMAIN) or table /OPT/VIM_1HEAD

 

POV or Search Help Logic: 

1) CALL custom search help

 

PAI Logic:

1) Ensure that the selected approver windows ID and domain match what has been configured

in the custom approval matrix table (Table: /OPT/BL_APPCOA) - otherwise display an error

message “Please enter a valid Coder ID”

2) When the user selects PROCEED use the following logic:

  

a) Store the coder windows ID, coder domain, coder email address, manager windows ID,

manager domain, manager email address (read from custom VIM approval matrix table)

in /PTGWFI/F_PIRMTR table (fields: CODER_ID, CODER_DOMAIN,

CODER_EMAIL, APPROVER_ID, APPROVER_DOMAIN, APPROVER_EMAIL)

 

 

Email will be sent using FM: /ORS/USERMAPPING_SENDEMAIL in core code

(

/PTGWFI/CP_SENDMAIL2)

 

Looking forward for your great response.

Thanks in Advance.


Viewing all articles
Browse latest Browse all 8332

Trending Articles