2013 Jan 26 6:50 AM
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.
2013 Jan 26 8:05 AM
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
2013 Jan 26 8:10 AM
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.
2013 Jan 26 10:20 AM
2013 Jan 26 10:31 AM
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.
2013 Jan 26 11:55 AM
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
2013 Jan 27 6:07 AM
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®ards,
Pavan.
2013 Jan 27 6:27 AM
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.