Pan no with respect to vendor in userexit zxf05u01( package fbk)
Dear Sir ,
In below code, Is exit for fk01, now my question is when we use fk02 then through debug mode we get into this exit
and depending on vendor we find pan no ,but i do not know from where pan no coming with respect to vendor in corresponding memory id .
so how can we traced out that memory id.
user exit - ZXF05U01
DATA : PANCHK TYPE C,
INPUT TYPE J_1IPANNO.
TYPES : BEGIN OF ITAB," OCCURS 0,
TEXT(400) TYPE C,
END OF ITAB.
DATA : ITAB TYPE STANDARD TABLE OF ITAB,
WA_ITAB LIKE LINE OF ITAB,
WA_PAN TYPE J_1IMOVEND,
WA_LFA1 TYPE LFA1,
NAME1 TYPE STRING.
DATA : K TYPE J_1IPANNO.
DATA : ST_AUTH TYPE ZFK01.
*SELECT SINGLE * FROM ZFK01
INTO CORRESPONDING FIELDS OF ST_AUTH
WHERE BNAME = SY-UNAME.
*export ist_resb to memory id 'ZPPC0122_FD'.
*import *ist_resb *= ist_resb from memory id 'ZPPC0122_FD'.
*IMPORT ITAB FROM MEMORY ID 'TD'.
IF I_LFA1-KTOKK = 'Z003' OR I_LFA1-KTOKK = 'Z014'.
IMPORT PANCHK_1 TO PANCHK FROM MEMORY ID 'PAN01'.
IF PANCHK NE 'X'.
MESSAGE 'Enter PAN Number in CIN Detals.' TYPE 'E'.
MESSAGE E054(ZMM).
ELSE.
FREE MEMORY ID 'PAN01'.
ENDIF.
ENDIF.
IMPORT PANACT_1 TO INPUT FROM MEMORY ID 'PANACT'.
SELECT SINGLE *
FROM J_1IMOVEND
INTO CORRESPONDING FIELDS OF WA_PAN
WHERE J_1IPANNO = INPUT.
IF SY-SUBRC EQ 0.
SELECT SINGLE *
FROM LFA1
INTO WA_LFA1
WHERE LIFNR = WA_PAN-LIFNR.
CONCATENATE '(' WA_LFA1-NAME1 ')' INTO NAME1. " SEPARATED BY SPACE.
CONCATENATE '@0A@' 'PAN number' WA_PAN-J_1IPANNO 'already exist for vendor' WA_PAN-LIFNR NAME1
INTO WA_ITAB-TEXT SEPARATED BY SPACE.
APPEND WA_ITAB TO ITAB.
IF ITAB[] IS NOT INITIAL.
CALL FUNCTION 'OIJ_POPUP_TO_DISPLAY_TABLE'
EXPORTING
ENDPOS_COL = 100
ENDPOS_ROW = 10
STARTPOS_COL = 5
STARTPOS_ROW = 5
TITLETEXT = 'Repetition of PAN Number.'
LINE_WIDTH = 130
TKT_YEAR = '2010'
TABLES
I_TABLE = ITAB[]
TEST_DOCFLOW =
DOC_SET_TAB =
EXCEPTIONS
BREAK_OFF = 1
OTHERS = 2.
FREE MEMORY ID 'PANACT'.
MESSAGE E055(ZMM) WITH WA_PAN-J_1IPANNO WA_PAN-LIFNR NAME1.
CLEAR : WA_PAN, WA_LFA1, INPUT.
ENDIF.
ENDIF.
Thanks and regards
victor
Dear sir ,
I found this in as per your given path prabhu, i am not getting which i want.
"when in fk02 i fill the entry for pan detail then how it come in memory id " PANACT"
WHICH USED IN USEREXIT OF SAPMF02K WHOSE CODE I PASTED BEFORE.
? help
SMEM SAP memory (SPA-GPA)
MEMORIES EXPORT/IMPORT memories
ITAB-ADMIN Internal table administration
ITAB-HEADS Internal tables: Table headers
ITAB-PAGES Internal tables: Table body pages
ITAB-REGIS Internal tables: Registry for references/field-symbols
ITAB-TOP25 Internal tables: top 25 concerning storage costs
STRINGHEAD Strings: Header table
SCREEN SCREEN table
DATASETS datasets / files
VERSION system version
PROGRAMS programs loaded
CUA CUA status data
DSEG data segments and work areas
ES extendend memory segments (system wide)
ZTTA task type area
SPA system program area
PXA program execution area
PXA64 program execution area
Regards
Victor
Edited by: victor ezaz on Oct 13, 2011 8:17 AM
Edited by: victor ezaz on Oct 13, 2011 8:17 AM
Similar Messages
-
PAN validation for creating vendor in userexit
Hi experts,
I am validating few fields like name,address,city,PAN etc. while creating a vendor using Tcode XK01.The PAN field and tables are J_1IPANNO and J_1IMOVEND respectively.
Now I need to check the screen-input of PAN already exists in the database or not.If Yes,display an error message.
The user-exit I am using is EXIT_SAPMF02K_001.
The structures for name,address and city are i_lfa1-name1, i_lfa1-ort01 and i_lfa1-stras. These screen-input fields are checked with the database table LFA1.Similarily I need to check for PAN entered in XK01.But could not find the screen-input structure of the tables in user-exit SAPMF02K.
Requirements:
1. Where can we find the PAN entry in XK01.
2. What could be the screen-input structure for PAN?
3. Is there any other possibility of checking the PAN with the database in the userexit(if any).
Regards,
Raj.Hi,
Iam aslo facing same problem,
can u suggest if got any information regarding that exits,
i
please try to reply as soon as possible,
regards
Hemanth -
Creating Sales order With Respect To Purchase Order
Hi Friends,
Requirement is that in source system for exp Company A
creating Purchase order now with respect to this purchase order...
In Target System.for Exp Company B Sales Order Should be created.................
For this in Source system........i m using message type orders
when i m creating Purchase Order Idoc Successfully send to reciever......but in reciever idoc coming with error(sales organization,dist channel not found for customer 1000).......
sales order not getting created automatically..............
and customer 1000 is automatically coming i dont know how....?
pls tell me what is the necessary configuration required for vendor,customer.....in source and destination side.....?DIDC 1500000000000032795700 03 1A000000001KUS004
E1EDK01 INR 1.00000 ZPOR0000600764
E1EDK14 0141000
E1EDK14 01410
E1EDK14 00900
E1EDK14 013ZPOR
E1EDK14 0111000
E1EDK03 01220080122
E1EDK03 01120080122
E1EDKA1 AG S004
E1EDKA1 LF 0006000023
E1EDKA1 WE D001 Food Park - Kalamboli
E1EDK02 0010000600764 20080122190024
E1EDP01 00010 0010 50.000 EA 50.000 EA 5 1 250
E1EDP20 50.000 0.000 20080126
E1EDP19 001000000000006000006 ,hjurv Godrej Eazy wash1(curt change)
E1EDP19 0031234567891012
E1EDS01 002250 INR
this is my segment detail i u told i hv created see bold char -
PAN number for one time vendor
Hi,
At the time of transaction against one time vendor with deduction of tds at the time of document saving
system are giving error "PAN number not available'"
Can any body infm me where we should update the PAN number for one time vendor as if we update the PAN number in one time venodr cin tab then for every one time vendor system is showing the same number ,
So pl suggest where we should maintain PAN number of one time vendor
I am in ECC6
Regards
VijayHi,
In the Creation of Vendor master data, CIN Tab shows onthe menu bar ther you will assign the PAN number .
If the TAB is not shown , assigned in the t code OMT3E select user screen reference and select New Entries and maintain the user and the counry.
May I hope this will helpfull
Regards,
Kanike -
Inspection lot before GR with respect to Purchase Order
Dear Friends,
Here is my Question
If i use inspection type 01 ,Normally there is a inspection lot creation while doing GR with respect to PO
but my Question is
we need two inspection lot one is before GR and another is after GR , is there any settings or solution for this
Thanks in advanace
Regards
RajHi Raj
you can create inspection lot before GR by using inspection type 0101
normally this inspection type is used for source inspection
assign this inspection type 0101 to that material , create quality inforecord for material and vendor
assign inspection type 0101 in that inforecord, now when P.O gets generated in MM
you can generate inspection lot W.R.T that P.O through transaction code QI07
please revert back for any help reqd.
Thanks
Vinay -
To download the GL 140881 with the colums VENDOR CODE & TEXT in FBL3N
Hello Exports
My user trying to download the GL 140881 with the colums VENDOR CODE & TEXT in FBL3N
In the columm of Vendor code and Text he wants to Display in the respective filed
before that he has done transaction IN MIRO
The Entry is
PK Account Account short text Tx Cost Ctr Order Amount
31 35774 FRICTION ENGINEERS 4I 30.375,00
86 310891 GR-IR clear-RM/Comp 4I 13.500,00
86 310891 GR-IR clear-RM/Comp 4I 13.500,00
40 140881 VAT RECOVERABLE 4I 1.687,50
40 140881 VAT RECOVERABLE 4I 1.687,50
in this he wants disply VENDOR CODE & TEXT in FBL3N for 140881 G/L A/C (VAT RECOVERABLE )
But i tryed it by table wise like BSEG and LIFNR but its displys only filed name but it not displaying the VENDOR CODE & TEXT in the respective filed
Can you please give suggesstion on the same
Thanks and Regards
vamsiDear,
Check the following ink -
Re: Vendor & Customers in FBL3N
regards,
Gov -
To download the GL 140881 with the colums VENDOR CODE & TEXT in FBL3N Pos
Hello Exports
My user trying to download the GL 140881 with the colums VENDOR CODE & TEXT in FBL3N
In the columm of Vendor code and Text he wants to Display in the respective filed
before that he has done transaction IN MIRO
The Entry is
PK Account Account short text Tx Cost Ctr Order Amount
31 35774 FRICTION ENGINEERS 4I 30.375,0086
310891 GR-IR clear-RM/Comp 4I 13.500,0086
310891 GR-IR clear-RM/Comp 4I 13.500,0040
140881 VAT RECOVERABLE 4I 1.687,5040
140881 VAT RECOVERABLE 4I 1.687,50
In this he wants disply VENDOR CODE & TEXT in FBL3N for 140881 G/L A/C (VAT RECOVERABLE )
But i tryed it by table wise like BSEG and LIFNR but its displys only filed name but it not displaying the VENDOR CODE & TEXT in the respective filed
Can you please give suggesstion on the same
Thanks and Regards
vamsiyes i got a solution
Thanks for all
vamsi -
Service Entry Sheets with respect to PO
Hi,
Please let me know how we can create service entry sheets with respect to Purchase Orders in MM.
Can we default the details of PO if we give PO reference in ML81N in MM.
Thanks,
VijayI think this possible with Lm01.
- When you issue the components through SC vendor, you create delivery via ME2O.
- Configure LM01 as such you can stage with respect to the delivery and load it. Check with technical team. you dont need to have WM or PP module to use LM01 as we used LM01 without these modules.
Or if you want to use just 311 movement type using goods issue, you should make use of the item text or header text in Good issue screen to refer the PO number -
How to delete the row in table control with respect to one field in module pool programming?
Hi,
Can I know the way to delete the row in table control with respect to one field in module pool programming
Regards
Darshan MSHI,
I want to delete the row after the display of table control. I have created push button as delete row. If I click on this push button, the selected row should get deleted.
I have written this code,
module USER_COMMAND_9000 input.
DATA OK_CODE TYPE SY-UCOMM.
OK_CODE = SY-UCOMM.
CASE OK_CODE.
WHEN 'DELETE'.
LOOP AT lt_source INTO ls_source WHERE mark = 'X'.
APPEND LS_SOURCE TO LT_RESTORE.
DELETE TABLE LT_SOURCE FROM LS_SOURCE.
SOURCE-LINES = SOURCE-LINES - 1.
ENDLOOP.
But I'm unable to delete the selected rows, It is getting deleted the last rows eventhough I select the other row.
So I thought of doing with respect to the field. -
Restrict manual change in sales order with respect to quotation
Hi All,
The user use to create sales order with respect to quotation. The user can able to change pricing as well as some header and item fields. How can I restrict user for manual change in sales order expect some specific fields.
Thanks.Hi Sunil,
It is possible through configuration better you can post in sd forums.
For the condition type settings , ensure that the manual entries is 'D'. it wont allow any changes in the order.
Regards,
Madhu.
Edited by: madhurao123 on Aug 1, 2011 1:08 PM -
Reg: How to capture the Excise Invoice with respect to Inbound delivery
Hi All,
Please give the process follow for capturing the excise invoice with respect to inbound delivery.
Thanks & Regards
SivaHi Siva,
Please check this link
CIN with Example..?
Regards,
Bijoy Kumar -
Looking for help with respect to configuring MS Exchange server to handle attachments over 10 MB for forwarding to Salesforce (Email-to-case).
Problem - SFDC does not create cases from emails that have more than 10 MB of attachments. Our clients will not go-live if their clients cannot send in emails with attachments over 10 MBs
Potential resolution - Configure MS exchange to strip off the attachments(if over 10 MB) and store it in a public folder, forward the email to Salesforce (so the case gets created or the email
is associated to an existing case), the client should have some way to know if the attachments were stripped off and should be able to dlownload the attachments and continue with case resolution.
Any help is appreicated!
ThanksHi,
From your description, you want to achieve the following goal:
Configure Exchange to filter the attachments if the size is over 10 MB and store it in a public folder, and then forward the email to Salesforce.
Based on my knowledge, I'm afraid that it can't be achieved. Exchange can filter messages with attachments, but it couldn't store these attachments on public folder automatically. Also, I don't see any transport rule can do it.
Hope my clarification is helpful.
Best regards,
Amy Wang
TechNet Community Support -
I have a use case where I need to use different download directories with different firefox profiles.I need to use this profiles in multiple linux machines.
I need to have a relative path to my download directory with respect to the profile folder.
Ex: I have a selenium test which opens a website and downloads it to my machine.I want this downloaded file to go into some specific folder relative to this profile folder.How do I do this??That is not a practically empty xinitrc - that file only needs one line: exec WM. Other things are entirely optional, and some of them very useful, but I'd encourage you to stick with the simplest xinitrc that will do what you require.
Is slim involved? Probably. That is the source of many problems. But to start narrowing this down, I have 3 suggestions:
1) temporarily (at least) change your inittab to default to runlevel 3 ... actually, is it currently set to 5 or 3? if it is currently 3 that would explain why slim doesn't start.
2) at a tty in runlevel 3 use "xinit" instead of "startx". Startx is fine most of the time, but it is essentially just a complex wrapper for xinit. That complexity can often iadd useful functionality, but it *always* makes troubleshooting more difficult. So for now just use a vanilla 'xinit'.
3) remove dbus-launch from your exec line in xinitrc. This is done by console-kit so it is redundant and potentially problematic. Further BOTH of these are taken care of by slim, so I'd even suggest getting both a jump start on being ready for slim and simplifying troubleshooting by removing both of them. Just make that line "exec openbox-session"
Edit: adding one more:
4) temporarily switch out openbox-session for openbox. I suspect the reason feh's setting of the background is getting overridden is due to a script or setting in openbox's autostart settings - many of these are only invoked when "openbox-session" is called, while "openbox" starts *just* the window manager itself.
Last edited by Trilby (2012-10-03 17:30:36) -
Performance issues with respect scheme registration,select & insert query
I am facing performance issues with respect to schema registration,Select & insert query towards 10.2.0.3 version.It is taking around 45 minutes to register schema and it is taking around 5 min to insert a single document into xml db where as it was taking less than min to insert a single document into xml db of 9.2.0.6 version.Would like to know the issue and solution to resolve this issue.Please help me out on this as it is very urgent for me
Since it appears that this is an XML DB specific question, you're probably better off posting in the XML DB. The folks over there have much more experience with the ins and outs of that particular product.
Justin -
Any option to get the list of Invoice with respect to Sales Area
Dear All,
Is there any option to check the list of Invoices with respect to the Sales area.
Because, in VF05, we are getting the list either for a Payer or a Material.
I want to see the list of Invoices for a Sales area. I mean, it should be similar to VA05, where we can get the list of Sales Orders even without providing the Customer and Material information.
Reagrds,
MullairajaHI
Use the T code VF05N and select the option Bill documents in Fi
Here you can get the list of invoices
Try with MC+2
regards
Prashanth
Edited by: Prashanth@SD on Nov 11, 2010 9:44 AM
Maybe you are looking for
-
How can I get Final Cut ProX to recognize my Canon Vixia HV30 camera?
-
Hi from Russia. I've got 2 issues with OVI: 1. It does not sync phone numbers (Russian language E71 phone); 2. Recurrent events in OVI web-site are shifted 1 day left (e.g. 02.dec->01.dec). But on the phone calendar the dates are OK. How to fix these
-
Highlight and Shadow Values to indicate clipping
Just curious on how hot a highlight needs to be to have the highlight clipping indicator to turn on (red) any idea what the RGB values need to be? Same question for the shadows. This could be related to the issues I have raised in a couple of threads
-
Hi, I've been running CS2 on Vista for about 4 years on my laptop with no problems. Last weekend I got a Malware virus that had to be removed by McAfee. They made some changes to the Vista OS and also installed Service Pack 2 for Vista. Now CS2 won'
-
Preserving link and default state using cookies
Hello, I am not sure where to post this with the re-design of this forum; it's been a while so please forgive me if this is in the wrong g place. I have a very basic link wrapped in a UL tag. I am using JQuery to give the links a color when they are