How to add prefix to standard PO sequence.
Hi all,
Requirement is how to add prefix to Purchase order number auto generated sequence.
The only options you have for po numbering is automatic and manual.
What you are looking for is not available out of the box.
You can always write a customization to achieve it.
Here are couple of options for the customization. You will have to explore them a little bit to identify any pitfalls.
1) A before-insert trigger on po_headers_all that appends the suffix to the PO#
2) A when-new-record-instance personalization to generate the new PO# with suffix.
Hope this helps
Sandeep Gandhi
Independent Consultant
Similar Messages
-
How to add prefix zero to all matnr fields in itab
Hi,
I ve a internal table with following fields
Matnr bwkey
6 678
67 rty
678 78k
How to add prefix zero to all tha matnr fields.
like
matnr bwkey
00000000000000006 678
00000000000000067 rty
00000000000000678 78k
Thanks in advanceHi,
commonly used conversion routine is ALPHA.
It is conversion used to insert leading zero for document number.
For example, in sales order (VBAK-VBELN length 10),
when we key in order no, for example we key in '4302',
conversion routine input will automatically add leading zero,
so it will become '0000004302', this is real value stored in table VBAK.
On conversion routine output, it will delete leading zero
function CONVERSION_EXIT_ALPHA_INPUT, this will add leading zeros to a character based field of any length.
Ex:
data: lv_c(10) type c value '123'.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = lv_c
importing
output = lv_c.
write:/ lv_c.
Regards. -
How to add button in standard SAP transaction
Hi All,
I would like to know how to add a button in the application toolbar of the standard SAP transaction CO01/CO02. Is there a screen exit for this?
Hope you can help. Thanks
Regards,
AprilCheck Enhancment CCOWB001. If not then u can search the below list, all of which are called from the T-code.
CCOWB001 Customer exit for modifying menu entries
COIB0001 Customer Exit for As-Built Assignment Tool
COZF0001 Change purchase req. for externally processed operation
COZF0002 Change purchase req. for externally procured component
PPCO0001 Application development: PP orders
PPCO0002 Check exit for setting delete mark / deletion indicator
PPCO0003 Check exit for order changes from sales order
PPCO0004 Sort and processing exit: Mass processing orders
PPCO0005 Storage location/backflushing when order is created
PPCO0006 Enhancement to specify defaults for fields in order header
PPCO0007 Exit when saving production order
PPCO0008 Enhancement in the adding and changing of components
PPCO0009 Enhancement in goods movements for prod. process order
PPCO0010 Enhancement in make-to-order production - Unit of measure
PPCO0012 Production Order: Display/Change Order Header Data
PPCO0013 Change priorities of selection crit. for batch determination
PPCO0015 Additional check for document links from BOMs
PPCO0016 Additional check for document links from master data
PPCO0017 Additional check for online processing of document links
PPCO0018 Check for changes to production order header
PPCO0019 Checks for changes to order operations
PPCO0021 Release Control for Automatic Batch Determination
PPCO0022 Determination of Production Memo
PPCO0023 Checks Changes to Order Components
STATTEXT Modification exit for formatting status text lines -
How to add results to report from sequence call disabled in report options ?
Hello,
I need to add text to report from a sequence called by a sequence call. The record results option for the sequence call is disabled because the sequence call is normally done thousands of times. Therefore, I don't want to fill in useless text in the report. But, if a certain condition in called sequence fulfills, I would put a text into the report. (Yes, this is related to a sporadic communication problem with the instrument which I want to record into the report.) Which options I have ?
I have attached an example which doesn't add the text from the sequence to the report.
Regards,
Petri
Attachments:
report test.seq 45 KBHello Ray,
I encounter same behaviour with NONE adapter action step with post-expression as with a statement step as in my first example. With other words, if record results in sequence call in mainsequence is disabled, I cannot get any records into the report.
Attached a modified sequence using NONE adapter action.
Regards,
Petri
Attachments:
report test.seq 53 KB -
How to add value in standard table
Hi
i need to add one field in standard table VBAK so i have added one field ( for eg i have added status as field in VBAK ) in that standard table through append structure
than i used one user exit USEREXIT_SAVE_DOCUMENT_PREPARE in program MV45AFZZ
in this i get values in the structure XVBAK
than i moved the 'X' in that status field shown below
XVBAK-STATUS = 'X' .
after that sales order get generated
but when i open table VBAK and enter that VBELN or sales order no. i dont find any value in that status
so pls tell how can i find value of that field in table VBAK .
Thanks
Taranafter moving the value did u append the table.
Check it. -
How to add zfields in standard IDOC
Hi Expert,
How i will add the zfield in standard IDOC
Regards
Swaraj
Edited by: swaraj123 on May 25, 2010 5:36 PMCreate an extension idoc. there are several threads, blogs/wikis out on sdn. Please search.
Regards,
Kiran -
How to add Signatre to Standard Purchase Order Template XSL-FO
I need to add digital signature to the standard Purchase Order Template which is sent to supplier.
could you let me know the process.
thanks
Edited by: 855902 on May 24, 2011 8:00 PMThanks for your response.
I tried to change the code in below format but it was giving error.
Original code
<xsl:value-of select="LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE"/>
modified to
<xsl:value-of select="xdoxslt:format_date(LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE,'dd-mmm-yyyy','dd/mmm/yyyy hh24:mi:ss',$_XDOLOCALE,$_XDOTIMEZONE)"/>
also tried with
<xsl:value-of select="xdoxslt:format_date(LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE,'dd-mmm-yyyy','dd-mmm-yyyy hh24:mi:ss',$_XDOLOCALE,$_XDOTIMEZONE)"/>
also tried like
<xsl:value-of select="xdoxslt:format_date(LINE_LOCATIONS/LINE_LOCATIONS_ROW/PROMISED_DATE,'dd-mmm-yyyy','dd/mmm/yyyy',$_XDOLOCALE,$_XDOTIMEZONE)"/>
Tried above 3 methods but it didn't work.
right now the date format in pdf file is 24-MAY-2011 21:56:24 i need to remove 21:56:24 and have only 24-MAY-2011
any suggestions.
thanks -
How to add prefixes to xml output?
Does anyone know a quick and easy way to add a namespace prefix to an xml document when you output it as a string?
i'm looking for somethinglike this.
<Order xmlns="http://www.something.com/name">
<item>sink</item>
<Order>
converted into
<dof:Order xmlns:dof="http://www.something.com/name">
<dof:item>sink</dof:item>
<dof:Order>
I have attempted to use the xmlText method on the XmlObject class passing in an XmlOptions object with setSaveSuggestedPrefixes() set to my hsahmap with the namespace and prefix, however nothing happens. Well, sometimes it works and other times it does not.
It seems that it works when i programatically build my xml using XmlObject methods, but it fails when i parse an existing xml string into the XmlObject using parse(String).
Any help would be appreciated. I can't find any detailed help anywhere.
Thanks
JeremyYou can achieve your requirement using XSLT maaping on XML. Read more about XSLT mapping. Also read more about WordML processing tool by Microsoft.
-
How to add field to standard screen of PNP
hello masters, tell me one thing:
- it is possible to add a field that isn't part of PNP logical database to the standard screen PNP.
Could someone help me?
regards and thanks in advance
MárioHi Mario,
I don't know anything about SAP HCM, but: If you work with SE80, you can see the logical database in the object tree. Right-mouse-click to copy the logical database to custom name. Modify as you need. Use.
Regards,
Clemens
P.S.: Before I tried I was always afraid of logical databases.Copying is a lot easier than expected. -
How to add button on application tool bar of standard transaction
Hi All,
Can any one let me know how to ADD the button in on application tool bar of standard transaction by using SHD0 transaction or any other solution.While adding the button I don't want do any code modification.
Thanks,
VijayHI
SHD0 is used to create and maintain Screen and Transaction Variants..
to know more about Screen and trransaction variants click on this link
http://help.sap.com/saphelp_47x200/helpdata/en/67/232037ebf1cc09e10000009b38f889/content.htm
we can create Transaction Variants Using SHD0 Transaction.
Transaction Variants and Screen Variants
Transaction variants can simplify transaction runs as they allow you to:
Preassign values to fields
Hide and change the 'ready for input' status of fields
Hide and change table control column attributes
Hide menu functions
Hide entire screens
In particular, hiding fields in connection with screen compression, and hiding screens, can result in greater clarity and simplicity.
Transaction variants are made up of a sequence of screen variants. The field values and field attributes for the individual screens found in transaction variants are stored in screen variants. Each of these variants is assigned to a specific transaction, can, however, also contain values for screens in other transactions if this is required by transaction flow. The transaction that the variant is assigned to serves as initial transaction when the variant is called.
There are both client-specific and cross-client transaction variants. All screen variants are cross-client, but may be assigned to a client-specific transaction variant.
A namespace exists for cross-client transaction variants and screen variants and both are automatically attached to the Transport Organizer. Client-specific transaction variants must be transported manually.
In principle, transaction and screen variants can be created for all dialog and reporting transactions. There are, however, certain Restrictions that apply to certain transactions, depending on their internal structure.
No transaction variants are possible with transactions already containing preset parameters (parameter transactions and variant transactions). -
How to add custom fields to the sap standard program ukm_bp_display
How to add new custom fields to the sap standard program ukm_bp_display .
could u please any one help me on this?Hello Kumar,
You have to modify below structure, as this structure is providing the field catalog for output display (ALV).
Here you can see there are a lot of include structures, so if you want to add fields in the output display you can add those fileds as an append structure to any of the below mentioned structures (Like ukm_s_account, ukm_s_bp_cms_sgm etc as per your requiremnt and positon at which you need to dispaly your fields.)
DATA: BEGIN OF gt_grid_alv OCCURS 0.
partner LIKE but000-partner,
credit_sgmnt LIKE ukmbp_cms_sgm-credit_sgmnt.
INCLUDE STRUCTURE ukm_s_account.
INCLUDE STRUCTURE ukm_s_bp_cms_sgm.
DATA: credit_sgmnt_txt LIKE ukmcred_sgm0t-credit_sgmnt_txt.
Gruppe Vector
INCLUDE STRUCTURE ukm_s_bp_vector.
Gruppe OBL = Obligo
include structure UKM_S_BP_CMS_MALUSDSP_OUT.
INCLUDE STRUCTURE ukm_s_display_segment.
INCLUDE STRUCTURE ukm_s_bp_cms.
INCLUDE STRUCTURE bus000_dat.
*DATA: icon(4).
Gruppe RAST (Raster)
DATA:
rast01 LIKE ukm_s_display_segment-AMOUNT_GRID,
rast02 LIKE ukm_s_display_segment-AMOUNT_GRID,
rast03 LIKE ukm_s_display_segment-AMOUNT_GRID,
rast04 LIKE ukm_s_display_segment-AMOUNT_GRID,
rast05 LIKE ukm_s_display_segment-AMOUNT_GRID,
rast06 LIKE ukm_s_display_segment-AMOUNT_GRID.
DATA: rast2_6 LIKE ukm_s_display_segment-AMOUNT_GRID.
"Summe raster 2 bis 6
DATA: END OF gt_grid_alv.
Another way is you can go to SE38, and you can create implicit enhancements.One enhancement point is available here in this required area. so create an implementation and add your fileds with data types.This way is also simple.
Hope this will solve yiour problems.
Regards,
Antony Thomas -
How to add standard text in smartforms?
Hi friends,
How to add standard text in smartforms ?
points rewarded soon
Regards
RHCreating the Standard Text:
Go to SO10
1. Enter Text Name. For example, ZABC
2. Text ID ST
3. Language EN
Click on Create.
And enter the Required Information and save.
To include a Standard text in SmartForm.
Follow the steps below:
1. Create a text node in the window.
2. Under general attributes select "Include text" as Type.
3. Specify the fields under Text.
Text Name ZABC
Text Object TEXT
Text ID ST
Language EN.
Hope it helps.
Regards. -
How to add new text field in standard report
how to add new text field in standard report?
Hi,
I presume you are talking about a report display in ALV and u wish to add a column to it .
If it is a global requirement ,as in table being used there in ALV can be modified, then you can append the table and the system should pick up the same automatically from there.
Otherwise , you can make a Z program . Modify the catalog being used in ALV.
Regards,
Shweta -
How to add fields in z of standard program me5j
Hi Experts,
i have to add new field in zprogram of standard alv in ME5J.
its out put structure is MEREP_OUTTAB_EBANACC
but not getting the method that how to add new feild in that structure, as my values are comming in stab_aban internal table.
please help me to get out of this as soon as possible.
waiting for the reply
Thanks and Regards
Neha
Edited by: neha1.gpta on Jun 8, 2010 1:14 PMHi
Use the function module REUSE_ALV_FIELDCATALOG_MERGE
Then use the structure MEREP_OUTTAB_EBANACC to create the field catalogue
Now call the REUSE_ALV_GRID_DISPLAY with your internal table it would work.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-repid
I_INTERNAL_TABNAME =
i_structure_name = 'MEREP_OUTTAB_EBANACC '
I_CLIENT_NEVER_DISPLAY = 'X'
I_INCLNAME =
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE =
CHANGING
ct_fieldcat = it_fieldcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3
LOOP AT it_fieldcat INTO wa_fieldcat
WHERE fieldname = 'CONTRACT' OR
fieldname = 'ZUPDCIND' .
IF wa_fieldcat-fieldname = 'CONTRACT'.
wa_fieldcat-hotspot = c_x.
MODIFY it_fieldcat FROM wa_fieldcat.
ELSEIF wa_fieldcat-fieldname = 'ZUPDCIND'.
DELETE it_fieldcat INDEX sy-tabix.
MODIFY it_fieldcat FROM wa_fieldcat.
ENDIF.
ENDLOOP.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
is_layout = gs_layout
it_fieldcat = it_fieldcat
TABLES
t_outtab = it_output1
Edited by: mukesh mahajan on Jun 8, 2010 1:38 PM -
How to add 1 more column in standard portal UWL and map the values.
Hi
I have one issue/requirement, please help me out on that also.
In portal UWL, i want to add one more column TICKET ID COLUMN, and ticket id value I will be putting as work item ID of abap Workflow, so whenever approver opens his portal UWL, in first column i want to show ticket ID say 00012345, so how to add this ticket ID column in standard portal UWL and how to put/map value of work item in that column.
My idea behind this is, when ever say employee wants to know the status about his ticket ID, he can simply ask his manager regarding the ticket status by referring to that ticket ID which manager can easily find in his portal UWL in that extra TICKET ID COLUMN .
Do I have to change anything in SAP inbox also ? Do i have to add 1 more colum in sap R/3 inbox also ? and will adding 1 more colum in sap inbox (R/3 inbox), will create automatically one more ticket ID colum in portal UWL also ?
please let me know , as i do not want to add 1 extra column in R/3 inbox, just i want in portal UWL extra ticket ID column should come and i want to put workitem ID generated at the start of workflow, in that colum in portal UWL
please help me on this.
Thanks...
Edited by: User Satyam on May 29, 2011 6:16 AMHi Satyam,
These are called custom attributes. Here is a powerpoint that may be able to assist you with the documentation that the other poster gave you too.
Always remember too when you make a change on the backend R/3 side, you must reregister your UWL connector. And yes, the column must be available on the backend R/3 side. We can't create on the fly columns in the UWL, that have no reference to the backend system in this case.
Beth Maben
EP - Senior Support Consultant II
AGS Primary Support
Global Support Centre Ireland
Please see the UWL Wiki @
https://www.sdn.sap.com/irj/scn/wiki?path=/display/bpx/uwl+faq ***
Maybe you are looking for
-
Accessing the documents in webcenter spaces thows me errors
Hi, When I try to access documents in webcenter spaces, i am getting the following error. AM i missing any settings in OCS? <Apr 5, 2011 8:34:11 PM PDT> <Error> <oracle.ucm.idccs> <UCM-CS-060003> <Event generated by user 'anonymous' at host 'CIS'.> <
-
Upgrading from Photoshop Elements 10 to 11
I am trying to upgrade from Photoshop Elements 10 to 11 and get a message to close ELementsAutoAnalyzer and dynamiclinkmanager. How do I do that?
-
MBP freezes when it goes to sleep - started with latest OS Update (I think)
Beginning on Friday (I believe it was right after I installed the latest OS Update) my MBP has been locking up when I close the lid. I can tell it's locked up because the screen is still light. When I open the lid again, the clock is stopped, there i
-
The owner for $ORACLE_HOME would always be Oracle software owner account?
Hi, On linux/windows environment, can we assume that the Oracle Services would always be run by Oracle software owner account? The owner for $ORACLE_HOME would always be Oracle software owner account? Thanks, Hozy
-
I recently purchased an Ideapad N586, which runs windows 7, and on certain colors, such as grey and dark blue, the pixels look like they're moving around like tv static. Is there any way I can fix this, or maybe you can tell me what's wrong with it?