Need to fetch Vendor number from shipment to SD billing document creation
Hi Guru's.
I want to fetch the Vendor number from the Ship Cost document and want to populate on the SD billing document and then corresponding acctg document. Is there any way or user exits available?
Thanks in advance for your help.
Hi
For your requirement you can add a Zfeild in the shipment tables and link that table to the Vendor tables.You can either go with USEREXIT_FIELD_MODIFICATION
Regards
Srinath
Similar Messages
-
Need to fetch the plant from route and country
Hi all,
I need to fetch the "plant" from "route" and "country".
is there any table having all the 3 fields, or any way to link these 3 fields ??
thanks
SriHi Sri,
Try the COPA docs table CE1*
Regards,
Sandeep -
I have a tax exempt form and I need to get taxes removed from my creative cloud bill for two differe
I have a tax exempt form and I need to get taxes removed from my creative cloud bill for two different accounts. How do I do this?
Here you go: http://helpx.adobe.com/x-productkb/policy-pricing/place-tax-exempt-order.html#main_Tax_exe mpt_orders_in_the_U_S__and_Canada
Contact support. -
Pass the shipment costs to billing document
Hi All,
I want to transfer the shipment costs to billing document.
But i don't want to transfer to customer. I want to post it as accruals.
What are the settings need to do in SD and transportation module for copying the shipment costs to billing documenbt.
Do we require to maintain any special config.
Please help me to solve it out.
Thanks
LakkiHi
Maintain the Pricing procedure for the shipment cost document,in which place a Frieght condition type suppose fb00 which also has to be placed in your billing document pricing procedure for the last step with stastical check so that from shipment ,frieght will be copied but the value will not be inclued in the netvalue for ur customer.for frieght condition type maintaian req-51 with base cal -51in ur shipment pri.proc. Apart from this maintain in copy control from delivery-billing price source as 'F'.
Hope this will help u.
Sujith. -
User exit to copy the data from sales order to billing document
hi everyone,
Is there an user exit to copy the data from sales order to billing document?
Regards
Prabudhhi
copy control would be the better option to choose.. but still u can a give a search in list below and opt for the right one..Refer to the link below..
http://www.planetsap.com/Userexit_List.htm
User exits for Sales order
1USEREXIT_DELETE_DOCUMENT
2USEREXIT_FIELD_MODIFICATION
3.USEREXIT_MOVE_FIELD_TO_VBAK
4.USEREXIT_NUMBER_RANGE
5.USEREXIT_SAVE_DOCUMENT
User exits for billing
1.USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
2.USEREXIT_ACCOUNT_PREP_KOMPCV
3USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
4USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB
5.USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
Reward if Useful
Thanx & Regards..
Naren.. -
Copy text from outbound delivery to billing document
Hi Gurus,
Is there a way to copy a text from outbound delivery to billing document?
I found text determination. It is only possible to maintain text from Sales to Billing.
Thanks.
Stéphane.Hi,
Goto the T.Code "VOFA".
Select your billing type.Details.
Goto "Output/partners/texts" tab.
Maintain the "Textdeterm. procedure" as the procedure same as your delivery.
Anotehr way is goto the T.Code "VOTXN".
Here click on "Delivery Header".
Check the check box for "Reference".
Regards,
Krishna. -
Copying Text From Sales order to Billing Document
Hi all,
I have searched all posts for my issue but found nothing so that i am posting this issue.
I want to copy the Some text form sales order to billing document is there any cnfig to do this
order is there any exit for billing in which i can write code to copy text from sales order to billing document.
please provide me a solution.
Thanks in adavnce.
Vinod.Hi,
Use the same t-code VOTXN to do access sequence assignment.
When you choose text object Billing Doc (header/item), there is 3 folders in dialog structure:
- Text procedure
- Access sequence
- text procedure assignment
In the text procedure folder, select related text procedure, then assign the created access sequence to respective text id.
Hope this help.
Cheers, -
Query to fetch vendor number with whom this item was last purchased
Hi All,
We have a requirement to fetch the vendor number for an item with whom the item was last purchased. We need to derive this by looking at the open Purchase Order or the Material Transactions for the transaction type of ‘PO Receipt’ whichever is the latest.
For this we are using the below query, but this query is taking a lot of time and doing an INDEX RANGE SCAN on PO_LINES_N1 & MTL_MATERIAL_TRANSACTIONS_N1
SELECT MAX (v.segment1)KEEP (DENSE_RANK LAST ORDER BY DECODE
(UPPER (poh.closed_code),
'OPEN', poh.creation_date,
mmt.transaction_date
poh.creation_date) seg1
FROM po_headers_all poh,
po_vendors v,
mtl_material_transactions mmt
WHERE poh.po_header_id IN (SELECT pol.po_header_id
FROM po_lines_all pol
WHERE pol.item_id = p_inv_id)
AND v.vendor_id = poh.vendor_id
AND mmt.inventory_item_id(+) = p_inv_id
AND mmt.transaction_type_id(+) = 18
AND mmt.transaction_source_id(+) = poh.po_header_id;
Can anyone please help me in rewriting this query or if we can use different tables to acheive the same functionality.
Regards,
ShrutiHi,
Can anyone please help me with the below query.
Regards,
Shruti -
How to derive Company Code and Vendor Number from CDHDR / CDPOS ?
Hi everyone,
This is my first post and my apologies if this is a wrong forum to ask this.
I'm creating an analytic that will track changes to the vendor master. I know that I have to look into CDHDR and CDPOS tables and that CDHDR.OBJECTCLAS = KRED.
However, part of the requirements is to be able to filter the results by Company Code and Vendor Number as well. How do I do this? How can I link CDHDR to LFA1/LFB1 to get the company code and vendor code?
Any information will be highly appreciated
Thanks!I think you would have gotten answers sooner in the abap forum :P. Anyways the change pointer tables are kept in a different format, not in the normal flatly structured tables. What this means is that the data which comes through the pointer tables are somewhat encrypted. The object class and id present you records; Each change in master data (where the option is set) is recorded in these pointer tables.
I believe there is a function module for converting the data into a readable format; that data should have your company code/vendor number in it. You cannot link the chdr and lfa tables directly- you will need to first convert the data from the pointer tables -
Need to print Header Note from Shipment
Hi gurus
I need to print the Header Note text from shipment.
So far I have the following code:
Include &xxxxxx-tdname& object vttk id 0003 paragraph IT
The X's are what I need to define. Is it VBDKL (although that is Header view for Delivery note) or is there a structure specific to shipment?
Thx,
RMtry if this link helps you.
http://blogs.oracle.com/xmlpublisher/2009/06/conditional_headers.html
Thanks,
Shilpa -
Need to fetch random rownum from a table
Hi All
I need to fetch two random records from a table each time I query it. e.g. my_emp_table if this contains unique employee ids, is there any way to write a query which would give a two random employee records, say for first run 11 and 18 and next time 20 and 28 employee record.
We can get random values by select TRUNC(dbms_random.value(1,250)), TRUNC(dbms_random.value(1,250)) num from dual
but how do I use these values to get the Nth record using sql?
Any help will be appreciated.
Many Thanks!!
- ShashankLooks like this what you are looking for,
WITH result
AS (SELECT LEVEL id, ROWNUM rn
FROM DUAL
CONNECT BY LEVEL <= 10),
required
AS (SELECT TRUNC (DBMS_RANDOM.VALUE ( 1, 10)) rn
FROM DUAL
CONNECT BY LEVEL <= 2)
SELECT *
FROM result a, required b
WHERE a.rn = b.rnG. -
Function Module to fetch Customer Number from Sales Order or Process Order
Hi Gurus,
I am looking for a Function module which gives me customer number from Sales order or Process order.
Please let me know of any FM's available.
Regards,
MadanHi,
Thanks for your response.
I am actually looking for function modules which take "Sales Order" or "Process Order" as input (import parameter) and return Customer Number as output (export parameter).
Please suggest some function modules you know any.
Many Thanks,
Madan -
Need to fetch the data from CMS database
Hi All,
I'm using BO XI 3.1 SP2 and looking for below data to retrieve:
1. I would like to pull the data for universe as below and here my parameter would be my Universe name
Groups
Reports
Groups: which are having access to that universe?
Reports: Reports which are builds using that Universe
2. Also the below data is required for the universe is:
List of Users those are having access to universe. User active is user's status enabled or disabled. And last column is whether user is having permissions to edit the data provider or not.
User ID
User Name
User Group
User Active
Data Provide Edit
Please let me know how I could fetch this data from CMS database.
Thank you..!!There is a spreadsheet in BOB forum under download that extracts the users and groups, etc fromt he CMS database.
You can customize it to get the universes and reports.
User ID - yes available
User Name - yes Available
User Group - yes available
User Active - yes available
Data Provide Edit - I didn't see it in that spreadsheet but I am sure you can find it. -
Get FI Documet number from BKPF table using CO document number in COVP tabl
Hi,
In datasource 0CO_OM_CCA_9 , we have written a code in CMOD to get the FI Document Number from CO document Number.
The flow of code is:
1) From the CO document number, get reference document number (REFBNfield) from, COVP table
2) Pass this REFBN in AWKEY(10) field of BKPF table.
3) We have created new field in datasource named 'ZBELRE' which gets populated with BELNR field obtained from BKPF table.
This ZBELNR is the FI Document number.
But somehow wrong FI Document number is getting populated.
After analyzing code, we found that the AWKEY which we passed in BKPF table is incomplete and the full AWKEY is
COVP-REFBN+COVP-AWORG
Is this condition always remains true in all the cases? Also, is the selection criterion which we have used to find the FI document number from BKPF table is sufficient?
Our CO Consultant says that we should also pass AWTYP along with AWKEY in BKPF table.
Please suggest a solution.
Following is the code :
***********Datasource Modification for0CO_OM_CCA_9*******************
WHEN '0CO_OM_CCA_9'." Data Source
TYPES:BEGIN OF ty_bkpf,
belnr TYPE bkpf-belnr,
xblnr TYPE bkpf-xblnr,
bktxt TYPE bkpf-bktxt,
awkey TYPE bkpf-awkey,
bukrs TYPE bkpf-bukrs,
gjahr TYPE bkpf-gjahr,
END OF ty_bkpf.
TYPES : BEGIN OF ty_bseg1,
lifnr TYPE bseg-lifnr,
belnr TYPE bseg-belnr,
bukrs TYPE bseg-bukrs,
gjahr TYPE bseg-gjahr,
END OF ty_bseg1.
DATA: it_bkpf TYPE STANDARD TABLE OF ty_bkpf,
wa_bkpf TYPE ty_bkpf,
it_bseg1 TYPE STANDARD TABLE OF ty_bseg1,
wa_bseg1 TYPE ty_bseg1,
l_s_icctrcsta1 TYPE icctrcsta1.
"Extract structure for Datasoure 0co_om_cca_9.
DATA: l_awkey TYPE bkpf-awkey.
DATA: l_gjahr1 TYPE gjahr.
DATA: len TYPE i,
l_cnt TYPE i.
l_cnt = 10.
SELECT lifnr
belnr
bukrs
gjahr
FROM bseg
INTO TABLE it_bseg1.
DELETE ADJACENT DUPLICATES FROM it_bseg1 COMPARING belnr gjahr .
SELECT belnr
xblnr
bktxt
awkey
bukrs
gjahr
FROM bkpf
INTO TABLE it_bkpf.
IF sy-subrc EQ 0.
CLEAR: l_s_icctrcsta1,
wa_bkpf,
l_awkey,
wa_bseg1.
LOOP AT c_t_data INTO l_s_icctrcsta1.
MOVE l_s_icctrcsta1-fiscper(4) TO l_gjahr1.
READ TABLE it_bkpf INTO wa_bkpf WITH KEY awkey(10) =
l_s_icctrcsta1-refbn
gjahr = l_gjahr1.
IF sy-subrc EQ 0.
MOVE wa_bkpf-belnr TO l_s_icctrcsta1-zzbelnr.
MOVE wa_bkpf-xblnr TO l_s_icctrcsta1-zzxblnr.
MOVE wa_bkpf-bktxt TO l_s_icctrcsta1-zzbktxt.
MODIFY c_t_data FROM l_s_icctrcsta1.
READ TABLE it_bseg1 INTO wa_bseg1
WITH KEY
belnr = wa_bkpf-belnr
bukrs = wa_bkpf-bukrs
gjahr = wa_bkpf-gjahr.
IF sy-subrc EQ 0.
MOVE wa_bseg1-lifnr TO l_s_icctrcsta1-lifnr.
MODIFY c_t_data FROM l_s_icctrcsta1.
CLEAR: l_s_icctrcsta1,
wa_bseg1,
l_gjahr1.
ENDIF.
ENDIF.
CLEAR: l_s_icctrcsta1.
ENDLOOP.
ENDIF.
***End of Datasource Modification for 0CO_OM_CCA_9*******************Hi,
this forum is for the SAP BusinessObjects BI Solution Architecture. Please post your question into the corresponding product forum for SPA BW
regards
Ingo Hilgefort -
Need to copy a custom field from sales order to billing document
Hi All,
I have a requirement, I need to add a new field in the sales order header part and even a field in the billing document, once i add this field up in both the documents in the header part i need to create a copy routine using the VOFM tran, can any body help me on what's the procedure to add a field in billing document and does the copy routine transfer the data ( Custom Field ) from Sales Order to the Billing Document, if yes can somebody help me with the procedure on how to and code of it.
solved it myself ....
Regards.
Message was edited by: seshi
seshiHello,
Regarding item 1, is it in the region of the global links (ie logout, home, preferences, etc.)? If not, have you tried creating a link via personalizations to the region you wish to have the link displayed (item type = link, destination = fully qualified name of your .xml page/region?
Regarding item 2, you may have to create the custom subtab programatically using the controller for the region of the current subtab layout.
Regarding item 3, you can also add a submit button to the page button bar region via personalizations. You can then add any logic you want to the button in the controller for the page.
Hope this helps.
Maybe you are looking for
-
I had bought the iphone 5 four months ago. The problem is that it gets heated too much. I noticed it recently. What should I do? Should I take it to apple store to replace? Will they replace my iphone 5?
-
Problem when trying to send a mail with pdf file attached
When I use this features from Adobe reader, a new mail is opened with pdf file but my Outlook signature is not set automatically. Note that all is right configure in Outlook 2007 for the signature option... Do you have a solution for this problem ?
-
Can't start my laptop - file folder with a question mark is on the screen -
what should I do? got my new Macbook only one month ago. now traveling, but can't start up the computer.
-
BO XI3.0 - OpenDocument on WebI bar graph
Hi: I'm still learning the tool - I have created a bar graph - the requirement is when user clicks on a bar it should open up another report with the value of the bar clicked - E.g. bar is for 3 values - X, Y and Z ... if user clicks on Z's bar then
-
Description is showing for blank key values in master data
Hello experts, I have loaded master data text. In general the first record of master data will be blank. But my case its showing description (short, medium) for blank key value. Could any one help me in this matter? Thanks Prathap