How to pick the field "Origin Object" from SAP R/3
Hi all,
I need to implement a new field in a BEx Report : "Origin Object". This data is mix of "Cost Center" + "Project type", it's related to the PS module.
This field isn't available in my BW datawarehouse, so I need to figure out where and how to pick up it in R/3. I used the "data element" name : "CO_USPOB" and I've made a research through the "Where used list" tool but I didn't find any tables, only some structures. I've checked all of these structures but I didn't get any tracks...
Do you know another way to investigate? is there any doc. on the SAP.help about this data element?
Thanks in advance for your suggestions.
Jak
Hi,
If you know the transaction where the field can be seen. Then run the trace on that transaction and in the Trace list you will see all the tables accesed during the tranasaction execution. Then you can get the correct table from the table list
Thanks,
Nagarjuna
Similar Messages
-
How to pick the fields of ABC table in Payslip
How to pick the fields of ABC table in Payslip, So i want to add the calender days(absent days) in my payslip
You can do it through PE51_CHECKTAB
Yogesh -
How to change the field length in standard sap program.
Hi All,
How to change the field length in standard sap program.
Urgent
Example:
Text1 type c length 75,
To change :
Text1 type c length 150,
Point will be rewarded..
Thank you,
Vikram.CIf the only solution is to change the sap standard program, simply change the program, it will prompt for an access key. This key can be retrieved in the SAP support portal (service.sap.com) at keys and requests, sccr keys, register object.
Sometimes these actions are outsourced to a competence center, so maybe youre not entitled to do this, in any case ask a resident senior developer for support.
regards, Rob -
How to get the list of materials from Sap r/3
Hi Experts,
I have one doubt, here iam implementing
HTTP TO RFC scenario.
My doubts are------
1. Should we create DT MT MI and all (OR) not
2.In Request DT how the message structure wil be to get the list of materials from sap r/3 system as Response(Ex: Fields in the source structure).
3.Or the second thing is how to get the list of materials start with some alphabate.
Please reply me for each and every questions mentioned above. Please clarify me.
Helpful answers wil be rewarded.
Reagards
khannaHi Khanna,
<i> 1. Should we create DT MT MI and all (OR) not</i>
Yes U need to create for HTTP site...for RFC U need to import..
<i>2.In Request DT how the message structure wil be to get the list of materials from sap r/3 system as Response(Ex: Fields in the source structure).</i>
You create your own structres for Request and respoce.. and Map it with RFC..
<i>3.Or the second thing is how to get the list of materials start with some alphabate.</i>
I think it will come with acending order....
for more help go through this link
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
regards,
Ansar. -
How to call the BAPI in BI from SAP
I want to run the process from SAP and then call a BAPI in BI to retreive some data into SAP.
What syntax should I used?
Thanks
ByeHi,
While calling BAPI use "Destination" and provide the RFC destination created for BI in SM59.
Neel Thakkar.
Edited by: neelthakkar on Mar 27, 2010 12:37 PM -
How to refer the parent class object from an inner class
Hi,
I have a class X, which contains an inner private class Y. Class X has a method getY which returns an object of class Y. Class Y has a method getParent. I want to return the object of parent class from this. The code is like this:
public inerface IY;
public class X {
private class Y implements IY {
public getParent {
// ... return the object of parent class which created the object of this inner class
public IY getY() {
return new Y();
Can somebody help me with this...interface IY {
public class X {
private class Y
implements IY {
private X parent;
public Y(X x)
parent = x;
public X getParent()
// ... return the object of parent class which created the object of this inner class
return parent;
public IY getY()
return new Y(this);
}Filip -
How to export the single cube data from SAP repository
Hi ,
I have a requirement to export the single cube data ( there was so many cubes in the SAP repository) as an XML file or a .csv file or a flat file.
And also looking for how to do cube quering?
Thanks in advance ,
Ramakrishna ThotaHI RK,
1. You can use Open Hub service to export data into CSV or File Format.
2. You can also use RSCRM_REPORT transaction to export data in to File, for this you need to create query first.
3. You can also use APD to generate file of your cube data.
thanks
Ramesh Babu -
How to Send the material master data from sap4.6c to ECC6.0
Hi
Friends this is shalini Shah, i got one requirement that is
how to send the materail master data from SAP 4.6C to ECC6.0 using XI.
i know the file to idoc and idoc to file scenarios but i don't know this one.
please help me friends, Thanks in advance.
Regards
Shalini ShahHi Shalini,
To trigger IDoc these configurations should be done in the SAP 4.6, XI and ECC 6.0.
SAP XI
1) RFC Destination (SM59)
a) Choose create.
b) Specify the name of the RFC destination
c) Select connection type as 3 and save
d) In the technical settings tab enter the details SAP SID/URL and system number#.
e) Enter the Gateway host as same details above SID/URL.
f) Gateway service is 3300+system number#.
g) In the Logon /Security tab, enter the client user & Password details of Destination system.
h) Test the connection and remote logon.
2) Create Port (IDX1)
a) Select create new button
b) Enter the port name as SAP+SID (The starting char should be SAP)
c) Enter the destination client.
d) Enter the RFC Destination created in SAP R/3 towards other system.
e) Save
3) Load Meta Data for IDOC (IDX2)
a) Create new
b) IDOC Message Type
c) Enter port created in IDX1.
SAP R/3 (4.6 and ECC 6.0)
1) RFC Destination (SM59)
a) Choose create.
b) Specify the name of the RFC destination
c) Select connection type as 3 and save
d) In the technical settings tab enter the details SAP SID/URL and system number#.
e) Enter the Gateway host as same details above SID/URL.
f) Gateway service is 3300+system number#.
g) In the Logon /Security tab, enter the client user & Password details of Destination system.
h) Test the connection and remote logon.
2) Create Port (We21)
a) First Select Transactional RFC and then click create button
b) Enter the destination port name as SAP+SID (The starting char should be SAP)
c) Enter the destination client.
d) Enter the RFC Destination created in SAP R/3 towards other system.
e) Save
3) Create Partner Profile (WE20)
a) Create New
b) Create the Partner no. name as same the logical system name of the destination system.
c) Select Partner type LS
d) Enter details for Type: US/USER, Agent, and Lang.
e) Click on the + button to select the message type.
f) Select Partner no. and LS which ever create above.
g) Select Message type
h) Select Process code related to the Message type.
I) save.
Also go ther the Blog <a href="/people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi Configuration for Pushing IDOC's from SAP to XI</a> By Swaroopa Vishwanath
U need to import the IDoc types both inbound and outbound to XI.
1. Create Inbound and Outbound Message interface.
2. Do one to one message mapping.
3. Define an Interface mapping.
ID:
1. Create 1 Sender aggrement.
2. Create 1 Receiver aggrement.
3. Define 1 RD and ID.
4. Only create an receiver IDoc CC.
Regards
San
<a href="Remember to set the thread to solved when you have received a solution to set the thread to solved when you have received a solution</a>
Where There is a <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/weblogs?blog=/weblogs/topic/16">blog</a> there is a Way. -
How to hide the field from the view in the webdynpro application?
Hi Gurus,
I got a requirement where in which ,default layout has the field name Time.......To......... which is (2 input box ) and one lable assigned to the container.........
Now my requirement is to hide this field from the layout for all cases of leave......(all types of leave)....
I got a few inputs from forum that we can achieve this by implementing the following steps..........
Create In context => Value attribute => Say Visibility
Go to its properties
Select com.sap.ide.webdynpro.uielementdefinitions.Visibility
In View Layout
Select UI Element Set Visible property to this context variable Visibility.
In wdDoModifyView() You can set this property to false
wdContext.currentContextElement().setVisibility(false);
Can you people tell me where to create the value attribute........
In the view context or in the component context...........
and field that am talking about is assign to the container you want me to assign this context variable property to all ......Like to input box ,label and the container..........
Please calrify this ASAP...........
Thanks in Advance,
DharaniHi Manoj......
Hi Murutuza,
As per your guidelines I have created the value attribute in View context (which has the field..... which needs to be hide)inside the value node say FieldVisibility.......and attribute name OldTimeDuration......and I set this value with uidefeneitions Visibility .......
and I bind this vaule with the field property visible(Time.......To..........)which I need to hide...........
Now in the view implementation tab ..........I have coded in the doinit method(since my requirement to hide the field from the layout in all cases).........
wdContext.currentFieldVisibilityElement().setOldTimeDuration(WDVisibility.NONE);
But if I deploy the application and see still am getting the same field dispalying in the screen.........
I even tried putting this code in wdmodifyview method.........same results........
Kindly tell me how to hide the field permenantly from the screen............(without any conditions.)
Thanks in Advance,
Dharani -
How to Change the Fields from Input mode to display mode
Hi experts,
Here is my business requirement. I need to show certain fields in the PRICING TAB OF SALES ORDER in display mode. Now for this i am using the BADI definition CRM_PRICING_BADI.
Now, can anybody tell me how to change the field type from input mode to change mode?Hi Karan,
In your BADI has a parameter CT_INPUT_FIELD_NAMES with one field called CHANGEABLE with values:
Field Can Be Changed
A Field Cannot Be Changed
Assing this values to your fields according with your requirements.
Regards.
Manuel -
How to pick a field value from transaction during runtime
Hi,
I have an exit which allows creation of po without purch. req. for selected Purchasing Document Types.
similarly the exit should also allow the creation po's with item categories 'L and U' even without pr's.
now my problem is how to pick the value of this item category during runtime so as to put the check.
your suggestions are valued.
Thanks in advanceHi,
if you have the new debugger, you can see the global variables that you can use in your exit (putting a break point on your code), so you can found easly the structure or field that contains your informations.
I hope that's useful for u,
Regards -
How to get the byte[] size dynamically from the StreamMessage object
Hi all,
Using JMS, I am receiving the FDF file as StreamMessage from the queue and attaching it to the PDF file which is present in the local system.
For that, I have written the code as follows:
{color:#0000ff} Message msg = jmsTemplate.receive();
if(msg !=null && msg instanceof StreamMessage)
StreamMessage message = (StreamMessage) msg;{color}
{color:#ff6600}//hardcoded the byte array size value
{color}{color:#0000ff} byte[] bytes = new byte[{color:#ff0000}856{color}];
System.out.println("read msg="+message.readBytes(bytes));{color}
{color:#0000ff}PdfReader pdfreader = new PdfReader("D:\\Managing_Workflows_No_Comment.pdf");
PdfStamper stamp = new PdfStamper(pdfreader, new FileOutputStream("D:\\12345.pdf"));
FdfReader fdfreader = new FdfReader(bytes);
stamp.addComments(fdfreader);
{color} {color:#0000ff} stamp.close();
{color}{color:#000000}The above code is working fine except with the hardcoded of {color:#ff0000}byte array{color}{color:#ff0000} size value{color} which is given in {color:#ff0000}RED{color} in color.
Can anybody know, {color:#000000}*how to get the byte[] size dynamically from the StreamMessage*{color} object ?
Any help would be highly beneficial for me !!!!
Thanks and Regards,
Ganesh Kumar{color}When you create your stream message you could add an property to your message, something like streamSize that would contain the number of bytes in your stream message. Then you could get this property from the message before declaring your array.
Tom -
Hi gurus in ALV how to edit the fields on out put list
hi gurus in ALV how to edit the fields on out put list
hi
REPORT ZSB_ALV_EDITABLE_SAMPLE.
TABLES: SFLIGHT.
DATA: gc_container TYPE scrfname VALUE 'LIST_AREA',
gc_custom_container TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
gc_grid TYPE REF TO CL_GUI_ALV_GRID,
gs_layout TYPE LVC_S_LAYO,
gt_fieldcat TYPE LVC_T_FCAT.
DATA: ok_code TYPE SY-UCOMM.
DATA: gt_outtab TYPE TABLE OF SFLIGHT.
*DYNPRO
CALL SCREEN 100.
*& Module STATUS_0100 OUTPUT
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS '100'.
CREATE OBJECT gc_custom_container
EXPORTING
container_name = gc_container
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
OTHERS = 6.
CREATE OBJECT gc_grid
EXPORTING
i_parent = gc_custom_container
EXCEPTIONS
error_cntl_create = 1
error_cntl_init = 2
error_cntl_link = 3
error_dp_create = 4
OTHERS = 5 .
PERFORM prepare_field_catalog CHANGING gt_fieldcat .
PERFORM prepare_layout CHANGING gs_layout .
PERFORM get_alv_display.
ENDMODULE.
*& Module USER_COMMAND_0100 INPUT
MODULE USER_COMMAND_0100 INPUT.
OK_CODE = SY-UCOMM.
IF OK_CODE = 'BACK'.
SET SCREEN 0.
LEAVE SCREEN.
CLEAR OK_CODE.
ENDIF.
ENDMODULE.
FORM prepare_field_catalog CHANGING gt_fieldcat TYPE LVC_T_FCAT.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
I_BUFFER_ACTIVE =
I_STRUCTURE_NAME = 'SFLIGHT'
I_CLIENT_NEVER_DISPLAY = 'X'
I_BYPASSING_BUFFER =
I_INTERNAL_TABNAME =
CHANGING
ct_fieldcat = gt_fieldcat[].
ENDFORM.
FORM prepare_layout changing p_gs_layout TYPE lvc_s_layo.
p_gs_layout-zebra = 'X'.
p_gs_layout-edit = 'X'.
ENDFORM. " prepare_layout
FORM get_alv_display .
SELECT * FROM sflight INTO TABLE gt_outtab UP TO 10 ROWS.
CALL METHOD gc_grid->set_table_for_first_display
EXPORTING
I_STRUCTURE_NAME = 'SFLIGHT'
IS_LAYOUT = gs_layout
CHANGING
it_outtab = gt_outtab
IT_FIELDCATALOG = gt_fieldcat
ENDFORM. " get_alv_display -
How to maintain the fields mandatory in Opportunity and quotation SAP CRM?
Hello All,
I have the following two requirements :
1.Need to mark the fields as mandatory in SAP CRM Opportunity (description,sales prospect,phase,status,opportunity group,origin
,product(description,quantity,expected total value) ,Milestones(Start date and end date),Organization.
2.Also the fields in SAP CRM Quotation ( Prodcut,Usage,Project Manager ITS (an Employee) and Capitalization ( our Z-customer field)
How to achieve this ? Is this can be done through pure customization in SAP CRM or any developers work involves? We are using SAP CRM 4.0 .
Pls provide the solution at the earliest .
Cheers
SreedharSome can be done thru customazing in spro>crm>basic settings>incompleteness>Define Incompleteness Procedures. For more enhanced functionality you can use also badi under spro>crm>basic settings>incompleteness>Business Add-In for Incompleteness Check in Business Transac.
To define incompleteness for exampla for SAP CRM Opportunity - description, do the following in spro>crm>basic settings>incompleteness>Define Incompleteness Procedures:
- create new incompletenes group: e.g. ZOPP
- assign this group to your opportunity transaction type
- define incompleteness procedure:
- object type: ORDERADM_H
- field name: DESCRIPTION
- relavance: HEADER
- message: ERROR
- define determination
Regards. -
Abbreviation of ST in the field origin of table JDT1
Dear Experts/Gurus,
I have a problem relate to define the abbreviation of ST in the field origin of table JDT1. it is not only ST and also other terms in the field. I have tried to find it out using ppt and help file but fail. where do I have to see it ? do you have ppt or pdf file explained about it ? I appreciate your answer so much. TIA
Rgds,Hi steve andre
The origin field is on OJDT and not JDT1. The field TransId on the table ojdt tells you which document it came from. But this field is numeric. So for example if the journal came from a Sales Invoice it will have 13. These numbers repreasent the actual DI API object also.
Here is a table of the values.
oChartOfAccounts ChartOfAccounts object. 1
oBusinessPartners BusinessPartners object. 2
oBanks Banks Object. 3
oItems Items object. 4
oVatGroups VatGroups Object. 5
oPriceLists PriceLists object. 6
oSpecialPrices SpecialPrices object. 7
oItemProperties ItemProperties 8
oUsers Users object. 12
oInvoices Documents object that represents a draft of sales invoice document. 13
oCreditNotes Documents object that represents a draft of sales credit note document. 14
oDeliveryNotes Documents object that represents a draft of sales delivery note document. 15
oReturns Documents object that represents a draft of sales return document. 16
oOrders Documents object that represents a draft of sales order document. 17
oPurchaseInvoices Documents object that represents a draft of purchase invoice document. 18
oPurchaseCreditNotes Documents object that represents a draft of purchase credit note document. 19
oPurchaseDeliveryNotes Documents object that represents a draft of purchase delivery note document. 20
oPurchaseReturns Documents object that represents a draft of a purchase return document. 21
oPurchaseOrders Documents object that represents a draft of purchase order document. 22
oQuotations Documents object that represents a draft of sales quotation document. 23
oIncomingPayments Payments object. 24
oJournalVouchers JournalVouchers object. 28
oJournalEntries JournalEntries object that represents a normal journal entry. 30
oStockTakings StockTaking object. 31
oContacts Contacts object. 33
oCreditCards CreditCards Object 36
oCurrencyCodes Currencies object. 37
oPaymentTermsTypes PaymentTermsTypes object. 40
oBankPages BankPages object. 42
oManufacturers Manufacturers 43
oVendorPayments Payments object that represents payments to vendors. 46
oLandedCostsCodes LandedCostsCodes 48
oShippingTypes ShippingTypes 49
oLengthMeasures LengthMeasures 50
oWeightMeasures WeightMeasures 51
oItemGroups ItemGroups object. 52
oSalesPersons SalesPersons 53
oCustomsGroups CustomsGroups 56
oChecksforPayment ChecksforPayment object. 57
oInventoryGenEntry Documents object that is used to enter general items to the inventory. 59
oInventoryGenExit Documents object that is used to exit general items from inventory. 60
oWarehouses Warehouses object. 64
oCommissionGroups CommissionGroups 65
oProductTrees ProductTrees object. 66
oStockTransfer StockTransfer object. 67
oWorkOrders WorkOrders object. 68
oCreditPaymentMethods CreditPaymentMethods 70
oCreditCardPayments CreditCardPayments 71
oAlternateCatNum AlternateCatNum object. 73
oBudget Budget object. 77
oBudgetDistribution BudgetDistribution object. 78
oMessages Messages object. 81
oBudgetScenarios BudgetScenarios object. 91
oSalesOpportunities SalesOpportunities object. 97
oUserDefaultGroups UserDefaultGroups 93
oSalesStages SalesStages 101
oActivityTypes ActivityTypes object. 103
oActivityLocations ActivityLocations object. 104
oDrafts Documents object that represents a draft document (see Creating a draft document sample). 112
oDeductionTaxHierarchies DeductionTaxHierarchies object. 116
oDeductionTaxGroups DeductionTaxGroups object. 117
oAdditionalExpenses AdditionalExpenses object. 125
oSalesTaxAuthorities SalesTaxAuthorities object. 126
oSalesTaxAuthoritiesTypes SalesTaxAuthoritiesTypes object. 127
oSalesTaxCodes SalesTaxCodes object. 128
oQueryCategories QueryCategories object. 134
oFactoringIndicators object. FactoringIndicators 138
oPaymentsDrafts Payments object. 140
oAccountSegmentations AccountSegmentations object. 142
oAccountSegmentationCategories AccountSegmentationCategories object. 143
oWarehouseLocations WarehouseLocations object. 144
oForms1099 Forms1099 object. 145
oInventoryCycles InventoryCycles object. 146
oWizardPaymentMethods WizardPaymentMethods object. 147
oBPPriorities BPPriorities object. 150
oDunningLetters DunningLetters object. 151
oUserFields UserFieldsMD object. 152
oUserTables UserTablesMD object. 153
oPickLists PickLists object. 156
oPaymentRunExport PaymentRunExport object. 158
oUserQueries UserQueries object. 160
oMaterialRevaluation MaterialRevaluation object. 162
oCorrectionPurchaseInvoice Documents object that represents a draft of purchase invoice correction document. 163
oCorrectionPurchaseInvoiceReversal Documents object that represents a draft of reverse purchase invoice correction document. 164
oCorrectionInvoice Documents object that represents a draft of correction invoice document. 165
oCorrectionInvoiceReversal Documents object that represents a draft of reverse invoice correction document. 166
oContractTemplates ContractTemplates object. 170
oEmployeesInfo EmployeesInfo object. 171
oCustomerEquipmentCards CustomerEquipmentCards object. 176
oWithholdingTaxCodes WithholdingTaxCodes object. 178
oBillOfExchangeTransactions BillOfExchangeTransaction object. 182
oKnowledgeBaseSolutions KnowledgeBaseSolutions object. 189
oServiceContracts ServiceContracts object. 190
oServiceCalls ServiceCalls object. 191
oUserKeys UserKeysMD object. 193
oQueue Queue object. 194
oSalesForecast SalesForecast object. 198
oTerritories Territories object. 200
oIndustries Industries object. 201
oProductionOrders ProductionOrders object. 202
oPackagesTypes PackagesTypes object. 205
oUserObjectsMD UserObjectsMD object. 206
oTeams Teams object. 211
oRelationships Relationships object. 212
oUserPermissionTree UserPermissionTree object. 214
oActivityStatus ActivityStatus object. 217
oChooseFromList ChooseFromList object. 218
oFormattedSearches FormattedSearches object. 219
oAttachments2 Attachments2 object. 221
oUserLanguages UserLanguages object. 223
oMultiLanguageTranslations MultiLanguageTranslations object. 224
oDynamicSystemStrings DynamicSystemStrings object. 229
oHouseBankAccounts HouseBankAccounts object. 231
oBusinessPlaces BusinessPlaces object. 247
oLocalEra LocalEra object. 250
oSalesTaxInvoice Sales tax invoice. See TaxInvoices object and DocType property with the valid value botit_Invoice. 280
oPurchaseTaxInvoice Purchase tax invoice. See TaxInvoices object and DocType property with the valid value botit_Payment. 281
BoRecordset Recordset object. 300
BoBridge SBObob object. 305
oNotaFiscalUsage NotaFiscalUsage object. 260
oNotaFiscalCFOP NotaFiscalCFOP object. 258
oNotaFiscalCST NotaFiscalCST object. 259
oClosingDateProcedure ClosingDateProcedure object. 261
oBusinessPartnerGroups object. 10
oBPFiscalRegistryID BPFiscalRegistryID object. 278
Hope this helps
Maybe you are looking for
-
Preferences 1 2 3 4 5 6 7 8 9 0 = Backspace Tab q w e r t y u i o p Return capslock a s d f g h j k l shift ` z x c v b n m shift English alt alt Preferences
-
hi I like to know how many times a purchase order report or invoice report is printed and how do i stop the user from reprinting the same report Any functional advice will be really helpful. Regards Sudharshan
-
Function REUSE_ALV_GRID_DISPLAY
Hi ! I wanted to ask few questions concern a standard sap ALV report created by the function REUSE_ALV_GRID_DISPLAY : 1. How to make columns editable, and to enable the user to change values of the columns ? 2. How to make drop down list to a column
-
TimeMachine backup volume about full
My backup volume for TimeMachine is getting full. What can I do to get more free space back?
-
You are kidding me. Right? You lost everything I put in up to this point. You have major system problems and a total lack of concern for your customers..