HR NUMBER RA NGES
HI EXPERTS,
We have a problem in assigining the number ranges basing on the client requirement
. they have 1 employee group and 36 employee sub groups they want the personnel numbers in such a way that by seeing at the personnel number they must be able to identify their personnel area,sub area and employe number.
personnel areas are 3 and sub areas are 15
finally how to assign the number ranges in NUMKR feature?
thank u
Similar Messages
-
Uploading a text file with unknown number of texts
Hi ,
i have a flat file with around 10,000 record's.
each material number followed by different lengths & unknown number of text's separated by delimiter '$',
that need to be saved using save_text function module.
the file is as follows,
record 1 : material1$text1$text2$text3
record 2 : material2$text1$text2$text3$text4$text5$text6$.....
record 3 : material3$text1$text2$text3$text4$text5
record 4: material3$text1
- - - - - - - - - - - - so on ....
i created the following structure , to split and save each text separated by '$' , to save in TLINE of save_text function module.
types : begin of ty_file,
matnr type mara-matnr,
text1 type string,
text2 type string,
text3 type string,
text4 type string,
text20 type string,
end of ty_file.
i have uploaded the file and saved in table it_file type ty_file.
loop it_file into wa_file.
split wa_file at '$' in to matnr text1 text2 text3 text4 ....... so on.
endloop.
please, suggest me an alternate way to reduce the code, instead of creating a structure like above, so that each splitted text
stores in a single variable and is passed to TLINE of corresponding material, in save_text function module
thanks
vikiHi,
The flat file contains , material No. followed by it's text , each text sepearted by '$' symbol.
For each material i have to get all lines of text, and passed to tables paramter of save_text.
The Number of text' for each material is varying.
Please kindly suggest me , how many variables i need to create to hold each splitted text and store it in Tline
I wrote the below program assuming that the material number has maximum of 20 texts, it's working fine. But, what if the number of texts exceeds 20.
file :
4907507$ Druckrolle$ Durchmesser: 218 mm$ Länge: 750 mm$ Rollenwerkstoff: 1.4301/1.4541$ Oberfläche: gummiert$ Stärke Gummierung: 10 mm$ Näscher E 71224$$$$$$$$$$$$$$
1149598$ Tragrolle$ mit Stützringen$ Norm: ähnlich DIN 22112$ Durchmesser: 89 mm$ Mantellänge: 800 mm$ Form der Achsenden: A2$ Achsdurchmesser: 25 mm$ Achsanflachung: SW 18$ Einlegelänge: 808 mm$ Achslänge: 834 mm$ Lagerbezeichnung: 6305$ Anzahl Stützringe Form A: 6$ Anzahl Stützringe Form B: 4$ Anordnung links: 4$ Anordnung mittig: 6$ Anordnung rechts: 4$ Qualität Stützringe: N$ Durchmesser Stützringe: 159 mm$ Anzahl Zwischenhülsen: 7$ Anzahl Schlussscheiben: 2$ Erbö 3111.800.05.68
file upload
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
EXPORTING
static = 'X'
CHANGING
file_name = p_infile.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = gd_file
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
HAS_FIELD_SEPARATOR = '$'
TABLES
DATA_TAB = It_data.
loop at it_data into wa_data.
split wa_data-line at seperator into matnr_txt text1 text2 text3 text4 text5
text6 text7 text8 text9 text10 text11
text11 text12 text13 text14 text15
text16 text17 text18 text19 text20.
move matnr_txt to wa_material-matnr.
move text1 to wa_material-text1.
move text2 to wa_material-text2.
move text20 to wa_material-text20.
append wa_material to it_material.
clear wa_material.
endloop.
loop at it_material into wa_material.
WA_LINE-TDFORMAT = '*'.
WA_line-TDLINE = wa_material-text1.
APPEND WA_LINE TO IT_LINE.
WA_LINE-TDFORMAT = '*'.
WA_line-TDLINE = wa_material-text2.
APPEND WA_LINE TO IT_LINE.
WA_LINE-TDFORMAT = '*'.
WA_line-TDLINE = wa_material-text20.
APPEND WA_LINE TO IT_LINE.
G_THEAD-TDNAME = wa_material-matnr. " material number
G_THEAD-TDID = pa_id. " 'GRUN',
G_THEAD-TDSPRAS = pa_langu. " EN
G_THEAD-TDOBJECT = pa_obj. " MATERIAL
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
CLIENT = SY-MANDT
HEADER = G_THEAD
SAVEMODE_DIRECT = 'X'
TABLES
LINES = IT_LINE
clear : wa_line, g_matnr.
refresh it_line.
endloop.
Edited by: jvsvijay on Jul 28, 2011 12:51 PM
Edited by: jvsvijay on Jul 28, 2011 12:53 PM
Edited by: jvsvijay on Jul 28, 2011 12:55 PM -
How to find licence number to activate software ?
I have just bought the Adobe creative Cloud for enterprise.
I had download the creative cloud and now each software is asking for a licence number but I can't find it.
And I have no acces to Adobe Licensing website to get one.
Can you help me?
Thanks.Hi Berengere,
Welcome on the Adobe Forums!
There is no serial number needed to activate the Creative Cloud, the Adobe ID will be used to activate the product.
As the product mentioned is Cloud for Enterprise, you have to verify first if your Adobe ID (email address) has been assigned to the user rights.
You will find more information in the following link: http://helpx.adobe.com/creative-cloud/help/manage-creative-cloud-teams-membership.html
If you have already proceeded the the previous steps, please try the steps below then:
1. Clean Up cached user login information
Close the Creative Cloud application.
Navigate to the OOBE folder.
Windows: [System drive]:\Users\[user name]\AppData\Local\Adobe\OOBE
Mac OS: /Users/[user name]/Library/Application Support/Adobe/OOBE
Delete the opm.db file.
Launch Creative Cloud.
2. Reset the Hosts file
Windows
Choose Start > Run, type %systemroot% \system32\drivers\etc, and then press Enter.
Right-click the hosts file and select Open. Select Notepad for the application to open the hosts file.
Back up the hosts file: Choose File > Save As, save the file as hosts.backup, and then click OK.
Search the hosts file for entries that reference Adobe (for example, 127.0.0.1 activate.adobe.com) and delete these entries.
Save and close the file.
Mac OS
Log in as an administrator to edit the hosts file in Mac OS.
In a Finder window, choose Go > Go To Folder.Type /etc.
Select the hosts file and open it.
Back up the hosts file: Choose File > Save As, save the file as hosts.backup, and then click OK.
Search the hosts file for entries that reference Adobe (for example, 127.0.0.1 activate.adobe.com) and delete these entries.
Save and close the file.
Please, let us know how it goes.
Thank you.
Arnaud. -
How do I use cell number associated with iPad 2 3G
How do I use cell number associated with iPad 2 3G
For Messages you can can use your email address, the iPad doesn't have a phone number that you can use.
-
How do I create an iMessage account for my phone number?
When I go into Messages---Preferences---Accounts--- + ------ the options are AIM, Yahoo, Google Talk, and Jabber. Nothing for a phone number.
Link your phone number and Apple ID for use with FaceTime and iMessage
-
What is the correct part number for dvi to vga adapter for macbook pro model A1260
Can someone tell me the Apple part number for the DVI to VGA adapter that came with a Macbook Pro model A1260? (Early 2008)
My adapter has reached the end of useful life.
Thanks!You have a MacBook Pro 15" Early 2009 (MacBook Pro 4,1)
The Mac's port is a Dual-link DVI (VGA, Composite and S-video with adapter)
The DVI connector connects to the Dual link-DVI port,thus you need a DVI to VGA adapter.
http://eshop.macsales.com/item/Micro%20Accessories/DVIVGA/
You also can search the Apple store online for the part, but it's so basic and simple that paying more for Apple's version is just for looks. -
Report for Material at subcontract AND PO number
We are preparing for Inventory verification at subcontractors.
My boss believes it would be easier for the SC vendor if we could supply the PO number for which the material was shipped.
I haven't found such a report. Is there one?
If you know the tables and links, I can write a ABAP query
Thank you for any help that can be provided.
AltheaHi,
ME2O works fine if you want to track which subcontracting PO's are still open and what is the current stock at vendor.
ME2ON is another version of the same basic ME2O report.
Try also MBLB - Stocks at subcontractor.
As far as PO to 541 link is concerned, I do not think it is possible to find it unless there is some specific business process being followed which is supported by custom code.
The reason is that when you issue against 541, you are simply providing materials to vendor that the vendor needs.
There might be multiple open SC POs for same material/batch and there is no point in tracking against a particluar PO. Its the same material/batch the vendor receives.
When you post a PGR for a SC PO, then the stock from vendor premises is consumed by 543 and the track to your SC PO is maintained.
I tried maintaining EBELN as required in OMJJ for 541 but still no MSEG-EBELN is populated. Maybe I am missing something. -
For BSID- Accounting Document Number corresponding PO Number is required
Hi Gurus,
I have got a requirement to develop a report similiar to 'FBL5N' . I am getting the details of open and cleared items of a customer from BSID and BSAD tables respectively. My requirement is also to fetch the corresponding PO number of the LINE items displayed in the report.
Can any one suggest how can I fetch PO number with Accounting document number(BSID-BELNR) or (BSAD-BELNR).
Your efforts in this matter are deeply appreciated and <<removed_by_moderator>>.
Thanking You,
ZIa.
Edited by: Vijay Babu Dudla on Jan 28, 2009 11:07 PMIf you have fields BSID-VBEL2 and BSID-VPOS2 are populated with the sales order, than access VBKD with the Sales Order to get the Customer PO (VBKD-BSTKD)
Or
First, You need to get the Billing document. Access BKPF with the BSID-BELNR to get the AWKEY where AWTYP = 'VBRK'
Now, you can go to SD document flow with the billing document to find out the Sales Document. Access VBKD with the Sales document to get the Customer PO
Regards,
Naimesh Patel -
Discoverer Report: A number field displays # when open in Desktop Edition
Hi Guys
I have created a folder in Admin Edition. I set Default Aggregation to Detail for Numeric fields.
I have created a workbook in Desktop Edition. When I open workbook(report) it displays # in numeric fields.
ANy idea why?
Cheers
VijayHi Vijay
Any format change you make inside the EUL will generally only apply to new reports.
If the report already exists it will have picked up the format as it was at the time. You will have to manually adjust the format of the column inside the report.
Before you do this these is one more thing to check. Just grab the edge of the column and make it bigger just in case this is the cause. Desktop will not display part of the number so if the width of the column is not big enough to display the number Desktop will insert # instead. If this is not the case then right-click in the column and select Format Data. Using the Number tab increase the setting.
Best wishes
Michael -
BW:Inventory stock Report issue based on Vendor and PO number
Dear Guru's.
Requirement is to report different inventory stock's (Total Stock, blocked stock, stock in transit..etc) based on plant, material, storage location, vendor and purchase order in BW.
For Example:
Plant
material
Stock in Transit
Total Stock
1000
50000001
0,00
100kg
1000
50000002
500kg
600kg
If we drag the Vendor or Purchase Order Number into the report, Data gets Splitted into +ve (Inflow) and -Ve(Outflow) values.
For Example:
Plant
material
Vendor
Purchase Order
Stock in Transit
Total Stock
1000
50000001
54545
567896
+300 kg
+400kg
1000
50000001
-300kg
-300kg
1000
50000002
54549
567899
+900kg
+800kg
1000
50000002
-400kg
-200kg
I Think this is because no vendor assigned to outflow data. this is my guess i don't have much knowledge on MM. i have tried to restrict the keyfig's with stock category, but for most of the vendors or PO 's its unassigned.
But we need the data in single as follows. can any one suggest me any steps to achieve this in BI or BO.
Plant
material
Vendor
Purchase Order
Stock in Transit
Total Stock
1000
50000001
54545
567896
0,00
100 kg
1000
50000002
54549
567899
500 kg
600kg
Thanks in Advance,
DevHi Sheshu and hi Srinu
Already tried constant selection but it did not helped, the same keyfigure value is displayed in all the rows.
that means the total stock value is repeated for all the vendors for a particular material.
For example:
Plant
material
Vendor
Purchase Order
Stock in Transit
Total Stock
1000
50000001
54545
567896
0,00 kg
+400kg
1000
50000001
54546
567898
0,00 kg
400kg
1000
50000001
0,00 kg
400kg
1000
50000002
54549
567899
+900kg
+800kg
1000
50000002
+ 900 kg
+ 800 kg
Regarding the BO settings, i need to try it.
Any more suggestions will be much more helpful.
Thanks and Regards, Sri -
To add number of senders mail addresses
in the following code how there is one sender address how do i make it to 3 senders i mean add the number of senders
REPORT ZSPOOL5 NO STANDARD PAGE HEADING.
PARAMETER: P_EMAIL1 LIKE SOMLRECI1-RECEIVER,
P_SENDER LIKE SOMLRECI1-RECEIVER,
P_DELSPL AS CHECKBOX.
*ranges:
*DATA DECLARATION
DATA: GD_RECSIZE TYPE I.
Spool IDs
TYPES: BEGIN OF T_TBTCP.
INCLUDE STRUCTURE TBTCP.
TYPES: END OF T_TBTCP.
DATA: IT_TBTCP TYPE STANDARD TABLE OF T_TBTCP INITIAL SIZE 0,
WA_TBTCP TYPE T_TBTCP.
Job Runtime Parameters
DATA: GD_EVENTID LIKE TBTCM-EVENTID,
GD_EVENTPARM LIKE TBTCM-EVENTPARM,
GD_EXTERNAL_PROGRAM_ACTIVE LIKE TBTCM-XPGACTIVE,
GD_JOBCOUNT LIKE TBTCM-JOBCOUNT,
GD_JOBNAME LIKE TBTCM-JOBNAME,
GD_STEPCOUNT LIKE TBTCM-STEPCOUNT,
GD_ERROR TYPE SY-SUBRC,
GD_RECIEVER TYPE SY-SUBRC.
DATA: W_RECSIZE TYPE I.
DATA: GD_SUBJECT LIKE SODOCCHGI1-OBJ_DESCR,
IT_MESS_BOD LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
IT_MESS_ATT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
GD_SENDER_TYPE LIKE SOEXTRECI1-ADR_TYP,
GD_ATTACHMENT_DESC TYPE SO_OBJ_NAM,
GD_ATTACHMENT_NAME TYPE SO_OBJ_DES.
Spool to PDF conversions
DATA: GD_SPOOL_NR LIKE TSP01-RQIDENT,
GD_DESTINATION LIKE RLGRAP-FILENAME,
GD_BYTECOUNT LIKE TST01-DSIZE,
GD_BUFFER TYPE STRING.
Binary store for PDF
DATA: BEGIN OF IT_PDF_OUTPUT OCCURS 0.
INCLUDE STRUCTURE TLINE.
DATA: END OF IT_PDF_OUTPUT.
CONSTANTS:C_DEV LIKE SY-SYSID VALUE 'DEV',
C_NO(1) TYPE C VALUE ' ',
C_DEVICE(4) TYPE C VALUE 'LOCL'.
*START-OF-SELECTION.
START-OF-SELECTION.
Write statement to represent report output. Spool request is created
if write statement is executed in background. This could also be an
ALV grid which would be converted to PDF without any extra effort
WRITE 'Hello World'.
NEW-PAGE.
COMMIT WORK.
NEW-PAGE PRINT OFF.
IF SY-BATCH EQ 'X'.
PERFORM GET_JOB_DETAILS.
PERFORM OBTAIN_SPOOL_ID.
Alternative way could be to submit another program and store spool
id into memory.
*submit ZSPOOLTOPDF2
to sap-spool
spool parameters %_print
archive parameters %_print
without spool dynpro
and return.
Get spool id from program called above
IMPORT w_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
PERFORM CONVERT_SPOOL_TO_PDF.
PERFORM PROCESS_EMAIL.
IF P_DELSPL EQ 'X'.
PERFORM DELETE_SPOOL.
ENDIF.
IF SY-SYSID = C_DEV.
WAIT UP TO 5 SECONDS.
SUBMIT RSCONN01 WITH MODE = 'INT'
WITH OUTPUT = 'X'
AND RETURN.
ENDIF.
ELSE.
SKIP.
WRITE:/ 'Program must be executed in background in-order for spool',
'request to be created.'.
ENDIF.
FORM obtain_spool_id *
FORM OBTAIN_SPOOL_ID.
CHECK NOT ( GD_JOBNAME IS INITIAL ).
CHECK NOT ( GD_JOBCOUNT IS INITIAL ).
SELECT * FROM TBTCP
INTO TABLE IT_TBTCP
WHERE JOBNAME = GD_JOBNAME
AND JOBCOUNT = GD_JOBCOUNT
AND STEPCOUNT = GD_STEPCOUNT
AND LISTIDENT <> '0000000000'
ORDER BY JOBNAME
JOBCOUNT
STEPCOUNT.
READ TABLE IT_TBTCP INTO WA_TBTCP INDEX 1.
IF SY-SUBRC = 0.
MESSAGE S004(ZDD) WITH GD_SPOOL_NR.
GD_SPOOL_NR = WA_TBTCP-LISTIDENT.
MESSAGE S004(ZDD) WITH GD_SPOOL_NR.
ELSE.
MESSAGE S005(ZDD).
ENDIF.
ENDFORM. "obtain_spool_id
FORM get_job_details *
FORM GET_JOB_DETAILS.
Get current job details
CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
IMPORTING
EVENTID = GD_EVENTID
EVENTPARM = GD_EVENTPARM
EXTERNAL_PROGRAM_ACTIVE = GD_EXTERNAL_PROGRAM_ACTIVE
JOBCOUNT = GD_JOBCOUNT
JOBNAME = GD_JOBNAME
STEPCOUNT = GD_STEPCOUNT
EXCEPTIONS
NO_RUNTIME_INFO = 1
OTHERS = 2.
ENDFORM. "get_job_details
FORM convert_spool_to_pdf *
FORM CONVERT_SPOOL_TO_PDF.
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
SRC_SPOOLID = GD_SPOOL_NR
NO_DIALOG = C_NO
DST_DEVICE = C_DEVICE
IMPORTING
PDF_BYTECOUNT = GD_BYTECOUNT
TABLES
PDF = IT_PDF_OUTPUT
EXCEPTIONS
ERR_NO_ABAP_SPOOLJOB = 1
ERR_NO_SPOOLJOB = 2
ERR_NO_PERMISSION = 3
ERR_CONV_NOT_POSSIBLE = 4
ERR_BAD_DESTDEVICE = 5
USER_CANCELLED = 6
ERR_SPOOLERROR = 7
ERR_TEMSEERROR = 8
ERR_BTCJOB_OPEN_FAILED = 9
ERR_BTCJOB_SUBMIT_FAILED = 10
ERR_BTCJOB_CLOSE_FAILED = 11
OTHERS = 12.
CHECK SY-SUBRC = 0.
Transfer the 132-long strings to 255-long strings
LOOP AT IT_PDF_OUTPUT.
TRANSLATE IT_PDF_OUTPUT USING ' ~'.
CONCATENATE GD_BUFFER IT_PDF_OUTPUT INTO GD_BUFFER.
ENDLOOP.
TRANSLATE GD_BUFFER USING '~ '.
DO.
IT_MESS_ATT = GD_BUFFER.
APPEND IT_MESS_ATT.
SHIFT GD_BUFFER LEFT BY 255 PLACES.
IF GD_BUFFER IS INITIAL.
EXIT.
ENDIF.
ENDDO.
ENDFORM. "convert_spool_to_pdf
FORM process_email *
FORM PROCESS_EMAIL.
DESCRIBE TABLE IT_MESS_ATT LINES GD_RECSIZE.
CHECK GD_RECSIZE > 0.
PERFORM SEND_EMAIL USING P_EMAIL1.
perform send_email using p_email2.
ENDFORM. "process_email
FORM send_email *
--> p_email *
FORM SEND_EMAIL USING P_EMAIL.
CHECK NOT ( P_EMAIL IS INITIAL ).
REFRESH IT_MESS_BOD.
Default subject matter
GD_SUBJECT = 'Subject'.
GD_ATTACHMENT_DESC = 'Attachname'.
CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
IT_MESS_BOD = 'Message Body text, line 1'.
APPEND IT_MESS_BOD.
IT_MESS_BOD = 'Message Body text, line 2...'.
APPEND IT_MESS_BOD.
If no sender specified - default blank
IF P_SENDER EQ SPACE.
GD_SENDER_TYPE = SPACE.
ELSE.
GD_SENDER_TYPE = 'INT'.
ENDIF.
Send file by email as .xls speadsheet
PERFORM SEND_FILE_AS_EMAIL_ATTACHMENT
TABLES IT_MESS_BOD
IT_MESS_ATT
USING P_EMAIL
'Example .xls documnet attachment'
'PDF'
GD_ATTACHMENT_NAME
GD_ATTACHMENT_DESC
P_SENDER
GD_SENDER_TYPE
CHANGING GD_ERROR
GD_RECIEVER.
ENDFORM. "send_email
FORM delete_spool *
FORM DELETE_SPOOL.
DATA: LD_SPOOL_NR TYPE TSP01_SP0R-RQID_CHAR.
LD_SPOOL_NR = GD_SPOOL_NR.
CHECK P_DELSPL <> C_NO.
CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
EXPORTING
SPOOLID = LD_SPOOL_NR.
ENDFORM. "delete_spool
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
Send email
FORM SEND_FILE_AS_EMAIL_ATTACHMENT TABLES IT_MESSAGE
IT_ATTACH
USING P_EMAIL
P_MTITLE
P_FORMAT
P_FILENAME
P_ATTDESCRIPTION
P_SENDER_ADDRESS
P_SENDER_ADDRES_TYPE
CHANGING P_ERROR
P_RECIEVER.
DATA: LD_ERROR TYPE SY-SUBRC,
LD_RECIEVER TYPE SY-SUBRC,
LD_MTITLE LIKE SODOCCHGI1-OBJ_DESCR,
LD_EMAIL LIKE SOMLRECI1-RECEIVER,
LD_FORMAT TYPE SO_OBJ_TP ,
LD_ATTDESCRIPTION TYPE SO_OBJ_NAM ,
LD_ATTFILENAME TYPE SO_OBJ_DES ,
LD_SENDER_ADDRESS LIKE SOEXTRECI1-RECEIVER,
LD_SENDER_ADDRESS_TYPE LIKE SOEXTRECI1-ADR_TYP,
LD_RECEIVER LIKE SY-SUBRC.
DATA: T_PACKING_LIST LIKE SOPCKLSTI1 OCCURS 0 WITH HEADER LINE,
T_CONTENTS LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
T_RECEIVERS LIKE SOMLRECI1 OCCURS 0 WITH HEADER LINE,
T_ATTACHMENT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
T_OBJECT_HEADER LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
W_CNT TYPE I,
W_SENT_ALL(1) TYPE C,
W_DOC_DATA LIKE SODOCCHGI1.
LD_EMAIL = P_EMAIL.
LD_MTITLE = P_MTITLE.
LD_FORMAT = P_FORMAT.
LD_ATTDESCRIPTION = P_ATTDESCRIPTION.
LD_ATTFILENAME = P_FILENAME.
LD_SENDER_ADDRESS = P_SENDER_ADDRESS.
LD_SENDER_ADDRESS_TYPE = P_SENDER_ADDRES_TYPE.
Fill the document data.
W_DOC_DATA-DOC_SIZE = 1.
Populate the subject/generic message attributes
W_DOC_DATA-OBJ_LANGU = SY-LANGU.
W_DOC_DATA-OBJ_NAME = 'SAPRPT'.
W_DOC_DATA-OBJ_DESCR = LD_MTITLE .
W_DOC_DATA-SENSITIVTY = 'F'.
Fill the document data and get size of attachment
CLEAR W_DOC_DATA.
READ TABLE IT_ATTACH INDEX W_CNT.
W_DOC_DATA-DOC_SIZE =
( W_CNT - 1 ) * 255 + STRLEN( IT_ATTACH ).
W_DOC_DATA-OBJ_LANGU = SY-LANGU.
W_DOC_DATA-OBJ_NAME = 'SAPRPT'.
W_DOC_DATA-OBJ_DESCR = LD_MTITLE.
W_DOC_DATA-SENSITIVTY = 'F'.
CLEAR T_ATTACHMENT.
REFRESH T_ATTACHMENT.
T_ATTACHMENT[] = IT_ATTACH[].
Describe the body of the message
CLEAR T_PACKING_LIST.
REFRESH T_PACKING_LIST.
T_PACKING_LIST-TRANSF_BIN = SPACE.
T_PACKING_LIST-HEAD_START = 1.
T_PACKING_LIST-HEAD_NUM = 0.
T_PACKING_LIST-BODY_START = 1.
DESCRIBE TABLE IT_MESSAGE LINES T_PACKING_LIST-BODY_NUM.
T_PACKING_LIST-DOC_TYPE = 'RAW'.
APPEND T_PACKING_LIST.
Create attachment notification
T_PACKING_LIST-TRANSF_BIN = 'X'.
T_PACKING_LIST-HEAD_START = 1.
T_PACKING_LIST-HEAD_NUM = 1.
T_PACKING_LIST-BODY_START = 1.
DESCRIBE TABLE T_ATTACHMENT LINES T_PACKING_LIST-BODY_NUM.
T_PACKING_LIST-DOC_TYPE = LD_FORMAT.
T_PACKING_LIST-OBJ_DESCR = LD_ATTDESCRIPTION.
T_PACKING_LIST-OBJ_NAME = LD_ATTFILENAME.
T_PACKING_LIST-DOC_SIZE = T_PACKING_LIST-BODY_NUM * 255.
APPEND T_PACKING_LIST.
Add the recipients email address
CLEAR T_RECEIVERS.
REFRESH T_RECEIVERS.
T_RECEIVERS-RECEIVER = LD_EMAIL.
T_RECEIVERS-REC_TYPE = 'U'.
T_RECEIVERS-COM_TYPE = 'INT'.
T_RECEIVERS-NOTIF_DEL = 'X'.
T_RECEIVERS-NOTIF_NDEL = 'X'.
APPEND T_RECEIVERS.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
DOCUMENT_DATA = W_DOC_DATA
PUT_IN_OUTBOX = 'X'
SENDER_ADDRESS = LD_SENDER_ADDRESS
SENDER_ADDRESS_TYPE = LD_SENDER_ADDRESS_TYPE
COMMIT_WORK = 'X'
IMPORTING
SENT_TO_ALL = W_SENT_ALL
TABLES
PACKING_LIST = T_PACKING_LIST
CONTENTS_BIN = T_ATTACHMENT
CONTENTS_TXT = IT_MESSAGE
RECEIVERS = T_RECEIVERS
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
DOCUMENT_TYPE_NOT_EXIST = 3
OPERATION_NO_AUTHORIZATION = 4
PARAMETER_ERROR = 5
X_ERROR = 6
ENQUEUE_ERROR = 7
OTHERS = 8.
Populate zerror return code
LD_ERROR = SY-SUBRC.
Populate zreceiver return code
LOOP AT T_RECEIVERS.
LD_RECEIVER = T_RECEIVERS-RETRN_CODE.
ENDLOOP.
ENDFORM. "send_file_as_email_attachmenthi ,
just loop at LD_SENDER_ADDRESS which is there in fm
'SO_DOCUMENT_SEND_API1' -
Excise Invoice number and Internal Number
Hello Friends
I have some queries ,I will be thankful to you if you could guide me, in understanding themu2026
1) When we see the document in J1IEX ,in excise invoice tab, we see two fields :Excise invoice number and Internal Number.
For Internal number we define the range in object J_1INTNUM, but how do we define range for Excise invoice number
2) Where do we maintain the relation between GRPO (Excise Transaction type) with the Excise Invoice number
3) When do we require updating of register ,is it done on daily bases, and how can we see the entries of RG23A part 1.
4) We have excise invoice number range of posted ,in process and cancel documents which is assigned to GRPO transaction type, while running J1I7 though we select last option part 1 posted and part 2 not posted, still the system shows the cancelled documents, How can I avoid the cancel documents
Thanks
Siddharth1) When we see the document in J1IEX ,in excise invoice tab, we see two fields :Excise invoice number and Internal Number.
For Internal number we define the range in object J_1INTNUM, but how do we define range for Excise invoice number
-->> Ex inv nbr will be entered based on the vendor ex invoice .. this is external nbr assignment
2) Where do we maintain the relation between GRPO (Excise Transaction type) with the Excise Invoice number
--->> there is no relation between grpo vs. ex inv nbr
3) When do we require updating of register ,is it done on daily bases, and how can we see the entries of RG23A part 1.
>> u can see in J1I7 or thru table J_1IPART1
4) We have excise invoice number range of posted ,in process and cancel documents which is assigned to GRPO transaction type, while running J1I7 though we select last option part 1 posted and part 2 not posted, still the system shows the cancelled documents, How can I avoid the cancel documents
>> wait for others answers.. -
Excise invoice and domestic invoice sharing same number range
Hi,gurus,my question is addresed to the sap cin gurus
Scenario:-- Normally sap has provided provisions that the domestic invoice and the excise for the export will have different number range object
Transaction-snum or snro(As per the rule the no range has to be approved by excise authorities)
Requirement:--The present requirement of the client is that as per their requirement they will be using the same excise number range both for domestic and the export(They have got the approval from the excise department as per the amendment,that specifies the same)
so i request you to pls guide me as how can it be done in sap that two different business process will share the same number range.
as per my knowledge local excise number range is-J_1IEXCLOC
and for exports is-J_1IEXCEXPand the both will use the same number range and,suppose 1 local invoice is created and say if the no is 1,then if the export excise invoice is created the number will be 2,pls guide me how is it possible that the same number range should be used.
Thanks in advance---Anshuman chakrabortyDear sir,Thanks for attention towards the issue,but still i need to clarify some details-
the number range forJ_1IEXCLOC are already configured .It is not the case like i have to configure it for the first time however ,so the issue remains how shall i proceed in this case
Sir,i have already checked the transaction j1iin,it does not give any such box to check the-use local no range
infact the error message which the system was throwing to the user that-number range object not assigned for Object: J_1IEXCEXP.
The question remains from my side is what are the complete configuration steps I need to do ,to make the check box appear so as to select-use local number range,and is there any thing to be conveyed to my developer,so that the same appears,
or is it the case like the anything should earlier have been done before the number range for J_1IEXCLOC was created.i would request u to pls guide me giving the complete details of the step to be followed.
Thanks in advance
Anshuman chakraborty -
Depot Excise Invoice number skipped ???
Hi Everyone
For Ex. say our depot excise invoice number range is from 1to 100, assuming the current number is 51. Some day back there was a jump in the depot excise invoice number range. In between 1 and 51 the number "25" is missing.
So the excise department has asked the company as to why we have skipped the number 25.
I have checked the table J_1IRG23D, but the skipped excise invoice number is not appearing in the tables, I mean it says "No table entries found for the specified key"
Our Company wants to know the exact reason as to why the system has skipped the depot excise invoice number "25".
Whether it is the system mistake or user mistake or some body else fiddling with the system.
Please offer you valuable suggestions to solve this problem
Thanks & regards
satishHi,
SAP 99.9 % will never skip the number range on its own.
As per my understanding:
1.Some one has manually deleted the Depot Excise Invoice number after creation (due to the user mistake at selecting the
appropriate Incoming Excise invoice, Price , material or etc reason. And while creating the New Depot excise Invoice Number
he forget to adjust the number range at object 'J_1IDEPINV' for corresponding Series Group. This u can confirm by checking
the entry at Item level, instead of Header at it will not show that entry.
2.May be due to the Depot Sales Returns for respective Depot Invoice canceled and Deleted by the user.
Here, deleting the excise Invoice is not Valid practice as per Excise Tax rules of GOI.
3. Kindly check, whether Number Range Changes happend for respective Series Group between the Fiscal Year 2010-11.
Please feel free to correct me and It will be a value addition if you find any other solution.
Thank You,
RB -
IMessage on MacBook Pro - how to use mobile number?
So I upgraded to 10.8.2 on ML and IOS 6 on other devices. I notice on the iPhone that my iMessages can be received by default only to the mobile number.
I previously turned iMessage off because frankly it was a complete PITA and more trouble than it was worth. The mess created for recipients with messages coming from apple IDs when sent from the iPad and from a mobile number on the phone, then messages sent from one not showing on the other, replies not going from one device becase there was no internet available but the message had come to the apple ID and not the phone number etc etc. The woes went on. iMessage thus went off.
Now, the ability to use the phone number as the default across decvices did sound appealing and I THOUGHT that when I activated imessage on the Mac and iPad it would automatically show up with the option to use the mobile number on those devices. Instead I just get the email option and can see phone number at all.
Am I correct in assuming that I need to add the Apple ID so messages can be sent there BUT configure it somehow so that iMessages going out from those devices are sent as coming from my mobile and not an email address? last thing I want is the dog's breakfast that the last incarnation of iMessage brought and I would hope this time around that "It just works". I'm gettng more and more used to having to probe around with Apple though, to find ways to make it work.Finally got this to work, coincidence or not i'm not sure, maybe the system was just catching up. On the iPhone I ONLY had the telephone number enabled. I then added the Apple ID and all the test messages arrived, as did the mobile number verify message. I then went and turned the Apple ID email off as a 'receive at' source. After that the mobile number was verified on the Macbook and was available to add as an iPad 'email address'.
Maybe you are looking for
-
I have a new laptop running Windows 8.1. The 10.3.1 version downloaded, but it was incompatible with Windows 8 and 64-bit. Then I tried to download Itunes 11.1.5 and it comes up with the box asking me to save. When I click on save...NOTHING happens.
-
Error message when uploading remaining songs from my PC into ICloud
the message: "I Tunes has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution ias available." Please any help will be appreciated. I am frustrated. I've tried to find a
-
Vacation messages / server side mail rules
With WebMail depreciated in OS X Server, is there a recommended (incorporated) way for users to configure vacation messages and other server side rules?
-
Over the last few years, a great deal of very useful work has been done by the members of these fora on the Socket Forum. That will soon be archived, to be lost to all those who will just look here for assistance on topics related to network programm
-
Hi, Gurus. we have ACS SE 4.1, configured NAP. The Profile should match the NAF and username. If I set ANY to NAF then it works fine, but if I set any NAF that contains required device or device group I don't match NAP and receive default settings. W