Copying std f.m to zf.m.
Dear Experts,
while copying the std., f.m PT_ARQ_REQUEST_EXECUTE to zPT_ARQ_REQUEST_EXECUTE then while checking its
giving some error and no perform statements are copied is there any other way to do this.,.,
Thanks and REgards,
Thirukumaran. R
Hi Thirukumaran,
You need to consider below points while making a copy of FM.
First , FM is not independent but depends on Function Group which contains other FM also.
so in first go copy FM with its Function group.
Now carefully , delete the unnecessary part from the various includes of the Function group.
You can also delete the other unnecessary FM's avaliable in Function group.
Also, you need to do extended program check to eliminate unnecessary declarations and code.
Hope it helps you.
Similar Messages
-
Copy std. Fiori app into Z
Hi,
I want to copy std. Fiori app (Create sales order - SD_SO_CRE) into my new Z (I don't want to modify the standard one), but I realized that there is no starting point, because Fiori app is started from Launchpad, so what I need to add? I think I need Index.html + App.controller.js + App.view.js...does anyone have these files prepared for std. Fiori applications to get them worked without Launchpad?
Many thanks Jiri
Tags edited by: Michael ApplebyHi Jili,
The standalone parameter is available from UI Add-on SP09 with SAPUI5 library 1.22.3.
It hides some of buttons.
You can start your extended app by changing application alias in the target mapping.
Understanding launchpad object relationship with screenshots
The URL is same but extended app is launched.
<server>:<port>/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-client=800#SalesOrder-create
Regards, Masa
SAP Customer Experience Group - CEG -
Hi Guys,
I am trying to copy std BAPI to custom one and modify based on my requirements.
When I copy some of the includes are not getting copied and I am getting syntax error .
Please guide ,How to achieve complete copy .
Cheers,
RajHi Rajesh
Please have a look at the below link
[Link|Re: To add write statement in BAPI_MATERIALSAVEDATA]
Hope this will be very useful to Copy the standard BAPI
Thanks
Kalyan -
Copy std wbs element in operative project & copy material components to SO
Dear Friend's
As i know following things not possible in std. sap ps. Still i would like to know is there any possibility to acheive same in std. sap ps.
1) I have created one std. project template, which is made for standardise Projects. Here we can copy same template for operative Projects. But my client having a requirement like they wanted to just copy a Single Std. WBS Element of any level from that std. project template to create operative project...can is it possible in std. sap ps.
2) Can is it possible in std. sap ps to copy the material component (like fert, halb, roh, hibe, hawa etc.) which we have planned in Project Builder to Sales Order.
3) In std. sap ps we can handle projects through multiple plants & multiple business area's. In my scenario cross plant & cross business area material's is supplied to any particular project. so same way can we create Sales Order for multiple plants & multiple busniess area's.
Thanks & Regards,
Sandeepclosed.
-
Hello Experts,
I have created std structures and trying to copy part of it into an operative project. While doing so I am copying with another company code. After this I am mass chaging all org data for the new part of structure. But the Network header still reatins the company code of Project definition and is not editable. How can I change this one also? Pls guide me.
Thanks
RaghuHave you tried creating a seperate standard structure for the company code. Instead of changing the project again and again, just keep another standard structure ready so that you dont have to use the mass change time and again.
Hope this helps you. If there are any other constraints that are preventing you from doing this, please let me know.
Regards,
Ajinkya Vaidya -
Problem in copying std function module
Hi friends,
I have this std function module .
MS_PURCHASE_ORDER_REPORTING
i copied it to ZMS_PURCHASE_ORDER_REPORTING,till here everthing fine. In above std fm in tables tab we have
po_xdata like srv_mdrv.
i want to change it to po_xdata like zsrv_mdrv.
I mean i created one view zsrv_mdrv, so i want to replace above std one with my view.
when i try to copy im gettign error as:
tables paramete are absolete.
Please help me out ,its very urgent.
rgds,
vamsiRamya,
I created my own view, in that i have some fields which are not in srv_modrv view.
this zsrv_modrv has to be add in place of srv_modrv in function module which i have changed to zfunction module.
something im gettign tables parameters are obsolete something.
even i tried with by changing parameter name and seen, then also its not taking..
please help me . its very urgent. -
Error while copying Std determinatino rule in CRM
Hi,
I get the following error while trying to copy the existing determination rule. Could you analyse this please.
ERROR MSG:
Prefix number: entry missing for system CRD client XXX
Message no. 5W023
Diagnosis
Tasks, rules, and workflow definitions require an ID that is unique throughout all systems and clients. In this way, you can ensure that you can transport these objects from one system into another at any time (without restrictions). From a technical point of view, the uniqueness of the ID is ensured by what is known as a "prefix number". You can define a separate prefix number for every system and every client in table T78NR.
System Response
If a prefix number is not defined in the client in which you are currently working, it is not possible to maintain (maintenance terminates).
Procedure
Maintain table T78NR in Customizing, and create an entry for the system in question and the current client.
Many thanks
Guest01Its been answered
-
Dear All
I have a requirement that i need to copy saplsproject_solar_doc_eval_im from the solution manager into a Z. Now im copying that into a Z and this is a function pool and this cannot be exceuted directly.I tried to include this in a report program and it says report program found and it shows this include
INCLUDE LSPROJECT_SOLARDOC_EVAL_IMTOP.
Kindly suggest what steps i need to do for porceeding further.
Thanks in advance
SSwhen you copy program from system, it may be has 'include', if you want modify code of this 'include',select item of 'INCLUDE' when you copy and rename this include in 'Include-Name Target'.after copy, you can see a new include in your add-on report, you can modify code of this include not effect the system code.
-
Hi Frds
How to copy standard workflow?
Can anyone tell me step by step.
By
Pariyou can also choose to go to PFTC
select workflow template and enter template id without WS. Click the copy icon.
regards,
Imran -
Copy Standard Cost to Moving Average Price
Dear All,
We are maintaining the materials with price control as Standard Price and moving average price is updated and used only for statistical purpose.
I have a requirement of copying the standard price to moving average price field just after the standard costs have been released.
We have used CK40N to complete the calculation and release of standard costs.
Please let me know which SAP standard transaction can be used for the purpose.
Regards,
Manish GuptaHi
Whats the need to copy std price to moving price?
I dont think there is any such t code to copy it.. But a weird work around is, if u r on ECC 6.0, you can change the price control from S to V and again V to S.. In this process, your price will get copied from S to V
However, not a recommended way of doing... If you do, you shud do this at a shot and blocking all others users
Regards
Ajay M -
BI Content Original objects vs. Copy
Hi,
is there a SAP recomentation (white paper) how to use the SAP business content:
Original infoobjects or copies
Original infoproviders or copies
Original infosources or copies
etc.
What are your recomentations regarding this issue?
Thanks, KlausHi,
To add to the comments already made,its always a good idea to copy std objects and then modify them. Its a SAP recommended best practice not to touch std objects unless you have to, but copy them over to another and then customize it.
The disadvantage is during the version upgrades and patch upgrades. You don't know how the customized objects will work with std code. The more the customization, the more the testing.
So, its basically a balancing act.
Cheers,
Kedar -
Problems passing std::vector char by reference
I'm currently developing an InDesign Server plug-in off the CS5 SDK (Build 335).
I've written some code that attempts to return the image bytes of a JPEG via a function
bool CJPEGImage::Copy( std::vector<char>& Data );
The typical usage is...
std::vector<char> ImageData;
if (ptrJPEGImage->Copy( ImageData ))
// Do something with the data
Having created the vector, the debugger shows the value to be [0x00000000](), which is correct as it is empty. On passing it to the function, vector now has a value of [0xffd55784](0xfd,0xff,0xff,0xff,0x01,0x00,0x00,0x00,0x6a ..................). I resize the vector to the number of bytes in the file, create a read stream and then use XferByte( (uchar *)&Data[0], FileSize ) to copy the image data into the vector.
The contents of the vector are not changed and any attempt to use the buffer will lead to a crash elsewhere in the code. It's clearly wrong, as it is a reference and the value should be [0x00000000](0). It's as if the vector is pointing at some random memory. If you pass by copy the new vector is set up correctly.
The same error occurs for <unsigned char>. But switch to <int> and everything behaves as expected. So what is it about std::vector<char>& that InDesign SDK has changed?
I know that InDesign has its own K2Vector implementation. However I have a number of static libs that expect a std::vector<char>& and if so I'd like to use that.
Has anyone seen this before and know a way to work around it?
Thanks in advance,
AndrewYou cannot pass anything "by reference".
no you are wrong. While invoking remote methods, RMI passes primitive types and abject types by value and remote objects by reference. "Pass by value" is implemented by deep copy. Pass by reference for remote objects is implemented by remote references- remote stubs. So to be more excat they are passed by remote reference. Thats why u extend unicastRemoteObject, remoteServer or remoteObject etc.
Both the Client and the Server are two separate Java
Virtual Machines. In order to pass anything, the RMI
Runtime must serialize the data into a byte stream and
pass the byte stream to the other machine using a
network. This is why everything you need to pass
either way must implement Serializable. Yes I agree with this part. -
HI ALL
I RAN RSTXTRAN TO TRANSPORT STD TEXT TO ANOTHER CLIENT, BUT AFTER RUNNING NOTHING HAPPENED.
THE TC ASKED NAME OF CORRECTION AND OBJECT NAME?? AND THE NEXT SCREEN SHOWED PROVISINAL LIST OF TEXT TO BE TRANSPORTED.
SO MY QUESTION IS :
WHAT I HAVE TO DO IN RSTXTRAN, SO THAT STD TEXT IN 800 CLIENT WILL GO TO (OR COPY TO) CLIENT 900.??
I WANT TO COPY STD TEXT FROM ONE CLIENT TO ANOTHER??? PL PROVIDE FULL PROCEDURE.
THANX
ROCKYHi,
Create a work bench CR in the transaction SE09..
Modify the task to Development correction / Repair..
Go to the program RSTXTRAN..
In the name of correction give the task number (Not the CR number)
Give the Text Key..Your standard text name..
Press F8...
Press select all..
Then Press enter..
Then press the button "Trsfr texts to corr".
Now the standard texts will be moved to a CR..
Then release the CR and move it to QA..
Hope this will solve your problem.
<b>Reward if helpful.</b> -
Good day gents,
I would like to know if this simple yet complicated FREE GOODS scenario is possible; which is as follows?
For every purchase of 200-299 QTY of Material xyz; customer would get 5 QTY free goods (Exclusive\Inclusive)
For every purchase of 300-499 QTY of Material xyz; customer would get 9 QTY free goods (Exclusive\Inclusive)
For every purchase of 500+ QTY of Material xyz; customer would get 20 QTY free goods (Exclusive\Inclusive)
For every purchase of 1000 USD of material xyz; customer would get 2% value discount
For every purchase of 1000 USD of material abc; customer would get 2% free goods.
Waiting for expert's opinion.
Kind RegardsDear Sirmad,
SCENARIO 1
For every purchase of 200-299 QTY of Material xyz; customer would get 5 QTY free goods (Exclusive\Inclusive)
For every purchase of 300-499 QTY of Material xyz; customer would get 9 QTY free goods (Exclusive\Inclusive)
For every purchase of 500+ QTY of Material xyz; customer would get 20 QTY free goods (Exclusive\Inclusive)
This can be done using free goods.
Create condition record for free goods from VBN1 condition type NA00
Enter material XYZ Minimum Qty-200pc From-200Pc Enter
Go to Scales
Here Maintain
MinQty as 200pc | Freegds qty- 200pc | Addl Free gds qty- 5 pc | Calc Rule- 2 | Incl/Excl(As per ur req.)
MinQty as 300pc | Freegds qty- 300pc | Addl Free gds qty- 9 pc | Calc Rule- 2 | Incl/Excl(As per ur req.)
MinQty as 500pc | Freegds qty- 500pc | Addl Free gds qty-20pc | Calc Rule- 2 | Incl/Excl(As per ur req.)
SCENARIO 2
For every purchase of 1000 USD of material xyz; customer would get 2% value discount
This can be done in pricing using condition Type K005.
Copy std condition type K005 to Z005 and In Z005 change Calculation type to A- Percentage and Scale Basis - B- Value scale.
Now in VK11 maintain condition record for Z005.
Enter Material XYZ and discount as 2% and in scales maintain Scale value as 1000 USD.
SCENARIO 3
For every purchase of 1000 USD of material abc; customer would get 2% free goods.
I dont think this is possible in Standard. Since free goods are always based on Quantity and not on Value.
Hope this helps
Regards
Mayank -
I want to modify vendor aging report F.18.
HI gurus,
I want to add vendor name in vendor aging report f.18. I have copy std prg and make z prg and also put vendor name in internal table but in last that table's field getting clear so its not printing in report. So , if anybody knows then help.
Thanks in Advance,
Nainesh Patadia.I run this report but it show all details like vendor name etc
Maybe you are looking for
-
Application saving pdf with .pdf^1 extension
Our company has an application that saves to .pdf format. However, on one of the user's systems, whenever she saves as .pdf, the default is to save the file with a .pdf^1 extension. Has anyone encountered the ^1 in the file extension? I can't find an
-
Select from DB Tables with String
Hello Gurus, I created following 'simple' DDIC Table: CLNT MANDT CLNT 3 0 Client ID ID NUMC 8 0 Object ID of Business Event Offered DATE DATUM DATS 8 0 Date STR (none*) STRIN
-
Vegas to premiere pro, it worked but not anymore!
3 weeks ago i bought sony vegas 13 and i tried to export a project from this app to premiere pro. it worked. Now after several adobe cc updates (when it worked i didn't see the imageart while loading premierepro or AE) premierepro crash every time i
-
Deploy adapter framework non-centrally
I'm trying to deploy the adapter framework non-centrally so I can make java proxy calls from a non-XI J2EE server (WAS 6.40), but I can't find documentation on how to do it correctly. Can somebody send a link? Thanks, Ray
-
I am trying to install HP officejet 5610 All-in-one printer.
I am trying to install HP officejet 5610 All-in-one printer. When I go to system preferences --> print and scan --> add printer b clicking on + sign . There are no printers displayed in the pop- up window. Anyone can help?