Divide images from single master image?
I have many large images which contain several smaller images each. Is there a way to auto detect and crop these images into separate files? Aperture plug-in? I know it will work in Photoshop Elements, but I don't have that.
Mike
Thank you all for the suggestions. I got this pile of images from my father - he probably scanned them on his flat bed scanner years ago.
Also, in the past I have been unhappy with the auto cropping tools embedded in scanners as they didn't include any rotation corrections (fine angle) - instead they would just crop more of the image.
Finally, in exploring this issue some I have realized that I can use "preview" to select a part of an image then copy, new, paste and I have a new image. When all images are manually selected then I can import into Aperture, etc... Manual, but it appears to work fine. Not sure if I'm loosing information in the process though - ideas?
I still am surprised that there isn't a stand along piece of software for doing this automatically...
Similar Messages
-
How can I batch process 4 diff image sizes from 1 master?
Hi there
What I would like to do is create 4 separate image files of varying sizes (large, medium, small & extra small) from one master image. I would need the ability to name each file individually too, ie. picture1_large, picture1_medium etc
I have a few thousand files to process so ideally a solution that I didnt have to keep checking on would be preferable. I know I can create a batch process for one size but its creating the four diff sizes in a batch which im finding difficult to work out.
any help would be much appreciated
JimSimply drag the entire folder through Bridge—or even individual files—the invisible xmp files containing your adjustments will automatically and invisibly travel along with the image files, as long as you do it within Bridge, not through the OS.
Otherwise, you would need to set your Mac OS to always make invisible files visible, and you don't want that hassle.
Just use Bridge to move files around or to copy them to a new folder.
Incidentally, there's a dedicated Adobe Bridge forum:
http://forums.adobe.com/community/bridge?view=discussions -
Copy single master page from one document to another?
The answer to a previously posted question seems to involve creating a document differently (than I had). A lot of work went into the creation of the master pages in the original document which I will now need to recreate in the new document. Is there a way I can copy one master page from one document to another?
Many thanks,
TheresaThere are a number of ways to do this.
Create a copy of the document you want to copy the Master page from. Delete all pages except for the one you want (but you have to leave Right and Left alone as FM must always have these two pages available).
Open the new document and the one that you want to import the master pages from.
In the new document:
Import from Document: (select the document with the Master Page that you want)
then
File > Import > Formats
and select Page Layouts only.
Note that Right/Left always come along for the ride.
Alternative and probably best way to get a single Master Page:
In new document, add a new Master Page and select "Empty".
In the old document, on the desired Master Page, Select All on page (ctrl+A) and then copy (ctrl+v).
In the new document on the new master page, paste (ctrl+v) to add the layout. Note: you may need to rotate the page first if it isn't in the same orientation as in the old document. -
Activation is changed from single lookups to to package fetch of active tab
I was going through some of the Performance enhancements in BW 7.3. Could someone please explain what do the following mean?
1. DSO Activation is changed from single lookups to package fetch of active table
2. Optimized delta load for master data due to package fetch instead of single look-ups
Thanks & Regards
DharmendraJust thought I'd post the resolution:
1) Simply changing the Disc Media Type in the ProjectData folder does nothing. The dual-layer setting causes it to change from a value of 4 to 8 (guess that's no surprise), but iDVD still treats the drive as a single-layer drive and so you can't create a disc image based on a dual-layer disc.
2) Turns out the folks from MCE sent along, after requesting it, a patch to enable dual-layer support in iDVD. From what I can tell from the .command file, it looks like it's probably just the HardMac.com hack repackaged for convenience. The don't offer it for download, but if you call or email them, they'll send it.
Thanks again for your advice. -
We are in the process of removing a child domain from the forest and are down to two DCs. These are both Server 2008r2 sp1 servers, one physical and virtual (PDC). When I try to remove a DC (not the PDC emulator) I get the following error:
The operation failed because:
Active Directory Domain Services could not transfer the remaining data in directory partition DC=DomainDnsZones,DC=mydomain,DC=local to
Active Directory Domain Controller \\V-Svr03.mydomain.local.
The directory service is missing mandatory configuration information, and is unable to determine the ownership of floating single-master operation roles."
I have checked replication with repadmin /showrepl and all connections were successful. The dcdiag /test:kccEvent test on all servers passed.
Most DCdiag tests are successful. The only failure is on NCSecDesc when running dcdiag /test:NCSecDesc
Testing server: Default-First-Site\DC1-DEV-OFC
Starting test: NCSecDesc
Error NT AUTHORITY\ENTERPRISE DOMAIN CONTROLLERS doesn't have
Replicating Directory Changes In Filtered Set
access rights for the naming context:
DC=ForestDnsZones,DC=hookemup,DC=local
......................... DC1-DEV-OFC failed test NCSecDesc
In researching this I find "If you do not plan to add an RODC to the forest, you can disregard this error."
We have not successfully run ADprep /rodcPrep nor do we plan on having any Read-Only DCs, so I think we can ignor this error. We did try running ADprep /rodcPrep but got an LDAP error which I can duplicate if this is important.
Schema and Naming FSMOs are on a DC higher in the forest. RID, PDC, and Infrastructure FSMOs for the child domain are on the Virtual server (PDC).
Any guidance on where to go from here would be greatly appreciated as I have no more hair on my head to pull.Ok... I ran repadmin /showreps /v again and it shows no errors
C:\>repadmin /showreps /v
Default-First-Site\DC1-DEV-OFC
DSA Options: IS_GC
Site Options: (none)
DSA object GUID: b294c59f-8b46-4133-89c5-0f30bfd49607
DSA invocationID: 1054285d-cffe-42b4-8074-e2d44adbb151
==== INBOUND NEIGHBORS ======================================
CN=Configuration,DC=mydomain,DC=local
Default-First-Site\HESTIA via RPC
DSA object GUID: b464fde9-29d7-4490-9582-fe9270050d50
Address: b464fde9-29d7-4490-9582-fe9270050d50._msdcs.mydomain.local
DSA invocationID: afea3845-9fa8-40a6-a477-84348a206348
SYNC_ON_STARTUP DO_SCHEDULED_SYNCS WRITEABLE
USNs: 16381490/OU, 16381490/PU
Last attempt @ 2012-10-29 13:52:39 was successful.
Default-First-Site\V-SVR03 via RPC
DSA object GUID: 53018cc4-b8c9-48ce-9a54-1b987e7b08c8
Address: 53018cc4-b8c9-48ce-9a54-1b987e7b08c8._msdcs.mydomain.local
DSA invocationID: 45de2c10-ec8b-443d-a645-db4e0a352a23
SYNC_ON_STARTUP DO_SCHEDULED_SYNCS WRITEABLE
USNs: 114817/OU, 114817/PU
Last attempt @ 2012-10-29 13:52:39 was successful.
Default-First-Site\V-SVR01 via RPC
DSA object GUID: e2f794eb-9658-4bad-b695-3d8c08f46371
Address: e2f794eb-9658-4bad-b695-3d8c08f46371._msdcs.mydomain.local
DSA invocationID: 07bb0fe9-bca9-46d1-92ce-308d36da478d
SYNC_ON_STARTUP DO_SCHEDULED_SYNCS WRITEABLE
USNs: 66047/OU, 66047/PU
Last attempt @ 2012-10-29 13:52:39 was successful.
Default-First-Site\ATHENA via RPC
DSA object GUID: cb00a5b0-6dea-473c-bb42-19356dd9ed36
Address: cb00a5b0-6dea-473c-bb42-19356dd9ed36._msdcs.mydomain.local
DSA invocationID: 57313a9c-46a2-4b94-87cc-b3f91d54faed
SYNC_ON_STARTUP DO_SCHEDULED_SYNCS WRITEABLE
USNs: 8098197/OU, 8098197/PU
Last attempt @ 2012-10-29 13:52:39 was successful.
CN=Schema,CN=Configuration,DC=mydomain,DC=local
Default-First-Site\ATHENA via RPC
DSA object GUID: cb00a5b0-6dea-473c-bb42-19356dd9ed36
Address: cb00a5b0-6dea-473c-bb42-19356dd9ed36._msdcs.mydomain.local
DSA invocationID: 57313a9c-46a2-4b94-87cc-b3f91d54faed
SYNC_ON_STARTUP DO_SCHEDULED_SYNCS WRITEABLE
USNs: 8097482/OU, 8097482/PU
Last attempt @ 2012-10-29 13:52:39 was successful.
Default-First-Site\V-SVR01 via RPC
DSA object GUID: e2f794eb-9658-4bad-b695-3d8c08f46371
Address: e2f794eb-9658-4bad-b695-3d8c08f46371._msdcs.mydomain.local
DSA invocationID: 07bb0fe9-bca9-46d1-92ce-308d36da478d
SYNC_ON_STARTUP DO_SCHEDULED_SYNCS WRITEABLE
USNs: 65239/OU, 65239/PU
Last attempt @ 2012-10-29 13:52:39 was successful.
Default-First-Site\V-SVR03 via RPC
DSA object GUID: 53018cc4-b8c9-48ce-9a54-1b987e7b08c8
Address: 53018cc4-b8c9-48ce-9a54-1b987e7b08c8._msdcs.mydomain.local
DSA invocationID: 45de2c10-ec8b-443d-a645-db4e0a352a23
SYNC_ON_STARTUP DO_SCHEDULED_SYNCS WRITEABLE
USNs: 114149/OU, 114149/PU
Last attempt @ 2012-10-29 13:52:39 was successful.
Default-First-Site\HESTIA via RPC
DSA object GUID: b464fde9-29d7-4490-9582-fe9270050d50
Address: b464fde9-29d7-4490-9582-fe9270050d50._msdcs.mydomain.local
DSA invocationID: afea3845-9fa8-40a6-a477-84348a206348
SYNC_ON_STARTUP DO_SCHEDULED_SYNCS WRITEABLE
USNs: 16381373/OU, 16381373/PU
Last attempt @ 2012-10-29 13:52:39 was successful.
DC=ForestDnsZones,DC=mydomain,DC=local
Default-First-Site\V-SVR01 via RPC
DSA object GUID: e2f794eb-9658-4bad-b695-3d8c08f46371
Address: e2f794eb-9658-4bad-b695-3d8c08f46371._msdcs.mydomain.local
DSA invocationID: 07bb0fe9-bca9-46d1-92ce-308d36da478d
SYNC_ON_STARTUP DO_SCHEDULED_SYNCS WRITEABLE
USNs: 66295/OU, 66295/PU
Last attempt @ 2012-10-29 13:57:48 was successful.
Default-First-Site\ATHENA via RPC
DSA object GUID: cb00a5b0-6dea-473c-bb42-19356dd9ed36
Address: cb00a5b0-6dea-473c-bb42-19356dd9ed36._msdcs.mydomain.local
DSA invocationID: 57313a9c-46a2-4b94-87cc-b3f91d54faed
SYNC_ON_STARTUP DO_SCHEDULED_SYNCS WRITEABLE
USNs: 8098367/OU, 8098367/PU
Last attempt @ 2012-10-29 13:58:13 was successful.
Default-First-Site\V-SVR03 via RPC
DSA object GUID: 53018cc4-b8c9-48ce-9a54-1b987e7b08c8
Address: 53018cc4-b8c9-48ce-9a54-1b987e7b08c8._msdcs.mydomain.local
DSA invocationID: 45de2c10-ec8b-443d-a645-db4e0a352a23
SYNC_ON_STARTUP DO_SCHEDULED_SYNCS WRITEABLE
USNs: 115032/OU, 115032/PU
Last attempt @ 2012-10-29 13:58:25 was successful.
Default-First-Site\HESTIA via RPC
DSA object GUID: b464fde9-29d7-4490-9582-fe9270050d50
Address: b464fde9-29d7-4490-9582-fe9270050d50._msdcs.mydomain.local
DSA invocationID: afea3845-9fa8-40a6-a477-84348a206348
SYNC_ON_STARTUP DO_SCHEDULED_SYNCS WRITEABLE
USNs: 16381653/OU, 16381653/PU
Last attempt @ 2012-10-29 13:58:34 was successful.
DC=mySUBdomain,DC=local
Default-First-Site\V-SVR03 via RPC
DSA object GUID: 53018cc4-b8c9-48ce-9a54-1b987e7b08c8
Address: 53018cc4-b8c9-48ce-9a54-1b987e7b08c8._msdcs.mydomain.local
DSA invocationID: 45de2c10-ec8b-443d-a645-db4e0a352a23
SYNC_ON_STARTUP DO_SCHEDULED_SYNCS WRITEABLE
USNs: 114871/OU, 114871/PU
Last attempt @ 2012-10-29 13:54:02 was successful.
DC=DomainDnsZones,DC=mySUBdomain,DC=local
Default-First-Site\V-SVR03 via RPC
DSA object GUID: 53018cc4-b8c9-48ce-9a54-1b987e7b08c8
Address: 53018cc4-b8c9-48ce-9a54-1b987e7b08c8._msdcs.mydomain.local
DSA invocationID: 45de2c10-ec8b-443d-a645-db4e0a352a23
SYNC_ON_STARTUP DO_SCHEDULED_SYNCS WRITEABLE
USNs: 114017/OU, 114017/PU
Last attempt @ 2012-10-29 13:52:39 was successful.
DC=mydomain,DC=local
Default-First-Site\V-SVR03 via RPC
DSA object GUID: 53018cc4-b8c9-48ce-9a54-1b987e7b08c8
Address: 53018cc4-b8c9-48ce-9a54-1b987e7b08c8._msdcs.mydomain.local
DSA invocationID: 45de2c10-ec8b-443d-a645-db4e0a352a23
SYNC_ON_STARTUP DO_SCHEDULED_SYNCS
USNs: 114017/OU, 114017/PU
Last attempt @ 2012-10-29 13:52:39 was successful.
Default-First-Site\HESTIA via RPC
DSA object GUID: b464fde9-29d7-4490-9582-fe9270050d50
Address: b464fde9-29d7-4490-9582-fe9270050d50._msdcs.mydomain.local
DSA invocationID: afea3845-9fa8-40a6-a477-84348a206348
SYNC_ON_STARTUP DO_SCHEDULED_SYNCS
USNs: 16381614/OU, 16381614/PU
Last attempt @ 2012-10-29 13:56:52 was successful.
Default-First-Site\V-SVR01 via RPC
DSA object GUID: e2f794eb-9658-4bad-b695-3d8c08f46371
Address: e2f794eb-9658-4bad-b695-3d8c08f46371._msdcs.mydomain.local
DSA invocationID: 07bb0fe9-bca9-46d1-92ce-308d36da478d
SYNC_ON_STARTUP DO_SCHEDULED_SYNCS
USNs: 66325/OU, 66325/PU
Last attempt @ 2012-10-29 13:58:34 was successful.
Default-First-Site\ATHENA via RPC
DSA object GUID: cb00a5b0-6dea-473c-bb42-19356dd9ed36
Address: cb00a5b0-6dea-473c-bb42-19356dd9ed36._msdcs.mydomain.local
DSA invocationID: 57313a9c-46a2-4b94-87cc-b3f91d54faed
SYNC_ON_STARTUP DO_SCHEDULED_SYNCS
USNs: 8098385/OU, 8098385/PU
Last attempt @ 2012-10-29 13:58:38 was successful. -
Changing controlling area from single company code to cross company code
Hi,
Due to my client requirement, in the middle of the year, we need to change the controlling area from being same as company code to cross company code controlling area. Although the currency is same. We are going to create a new company code. Is the changing controlling area settings possible to do? what are the precautions and changes need to be taken?
One more question, we need to change the company code when the new company code is created in the system in Cost Center Masters in the middle of the year. Is this possible after changing controlling area from single company code to cross company code. Right now company code is not appearing in the cost center master.
Thanks & Regards,
SaidaraoHi,
If both companies having transaction data its not possible,Normally before defining Organisational Strucutre only we have to deside both companies is assigning same controlling are or have to maitain separately for this we have to compare the Fiscal year,Operating chart of accounts ,if both having same then we will assign both the company codes to one controlling area if these two companies having different currencies also its not a problem.When we creating Controlling Area we have to choose option of controlling area as same company code (if one company code one controlling Area) for example if you assigning two companies then we have to use cross company code cost accounting.If u need any further information let me know.
Regards,
Satya -
Defaulting values at document level from Vendor Master?
Hi Gurus,
Can anyone tell me whether we have a provision in SAP wherein the system defaults all values in vendor master like Payment method, House bank ID in all the documents wherein the vendor is getting debited or credited with appropriate posting keys.
Thaks in advance and points will be rewarded.
Regards
GopalDear Gopal,
You can use OBU1 to default document type and and posting key.
One way is to default other values as well from vendor master is to implement a proper BAdi/Enhancement that will be called before initialising the screen and default as per your requirement.
Please check this sample program from other thread to find BADI and enhancement for a given transaction code. You just need to create a custom program in your system by cut and paste below codes.
REPORT ZTEST.
TABLES: TSTC,
TADIR,
MODSAPT,
MODACT,
TRDIR,
TFDIR,
ENLFDIR,
SXS_ATTRT ,
TSTCT.
DATA: JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
DATA: FIELD1(30).
DATA: V_DEVCLASS LIKE TADIR-DEVCLASS.
PARAMETERS: P_TCODE LIKE TSTC-TCODE,
P_PGMNA LIKE TSTC-PGMNA .
DATA: WA_TADIR TYPE TADIR.
START-OF-SELECTION.
IF NOT P_TCODE IS INITIAL.
SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
ELSEIF NOT P_PGMNA IS INITIAL.
TSTC-PGMNA = P_PGMNA.
ENDIF.
IF SY-SUBRC EQ 0.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'PROG'
AND OBJ_NAME = TSTC-PGMNA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
IF SY-SUBRC NE 0.
SELECT SINGLE * FROM TRDIR
WHERE NAME = TSTC-PGMNA.
IF TRDIR-SUBC EQ 'F'.
SELECT SINGLE * FROM TFDIR
WHERE PNAME = TSTC-PGMNA.
SELECT SINGLE * FROM ENLFDIR
WHERE FUNCNAME = TFDIR-FUNCNAME.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'FUGR'
AND OBJ_NAME EQ ENLFDIR-AREA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
ENDIF.
ENDIF.
SELECT * FROM TADIR INTO TABLE JTAB
WHERE PGMID = 'R3TR'
AND OBJECT in ('SMOD', 'SXSD')
AND DEVCLASS = V_DEVCLASS.
SELECT SINGLE * FROM TSTCT
WHERE SPRSL EQ SY-LANGU
AND TCODE EQ P_TCODE.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) P_TCODE,
45(50) TSTCT-TTEXT.
SKIP.
IF NOT JTAB[] IS INITIAL.
WRITE:/(105) SY-ULINE.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
Sorting the internal Table
sort jtab by OBJECT.
data : wf_txt(60) type c,
wf_smod type i ,
wf_badi type i ,
wf_object2(30) type C.
clear : wf_smod, wf_badi , wf_object2.
Get the total SMOD.
LOOP AT JTAB into wa_tadir.
at first.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 'Enhancement/ Business Add-in',
41 SY-VLINE ,
42 'Description',
105 SY-VLINE.
WRITE:/(105) SY-ULINE.
endat.
clear wf_txt.
at new object.
if wa_tadir-object = 'SMOD'.
wf_object2 = 'Enhancement' .
elseif wa_tadir-object = 'SXSD'.
wf_object2 = ' Business Add-in'.
endif.
FORMAT COLOR COL_GROUP INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 wf_object2,
105 SY-VLINE.
endat.
case wa_tadir-object.
when 'SMOD'.
wf_smod = wf_smod + 1.
SELECT SINGLE MODTEXT into wf_txt
FROM MODSAPT
WHERE SPRSL = SY-LANGU
AND NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
when 'SXSD'.
For BADis
wf_badi = wf_badi + 1 .
select single TEXT into wf_txt
from SXS_ATTRT
where sprsl = sy-langu
and EXIT_NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED ON.
endcase.
WRITE:/1 SY-VLINE,
2 wa_tadir-OBJ_NAME hotspot on,
41 SY-VLINE ,
42 wf_txt,
105 SY-VLINE.
AT END OF object.
write : /(105) sy-ULINE.
ENDAT.
ENDLOOP.
WRITE:/(105) SY-ULINE.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No.of Exits:' , wf_smod.
WRITE:/ 'No.of BADis:' , wf_badi.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'No userexits or BADis exist'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'Transaction does not exist'.
ENDIF.
AT LINE-SELECTION.
data : wf_object type tadir-object.
clear wf_object.
GET CURSOR FIELD FIELD1.
CHECK FIELD1(8) EQ 'WA_TADIR'.
read table jtab with key obj_name = sy-lisel+1(20).
move jtab-object to wf_object.
case wf_object.
when 'SMOD'.
SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
when 'SXSD'.
SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
ENDCASE.
Alternatively, you can do the following:
1. For what ever transaction u want the enhancement .. just check for the System-->status (menu) and find out the PROGRAM name....
2. Double click on to the program name and go inside the program (Abap editor)
3. Search for "Call Customer-function " ... and u'll get some search results .. If u get results then u have enhancement in that tcode .....
4. Then it actually calls a Function module .... copy the Function module name .... go to SE80 (object navigator) click on "Repository Information system" then Customer Enhancements .... Give the Function module name in the "Components" field and click Execute ....
ull get a list of Enhancements related to that Componene....
5. Choose which ever enhancement will suit ur business need ..
6. Go to CMOD... create a project .... assign ur enhancement ... and then code ur logic.... activate ur enhancement in CMOD ....... Ur Buisness need will be solved...
For a user exit......
Finding whether there is any User Exit or not for tcode VA42
1. For what ever transaction u want the user exit .. just check for the System-->status (menu) and find out the PROGRAM name.... ( The program name would be for our scenario "SAPMV45A" )
2. Double click on to the program name and go inside the program (Abap editor)
3. Search for the word "USEREXIT" .... u ll find all the user exits in the search result .. and find ur's then ...
Hope this will help.
Regards,
Naveen. -
Storeage location from material master in PO
I have maintained a store location of each material in Material master in view of "General Plant Data / Storage 1". Now my requirement is that whenever I create a PR or PO without PR with material, system will not take by default my store location since I have already maintained in the material master. Even the requirement is same while creating a reservation.. Can any one ans to this please.. Since it is general issue.. It should come from material master as this SAP is such good ERP package why it is not coming by default. It is a really challenging question?
REgards
TGSAP designed its programs the way it is, they have a field storage location EP to default a storage location to a PO. it just does not make sense for SAP (for perfromance reasons in big companies) to check first if there is only a single storage location maintained together with the auto storage location disabled.
storage location EP field is just located in MRP views.
But with customizing you can move this field to any other view, e.g. purchasing view.
It is probably in the MRP views, as you usually have MRP views only for materials that are stock managed, and only for quantity managed materials you need a storage location, while purchasisg view need to be there even for materials that are not stock managed. So a proposal for storage location EP makes more sense in the MRP views, especailly while the planner defines where the materials are needed, rather the the buyer. And with distributed material master maintenance it makes then again more sense to have it in MRP views.
But if you company does it different, then customize your material master views to your need. -
Partial Delivery to Several Ship to from Single SO
Dear all,
We have a case to create partial Delivery to several ship to from single Sales Order ,
case like this :
Sales Order #12345
Sold to : ABC, Ship to : ABC (default)
Item XYZ, Quantity 50 Pcs
Sales Order Date : 3/1/09
When creating SO, we do not know the ship to, so we make it default to ABC.
Ship to known until the truck/Customer come to take their goods.
let say 4 Partial Delivery Order created from Sales Order #12345
Delivery Order Date : 3/2/09
Delivery Order #1001
Ship to : ABC
Item XYZ, Quantity 20 Pcs
Delivery Order Date : 3/3/09
Delivery Order #1002
Ship to : DEF
Item XYZ, Quantity 15 Pcs
Delivery Order Date : 3/4/09
Delivery Order #1003
Ship to : GHI
Item XYZ, Quantity 10 Pcs
Delivery Order Date : 3/5/09
Delivery Order #1004
Ship to : ABC
Item XYZ, Quantity 5 Pcs
The problem is Ship to in TCODE VL01N disable to edit/choose ship to, it always point to "ABC" (from Sales Order).
Anyone know how to make ship to in TCODE VL01N enable for input /choose ?
or any other solution for this case ?
Thanks for response.
Iwan BudimanDear Budiman,
If you want do the partial deliveries to different ship to parties from single sales order you need to maintain seperate line item for each partial delivery and you need to assign 4 different ship to parties for each line item at Item data-->partners tab .
In your case you want to 4 partial deliveries so you need enter material XYZ as 4 items in the sales order.
Item 10 >XYZ>20 pc
Item 20 >XYZ>15 pc
Item 30 >XYZ>10 pc
Item 40 >XYZ> 5 pc
Now you go to Item data-->Partners tab of each item them maintain the 4 different ship to parties to each item..
Item 10 >20 pc>Ship to ABC
Item 20 >15 pc>Ship to DEF
Item 30 >10 pc>Ship to GHI
Item 40 >5 pc> Ship to ABC
Complete the sales order with all data now you can create 4 partial deliveries for 4 line items with diferent ship to party.
Note:- Make sure that all ship to parties are have master data.
I hope this will help you,
Regards,
Murali. -
Can we Delete the Product/Material from Product Master in CRM
Hi Gurus,
I want to delete some test products from Product master, I don't see any link for delete there in product master transaction.
Can we Delete the Product from Product Master in CRM??
Thanks in Advance.
Regards,
Manoj TiwariTry this:
*& Report ZVB_PRODUCT_DELETE (release CRM 4.0 SP03) *
*& Instructions are in OSS Note #427332 *
report zvb_product_delete line-size 300.
const, include
include com_product_const001.
include com_product_const003.
include com_product_const009.
include com_product_const011.
include com_settype_attribute_const03.
tables: comm_iproduct, "#EC NEEDED
comm_product.
constants:
gc_program type programm value 'COM_PRODUCT_DELETE_SINGLE'.
data: gv_product_guid type comt_product_guid,
gv_prty type comt_product_type,
gv_syslog(70) type c,
lv_mobile_active type comt_boolean,
lv_delete type comt_boolean value 'X'.
data: lt_settypes type comt_frgtype_tab_ext,
lt_status_guid type comt_prd_status_guid_tab.
data: begin of lt_products occurs 0,
product_id like comm_product-product_id,
product_guid like comm_product-product_guid,
end of lt_products.
Screen User query
selection-screen comment /1(60) text-006.
selection-screen skip 2.
select-options: s_prid for comm_product-product_id.
*parameters: p_prid type comt_product_id obligatory,
parameters: p_prty type comt_product_type obligatory default '01',
p_logs type comt_logsys obligatory,
p_objf type comt_product_object_family,
p_send as checkbox modif id 001 default on,
p_usage as checkbox modif id 001 default off,
p_test as checkbox default 'X'.
at selection-screen output.
perform check_mobile_download
changing lv_mobile_active.
if lv_mobile_active is initial.
loop at screen.
check screen-group1 = '001'. "disable field p_send, p_usage
screen-active = '0'.
modify screen.
endloop.
endif.
start-of-selection.
perform check_authority.
Write syslog entry
concatenate 'Rep. ' sy-repid ': ' p_prid(30) '/' p_prty '/' p_logs
into gv_syslog. "#EC NOTEXT
call 'C_WRITE_SYSLOG_ENTRY'
id 'TYP' field ' '
id 'KEY' field 'C00'
id 'DATA' field gv_syslog .
inactive product are not supported here
select * from comm_iproduct
where product_id = p_prid
and product_type = p_prty
and object_family = p_objf
and logsys = p_logs.
endselect.
if sy-subrc = 0.
write: / text-001, text-005.
exit.
endif.
read products according to the selection criteria
select * from comm_product
into corresponding fields of table lt_products
where product_id in s_prid
and product_type = p_prty
and object_family = p_objf
and logsys = p_logs.
if sy-subrc ne 0.
write: / text-010.
exit.
endif.
loop at lt_products.
read product and enqueue
perform product_enqueue
using lt_products-product_id
p_prty
p_logs
p_objf
changing gv_product_guid
gv_prty.
check not gv_product_guid is initial.
if p_usage = on.
perform check_usage
using gv_product_guid
changing lv_delete.
endif.
check lv_delete = on.
check p_test = space.
first delete the component of the IBase
perform delete_ibasecomponent
using gv_product_guid.
perform delete_extensions
using gv_product_guid
lt_settypes.
perform delete_settypes
using gv_product_guid
lt_settypes
changing lt_status_guid.
perform delete_interlinkages
using gv_product_guid.
perform delete_pme_data "multivalue attributes
using gv_product_guid.
perform delete_decoupled_data "long text, longmatnr,
using gv_product_guid. "ibase prodvar,...
perform delete_status
using lt_status_guid.
perform delete_favorites
using gv_product_guid.
perform delete_clear_case
using gv_product_guid.
if p_send = 'X'.
perform send_deletion_to_mw
using gv_product_guid.
endif.
delete from comm_product where product_guid = gv_product_guid.
delete from comm_producth where product_guid = gv_product_guid.
delete from comm_product_idx where product_guid = gv_product_guid.
delete from comm_prwb_user_2 client specified
where client = sy-mandt and last_object = gv_product_guid.
call function 'BAPI_TRANSACTION_COMMIT'
exporting
wait = 'X'.
write: / text-001, lt_products-product_id, text-004.
endloop.
*& Form product
form product_enqueue
using iv_prid type comt_product_id
iv_prty type comt_product_type
iv_logs type comt_logsys
iv_objf type comt_product_object_family
changing ev_pguid type comt_product_guid
ev_prty type comt_product_type.
data ls_product type comt_product.
call function 'COM_PRODUCT_GUID_GET'
exporting
iv_product_id = iv_prid
iv_product_type = iv_prty
iv_logsys = iv_logs
iv_object_family = iv_objf
iv_show_popup = 'X'
importing
ev_product_guid = ev_pguid
exceptions
not_found = 1
wrong_call = 2
internal_error = 3
others = 4.
if sy-subrc <> 0.
write: / text-001, space, iv_prid.
write: text-003. "Product not found
exit.
else.
write: / text-001, space, iv_prid.
write: text-002. "Product found
endif.
call function 'COM_PRODUCT_READ_SINGLE'
exporting
iv_product_guid = ev_pguid
iv_enqueue_mode = ' '
importing
es_product = ls_product
exceptions
not_found = 1
wrong_call = 2
foreign_lock = 3
enqueue_failed = 4
others = 5.
if sy-subrc <> 0.
if sy-subrc > 2.
write: / text-001, space, iv_prid.
write: text-007. "Product enqueued
exit.
else.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
exit.
endif.
exit.
endif.
ev_prty = ls_product-product_type.
special authotirty check (with considering the assigned
categories)
call function 'COM_PRODUCT_CT_AUTHORITY_CHECK'
exporting
iv_auth_act = '06'
iv_product_guid = ev_pguid
exceptions
no_authority = 1
wrong_call = 2
internal_error = 3
others = 4.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
endform. " product
*& Form delete_extensions
form delete_extensions
using iv_product_guid type comt_product_guid
et_settype type comt_frgtype_tab_ext.
data: lv_db_tab type ddobjname,
lv_subrc_pr_guid like sy-subrc,
table_name_ref type ref to data,
lt_extension type comt_frgtype_tab_ext,
ls_extension type comm_frgtype_ext.
field-symbols: <table_name> type any,
<field_name> type any.
check not iv_product_guid is initial.
delete extensions e.g. COMM_PRFREEATTR, CRMM_PR_TAX, COMM_PR_UNIT,
COMM_PR_SHTEXT,COMM_PR_GTIN, comm_prprdcatr,..
perform load_extensions
using iv_product_guid
changing lt_extension
et_settype.
loop at lt_extension into ls_extension.
lv_db_tab = ls_extension-frgtype_tab.
check not lv_db_tab is initial. "CRM_CAT_SAT & CRM_CAT_PUR
does table exist ?
call function 'DDIF_NAMETAB_GET'
exporting
tabname = lv_db_tab
exceptions
not_found = 1
others = 2.
check sy-subrc = 0.
Due to any reason (I don't know why) sometimes we have product_guid
and sometimes we have frg_guid as name of the key field.
create data table_name_ref type (lv_db_tab).
assign table_name_ref->* to <table_name>.
assign component 'PRODUCT_GUID' of structure <table_name>
to <field_name>.
lv_subrc_pr_guid = sy-subrc.
if lv_subrc_pr_guid = 0.
delete from (lv_db_tab)
where product_guid = iv_product_guid.
else.
delete from (lv_db_tab)
where frg_guid = iv_product_guid.
endif.
delete history of extension table
concatenate ls_extension-frgtype_tab 'H' into lv_db_tab.
create data table_name_ref type (lv_db_tab).
assign table_name_ref->* to <table_name>.
assign component 'LOGSYS' of structure <table_name>
to <field_name>.
check sy-subrc = 0.
call function 'DDIF_NAMETAB_GET'
exporting
tabname = lv_db_tab
exceptions
not_found = 1
others = 2.
check sy-subrc = 0.
if lv_subrc_pr_guid = 0.
delete from (lv_db_tab)
where product_guid = iv_product_guid.
else.
delete from (lv_db_tab)
where frg_guid = iv_product_guid.
endif.
endloop. " end of loop for all extensions
endform. " delete_extensions
*& Form delete_settypes
form delete_settypes
using iv_product_guid type comt_product_guid
it_settypes type comt_frgtype_tab_ext
changing et_status_guid type comt_prd_status_guid_tab.
data: ls_reldesc type coms_pr_org_rel,
lt_reldesc type comt_pr_org_rel_tab,
lt_reltab type ref to data,
ls_settype type comt_settype_ext,
ls_table type tabname,
ls_status_guid type crmt_object_guid.
field-symbols:
<fs_reltab> type any table,
<fs_relrow> type any,
<fs_settype> type comt_frgtype_guid,
<fs_setguid> type comt_frg_guid,
<fs_statguid> type crmt_object_guid.
memorise product status guide
ls_status_guid = iv_product_guid.
append ls_status_guid to et_status_guid.
load description of relation tables
call method cl_com_product_org_type=>comc_pr_org_link_read_all
importing
et_pr_org_rel = lt_reldesc
exceptions
no_desc = 0.
for all relation types (e.g. comm_pr_frg_rel, comm_pr_frg_rod)
loop at lt_reldesc into ls_reldesc.
read product/settype relations
create data lt_reltab type (ls_reldesc-link_table_ttyp).
assign lt_reltab->* to <fs_reltab>.
call function ls_reldesc-func_rel_read_pr
exporting
iv_product_guid = iv_product_guid
importing
et_rel = <fs_reltab>
exceptions
wrong_call = 1
not_found = 2
others = 3.
check sy-subrc = 0.
for all links...
loop at <fs_reltab> assigning <fs_relrow>.
assign component 'FRAGMENT_TYPE' of structure <fs_relrow>
to <fs_settype>.
assign component 'FRAGMENT_GUID' of structure <fs_relrow>
to <fs_setguid>.
assign component 'STATUS_OBJECT' of structure <fs_relrow>
to <fs_statguid>.
read table it_settypes with key frgtype_guid = <fs_settype>
into ls_settype.
check sy-subrc = 0.
settype table
delete from (ls_settype-frgtype_tab)
where frg_guid = <fs_setguid>.
history table
concatenate ls_settype-frgtype_tab 'H' into ls_table.
delete from (ls_table)
where frg_guid = <fs_setguid>.
memorise settype status guide
if not <fs_statguid> is initial.
ls_status_guid = <fs_statguid>.
append ls_status_guid to et_status_guid.
endif.
endloop. "of links
relation table (e.g. comm_pr_frg_rel)
delete from (ls_reldesc-link_table)
where product_guid = iv_product_guid.
history table
concatenate ls_reldesc-link_table 'H' into ls_table.
delete from (ls_table) where product_guid = iv_product_guid.
endloop. " of relation types
endform. " delete_settypes
*& Form delete_interlinkages
form delete_interlinkages
using iv_product_guid type comt_product_guid.
constants: cv_db_name(8) type c value 'COMM_IL_',
cv_suffix_h(2) type c value '_H'.
data: lt_ilinks type comt_il_data_tab,
lt_reltype type comc_il_reltype_tab with header line,
lv_ddictype type dd02v-tabclass,
lv_dbname type comt_structure.
CHECK p_objf IS INITIAL.
first we have to read all ILs where the productguid is sourceguid
refresh lt_ilinks.
call function 'COM_IL_API_WHERE_USED'
exporting
iv_objectguid = iv_product_guid
iv_objtype = gc_bus_objtype_bus1178
iv_direction = 'S'
importing
et_interlinkage = lt_ilinks.
check not lt_ilinks[] is initial.
delete adjacent duplicates from lt_ilinks comparing reltype.
read ilinkage customizing
select * from comc_il_reltype into table lt_reltype
for all entries in lt_ilinks where reltyp = lt_ilinks-reltype.
delete interlinkages
loop at lt_reltype.
if lt_reltype-streltyp ne space.
concatenate cv_db_name lt_reltype-streltyp into lv_dbname.
else.
concatenate cv_db_name lt_reltype-reltyp into lv_dbname.
endif.
delete data
call function 'DDIF_NAMETAB_GET'
exporting
tabname = lv_dbname
importing
ddobjtype = lv_ddictype
exceptions
not_found = 1
others = 2.
check sy-subrc = 0 and lv_ddictype = 'TRANSP'. "#EC NOTEXT
delete from (lv_dbname) where sourceguid = iv_product_guid.
delete history
check lt_reltype-change_doc = 'X'.
concatenate lv_dbname cv_suffix_h into lv_dbname.
call function 'DDIF_NAMETAB_GET'
exporting
tabname = lv_dbname
importing
ddobjtype = lv_ddictype
exceptions
not_found = 1
others = 2.
check sy-subrc = 0 and lv_ddictype = 'TRANSP'. "#EC NOTEXT
delete from (lv_dbname) where sourceguid = iv_product_guid.
endloop.
endform. "delete_interlinkages
*& Form delete_pme_data
form delete_pme_data
using iv_product_guid type comt_product_guid.
delete multivalue attributes from PME
data: lt_pmemap like standard table of comm_pme_prd_map,
ls_pmemap like comm_pme_prd_map.
select * into table lt_pmemap
from comm_pme_prd_map
where crm_object_guid = iv_product_guid.
check sy-subrc = 0.
loop at lt_pmemap into ls_pmemap.
call function 'CRM_SCE_DB_KB_DELETE'
exporting
iv_kbid = ls_pmemap-kbid.
endloop.
delete comm_pme_prd_map from table lt_pmemap.
endform. "delete_pme_data
*& Form send_deletion_to_mw
form send_deletion_to_mw
using iv_product_guid type comt_product_guid.
data: cv_function_module like rs38l-name
value 'CRM_PROD_SEND_DELETION_MESSAGE'. "#EC NOTEXT
data: lt_product_guid type comt_product_s_tab with header line.
lt_product_guid-product_guid = iv_product_guid.
append lt_product_guid.
call function 'FUNCTION_EXISTS'
exporting
funcname = cv_function_module
exceptions
function_not_exist = 1
others = 2.
check sy-subrc = 0.
call function cv_function_module
exporting
it_product_guid = lt_product_guid[]
iv_test_only = space
exceptions
internal_error = 1
others = 2.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endform. " send_deletion_to_mw
*& Form check_mobile_download
form check_mobile_download
changing ev_mobile_active type comt_boolean.
data:
cv_db_tab type ddobjname value 'SMOMARA'.
data: lv_lines type i value 0.
clear ev_mobile_active.
call function 'DDIF_NAMETAB_GET'
exporting
tabname = cv_db_tab
exceptions
not_found = 1
others = 2.
check sy-subrc = 0.
select count( * ) into lv_lines
from (cv_db_tab) up to 10 rows. "#EC CI_NOWHERE
if lv_lines > 0.
ev_mobile_active = on.
endif.
endform. " check_mobile_download
*& Form check_authority
form check_authority.
tables: t000, comc_pr_tool_reg. "#EC NEEDED
check productiv system - report must not be executed
select single * from t000 client specified "#EC CI_CLIENT
where mandt = sy-mandt.
if t000-cccategory = 'P'.
message e807(com_product) .
leave.
leave to transaction ' '.
endif.
Check authority for product delete
call function 'COM_PRODUCT_AUTHORITY_CHECK'
exporting
iv_auth_act = '06'
exceptions
no_authority = 1
wrong_call = 2
internal_error = 3
others = 4.
if sy-subrc ne 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
MESSAGE e808(com_product).
leave.
leave to transaction ' '.
endif.
Additional step: registration
select single * from comc_pr_tool_reg
where program_name = gc_program
and user_name = sy-uname
and exec_date = sy-datum.
if sy-subrc ne 0.
message e809(com_product).
endif.
endform. " check_authority
*& Form delete_decoupled_data
form delete_decoupled_data
using iv_product_guid type comt_product_guid.
include com_product_const018.
Deleting decoupled and customer requested data (long_text, longmatnr,
upload registry, ibase product variants coming from R/3,
archive verify registry). Documents like PDF,XLS,DOC,JPG stored in
Content Management will not be deleted
load BADI implementations
class: cl_exithandler definition load.
data: exit_obj type ref to if_ex_com_product_delete.
call method cl_exithandler=>get_instance
exporting
exit_name = gc_badi-com_product_delete
null_instance_accepted = on
changing
instance = exit_obj.
call BADI implementations (User Exit)
call method exit_obj->delete_extra_data
exporting
iv_product_guid = iv_product_guid.
endform. " delete_decoupled_data
*& Form load_extensions
form load_extensions
using iv_product_guid type comt_product_guid
changing et_extension type comt_frgtype_tab_ext
et_settype type comt_frgtype_tab_ext.
data: lt_prd_cat type comt_prod_cat_rel_tab,
ls_prd_cat type comt_prod_cat_rel,
lt_cat_frg type comt_prcat_frag_rel_tab,
ls_cat_frg type comt_prcat_frag_rel,
lt_settype_guid type comt_frgtypeguid_tab,
ls_settype_guid type comt_frgtype_guid,
lt_settype type comt_frgtype_tab_ext.
refresh et_extension.
read categories assigned to product
call function 'COM_PROD_CAT_REL_READ_WITH_PR'
exporting
iv_product_guid = iv_product_guid
importing
et_set = lt_prd_cat.
loop at lt_prd_cat into ls_prd_cat.
read allowed settypes for categories
call function 'COM_PRCAT_FRAG_REL_READ'
exporting
iv_category_guid = ls_prd_cat-category_guid
importing
et_prcat_frag_rel = lt_cat_frg
exceptions
wrong_call = 1
others = 2.
check sy-subrc = 0.
refresh lt_settype_guid.
loop at lt_cat_frg into ls_cat_frg.
ls_settype_guid = ls_cat_frg-frgtype_guid.
append ls_settype_guid to lt_settype_guid.
endloop.
read settype defintions
call function 'COM_SETTYPE_READ_MULTIPLE'
exporting
it_settype_guid = lt_settype_guid
importing
et_settype = lt_settype
exceptions
nothing_found = 1
others = 2.
if sy-subrc = 0.
only settypes
et_settype[] = lt_settype[].
delete et_settype[] where
( prod_comp_type = gc_prod_comp_type-extension or
prod_comp_type = gc_prod_comp_type-simple_extension ).
only extensions
delete lt_settype[] where
( prod_comp_type ne gc_prod_comp_type-extension and
prod_comp_type ne gc_prod_comp_type-simple_extension ).
et_extension[] = lt_settype[].
endif.
endloop. " end of product categories
endform. " load_extensions
*& Form delete_status
form delete_status
using it_status_guid type comt_prd_status_guid_tab.
data:
lt_status like crm_jsto_pre occurs 0,
ls_status type crm_jsto_pre,
ls_status_guid type crmt_object_guid.
loop at it_status_guid into ls_status_guid.
ls_status-objnr = ls_status_guid.
append ls_status to lt_status.
endloop.
call function 'CRM_STATUS_DELETE_MULTI'
tables
objnr_table = lt_status.
endform. " delete_status
*& Form delete_favorites
form delete_favorites
using iv_product_guid type comt_product_guid.
call function 'COM_PRODUCT_DELETE_FAVORITES'
exporting
iv_object_guid = iv_product_guid.
endform. " delete_favorites
*& Form delete_clear_case
form delete_clear_case
using iv_product_guid type comt_product_guid.
data: ls_customizing type comc_product,
lv_clear_case_guid type comt_clear_case_guid.
Is cusotmizing-flag INACTIV_PROD activated ?
call method cl_com_product_general=>comc_product_read_all
importing
es_prod_general = ls_customizing
exceptions
not_found = 1
others = 2.
check ls_customizing-inactive_prod = on.
select single clear_case_guid from comm_clear_targ "#EC *
into lv_clear_case_guid
where object_guid = iv_product_guid "active
and object_class = 'PROD'.
normaly two entries for active and inaktive product version
delete from comm_clear_targ
where clear_case_guid = lv_clear_case_guid
and object_class = 'PROD'.
delete from comm_clear_stack
where guid = lv_clear_case_guid
and application = 'PROD'.
endform. "delete_clear_case
*& Form check_usages
form check_usage
using iv_product_guid type comt_product_guid
changing ev_delete type comt_boolean.
include sbal_constants.
data: cv_function_module like rs38l-name
value 'COM_PRODUCT_USAGE_CHECK'. "#EC NOTEXT
data: ls_product type comt_product,
lt_product type comt_product_tab.
data: ls_logheader type bal_s_log, "Kopfdaten des Protokolls
lv_loghandle type balloghndl.
data: ls_msg_filter type bal_s_mfil,
ls_log_filter type bal_s_lfil,
lt_msg_handle type bal_t_msgh,
ls_log_handle type bal_s_logh,
ls_msg_handle type balmsghndl,
ls_msg type bal_s_msg,
ls_string type string.
does CRM function exist
call function 'FUNCTION_EXISTS'
exporting
funcname = cv_function_module
exceptions
function_not_exist = 1
others = 2.
check sy-subrc = 0.
create log handle
ls_logheader-aldate = sy-datum.
ls_logheader-altime = sy-uzeit - 10.
ls_logheader-aluser = sy-uname.
ls_logheader-alprog = sy-repid.
call function 'BAL_LOG_CREATE'
exporting
i_s_log = ls_logheader
importing
e_log_handle = lv_loghandle
exceptions
log_header_inconsistent = 1
others = 2.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
ls_product-product_guid = iv_product_guid.
append ls_product to lt_product.
call usage checks
call function cv_function_module
exporting
it_product = lt_product
iv_loghandle = lv_loghandle.
filter settings
ls_log_handle-sign = 'I'.
ls_log_handle-option = 'EQ'.
ls_log_handle-low = lv_loghandle.
append ls_log_handle to ls_log_filter-log_handle.
get messages
call function 'BAL_GLB_SEARCH_MSG'
exporting
i_s_log_filter = ls_log_filter
i_s_msg_filter = ls_msg_filter
importing
e_t_msg_handle = lt_msg_handle
exceptions
msg_not_found = 1
others = 2.
check sy-subrc = 0.
ev_delete = space.
write: / text-001, text-008.
read messages
loop at lt_msg_handle into ls_msg_handle.
call function 'BAL_LOG_MSG_READ'
exporting
i_s_msg_handle = ls_msg_handle
importing
e_s_msg = ls_msg
exceptions
log_not_found = 1
msg_not_found = 2
others = 3.
check sy-subrc = 0.
message id ls_msg-msgid type ls_msg-msgty number ls_msg-msgno
with ls_msg-msgv1 ls_msg-msgv2 ls_msg-msgv3 ls_msg-msgv4
into ls_string.
write: /, ls_string.
clear ls_msg.
endloop.
endform. " check_usages
*& Form delete_ibasecomponent
text
-->P_GV_PRODUCT_GUID text
form delete_ibasecomponent using p_product_guid.
data: lv_guid22 like sysuuid-c22,
ls_comp type ibas_dat1.
tables: ibin.
break pvho.
call function 'GUID_CONVERT'
exporting
iv_guid_x16 = p_product_guid
importing
ev_guid_c22 = lv_guid22
exceptions
no_unicode_support_yet = 1
parameters_error = 2
others = 3.
find the component
select * from ibin
where objnr = lv_guid22.
clear ls_comp.
ls_comp-instance = ibin-instance.
ls_comp-ibase = ibin-ibase.
call function 'IBASE_COMP_DELETE'
exporting
i_comp = ls_comp
exceptions
data_not_consistent = 1
ibase_locked = 2
not_succesful = 3
others = 4.
if sy-subrc eq 0.
call function 'IBASE_SAVE'.
endif.
endselect.
endform. " delete_ibasecomponent -
Can I have more then one MVIEW site connected to single master site?
Hi,
I need one help from your end.
Currently I am working on Basic Replication.For that I am using Read only Materialized views.first i tried with one master site & one Materialized view site its working fine,Can I have more then one MVIEW site connected to single master site referring to same database ? if so how to achive this one..Actually one of my senior told me that you need to change number of OPEN_LINKS value like that so for that reason I asked this question.
Still that problem not solved..
I will explain what are all the things I did ok.
IN MASTER SITE:
I am creating read only MVIEW's.
first i created one user repadmin and have given
1>execute any procedure
2>dbms_repcat_admin.grant_admin_any_repgroup
3>dbms_repcat_admin.grant_admin_any_schema
4>select any dictionary
and all other grants to repadmin user
then I changed global_name = 'zxincmp' on Master site.
Then I created mview log for each table (for 85 tables) & then I created mview's for that table on Master site itself. later I took a dump of these 85 mview's . then I transfered this dump to one of my mview site.
IN MVIEW site:
I created one user zxdbp_55 and all the above rights are given to this user & i created one public dblink
"zxincmp" using "TO_CMP"(master site).Then I imported that dump which i took from master site.
then i created one private link zxincmp in one of my mview site.then i used DBMS_REFRESH.MAKE('')
to refresh all my tables & to set the interval..
after that i created index on the mviews..
this will works out fine for single master & single mvirew site.but I tried with the same procedure to prepare one more mview site,everything is fine but main problem is second mview site is not getting refreshed automatically,i need to do refresh manually from enterprise manager.. then it will get refreshed.
how to overcome this problem? I am using same db name ,dblink,refresh group for both the mview site will it affects anywhere?
Thanks & Regards,
Hanumanth. -
Hello friends
I have error while creating financial transaction. Payment details are not retrieving from BP master data to creating financial transaction screen.
No payment details entered for transaction
Message no. FTR0030
Please advise to set off this.
Thanks & Regards
SwamiDear Swami,
Please select one payment details in Business partner and use assigned tab from top selection parameter from standing instruction to assigned bank details to product type.
It will open other window like above example for each product of treasury, then assign bank details to product. Once assigned and save.
System will pick payment details in deal automatically based on business partner.
Hope this solve your issue.
Regards,
Jain
Message was edited by: Jain Varghese -
Can not delete record from the master block ,frm-40202 field must be entere
hi ,
i have built a form which contain master and details blocks
the problem is
when i try to delete a record from the master block it gives me new serial for the transaction and when i try to save it, it says
>frm-40202 field must be entered
where this field is required and i cant save it
although in another form when i delete from the master it gives me the previous record and it works properly
if any one has any ideas pls help me
thank u
------- the master block has a trigger when-create-recoder
Declare>v_dummy number;
Begin
Select nvl(max(ERNT_NO),0) + 1 >Into v_dummy
From LM_RENT_EXPNMST >Where cmp_no = :LM_RENT_EXPNMST.cmp_no
And brn_no = :LM_RENT_EXPNMST.brn_no>and fiscal_yr = :LM_RENT_EXPNMST.fiscal_yr;
>:LM_RENT_EXPNMST.ERNT_NO := v_dummy;
END;
IF :PARAMETER.RNT_NO IS NOT NULL THEN
:LM_RENT_EXPNMST.RNT_NO:=:PARAMETER.RNT_NO;
:LM_RENT_EXPNMST.RNT_YR:=:PARAMETER.RNT_YR;
:LM_RENT_EXPNMST.CUST_DESC:=:PARAMETER.RNT_ADESC;
END IF;Edited by: ayadsufyan on May 8, 2013 2:03 PMIf this is a FORMS question you should mark this one ANSWERED and repost your question in the FORMS forum
Forms -
Hi Friends,
i want to generate report from single dimension table with out using alias.is it possible?.If it is possible Please answer me.Hi,
BI server needs one fact table to be joined to produce the query.
If you are having at least one fact table in the RPD then the dimension table will try to create join with the fact table and produce the result with the dimension table only.
But in the physical query it will have the fact table too.
Or else you can create a dummy fact table in the RPD.
Refer-
http://www.rittmanmead.com/2009/08/oracle-bi-ee-10-1-3-4-1-reporting-on-non-transactional-dimension-values-equivalence-of-outer-joins/
Please let me know further and hope this helped/ answered.
Regards
MuRam -
Payment method not defaulting from Vendor master data
Hi All
I am running F110 payment run. In the Payment proposal SAP is not pulling payment method from vendor master data for some invoice. we have like two payment methods , Sap is defaulting payment method for one type of payment method and not defaulting for the other...What could be the possible reasons?( for both the invoices We are not maintaining any payment method)Hi
In F110 if payment methods are different from vendor master data and payment methods mentioned in parameters tab it will take payment methods from parameters tab, so that you have to give both payment methods in parameters tab so that it will consider both.
Maybe you are looking for
-
HFM 9.3.1 & IE8 on Windows 7
We are in the initial stages of testing a possible deployment of Windows 7 to our end users and running into issues with our current version of HFM since Windows 7 will not allow you to run IE 7. We have tried using the Windows XP Mode, however that
-
Hello. I´d like to know how to put a video inside IPod with the iTunes software. Thanks
-
What is 0xE8000065 error?
Just upgraded iTnes to 10.5 on my old Windows XP pc. Trying to upgrade my iPod Touch (2009) iOS from 4.2 to 5.x. My iTunes is saying it cannot connect to this iPod saying it is an "unknown error (0xE8000065). Any solutions?
-
I purchased an Adobe Photoshop CC subscription from Best Buy in December, and it has suddenly started asking me for my serial number again. Well, I have long since discarded the physical "subscription" that had the serial number on it. Is there anyth
-
Not trying to flood the board just need a quick answer (pic included)
I just need to know how to get rid of this square and cross view. http://www.flickr.com/photos/77484495@N05/6944371483/in/photostream/ I was given an answer that didnt seem to work for me. They told me it was "region of interest" but that doesnt see