Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Working with Dialog programing

Former Member
0 Likes
1,444

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.

7 REPLIES 7
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,085

This is the spec you received, but  what did you try before posting and  what is your exact problem, question ? Remember spec dumping is not allowedd, read the Rules of Engagement.

Regards,

Raymond

Read only

0 Likes
1,085

Sorry for that Raymond,

i have gone through it and tried on it but not able to do,

so have done like that,

pls forgive me for that pls help me.

regards,

pavan.

Read only

0 Likes
1,085

Could you be more precise on which step you get a problem or lack any clues ?

Regards,

Raymond

Read only

Former Member
0 Likes
1,085

i have done all the fields on the screen

am getting problem with PBO and PAI logic for Non PO-Index and NonPO- parked.

Pls help me...

Thanks in advance.

regards,

pavan.

Read only

0 Likes
1,085

Hi Pavan,

It would be better if you post your code. Also, do tell what exactly is your problem(what result you want and what is going wrong)??

We may not be able to help you if you don't tell your problem correctly

Read only

0 Likes
1,085

Hi Aniket,

Actually haven't worked on Dialog programming before but my official has assigned me work on it self.

So am not able to work on it.

Please Could you help me in this.

Thanks&regards,

Pavan.

Read only

0 Likes
1,085

Moderator Message :

This thread will be watched for some more time until the required details are provided, if not provided then this post will be disabled.

FYI -

The SCN is not a forum for ordering free technical consulting. It is a collaborative community where people voluntarily help you to understand things better in the SAP world. Please try to avoid the impression of requirement dumping. I recommend to read the useful Blog "Asking Good Questions in the SCN Discussion Spaces will help you get Good Answers"  next and first learn the principles of this before asking any more question. Thank you for taking time to understand community help.