ABAP: Find all followon documents for SHC line items (PO, Confirmation, etc
Hi SRM ABAPers,
Our requirement is to output all of the followon documents of a SHC including the amounts of each, can anyone help us and point us in the right direction? Can it be done using mapping of the table structures in SRM or through a function module? Please help
Hi Mike,
You can use BBP_PD_GETHISTORY or BBP_PD_SC_GETHISTORY.
Fill Header guid and item guid and header object type and item object type.
Regards
Azad
Similar Messages
-
Is it possible to find all the documents for a serial number ?
Hi all,
I'm using materials with serial numbers in complaints.
Is it possible to find all the documents for this serial number ?
Is it possible to check if this serial number is allready in use in any document ?Hi Mengelkemier,
I think you're posting in the wrong forum. This forum is intended to be used to discuss virtualizing Exchange Server on the the vSphere platform. The question you're asking seems to be a mobile device specific question.
You would probably get better visibility posting on a forum dedicated to your particular device. And for what it's worth, some devices will let you sync all of your email and others will only let you sync a certain amount. It's dependent on the device you're using.
Good luck in finding your answer.
Matt -
How to create matreial document for ten line items (10 documents) by BAPI
Hi
how to create matreial document for ten line items (10 documents) by BAPI_goodsmvt_create
i created but it gives error as "no ites were transferre
and i need code also.
thanks in advancePrabhu Peram wrote:>
> >
Gareth @ Atos Origin UK wrote:
> > Prabhu,
> >
> > You have been on SDN a long time and have a decent amount of points - why do you feel the need to simply cut and paste standard SAP documentation? _-----> I least bother abt the Points, and i never ask somebody to give points to me , if u have any doubt on it , u can check all my postings ? All it does is fill up the SDN servers with replicated data which the original poster could quite easily access themselves via SE37----> Sorry I have seen ur Posting/Reply,dont assume that i do copy & paste for sake of Points.Njoy SAP.>
> > Gareth.
>
>
>
> regards
> Prabhu
Prabhu.
I didn't question you about points at all - I was making the point that you have been on SDN a long time and have a lot of points. Therefore you should know better than to simply cut and paste standard SAP help. If you don't copy and paste for sake of points, what do you do it for? It serves no purpose other than to fill up the servers here on SDN. The original poster appears to have access to a SAP system and SE37 and wants to know how to call a BAPI - they can easily go to SE37 and read the documentation themselves. Posting it here just adds noise and makes searching harder, as well as taking up more and more space on SDN servers.
Gareth. -
How to restrict separate payment document for each line item in APP
HI Experts
PLs let me know how to restrict separate payment document for each line item in APP
Thanks
Sneha
Edited by: Sneha R on Apr 14, 2009 4:18 PMSneha,
If your query was to group items for payment ,in FBZP co code data for payment method there are 2 options 1.group payment for marked items 2.payment per due date.
Also in the Vendor master there is a flag which will ensure that each item is paid individually,if this is what you were looking for ( FK02 change vendor).
In case you want to group items to be paid together Payment Grouping Key can be assigned in Vendor Master .
Shony -
Different value in sales order and billing document for one line item
Hi Experts,
User created a sales order with three line items say line item 10, line item 20, line30 and he did the delivery and billing also. Line item 10 value is 5024.26 EUR in Sales order
At the time of billing the value of a line item 10 is increased by 0.02 i.e. 5024.28
I asked the user cancel that invoice and the post goods issue. He cancelled the invoice and post goods issue. Then he created the PGI and billing now the value of line item decrease by 0.01(5024.27) again he cancelled the invoice and post goods issue. he created the post goods issue and billing. Now the value is correct i.e. 5024.26.
User is asking me the reason can any one help me in this
Note: price is copying from delivery to billingMorning Sunina
Now consider this scenario
Item a - 10
Item b - 20
Item c - 30
and the validity of condition rec for item C is 31st of Jan
after 31st JAN the record changes or there isn't any.
In Copy control the pricing type is 'B' i.e., carry out new pricing.
Now if the document is created in January it will take all the above prices. and this document is then billed in Feb. Now the copycontrol, whilst copying the prices, will predetermine the same.
Now your task is to check if there was user intervention, check the pricing in order and check what condition types got affected in order and in billing.
If your scenario is still not amongst the above cases...
I don't know what to do, if you figure out please let us also know, god know when we would face the same scenario....
Take care -
Difference amount in sales order and billing document (For one line item)
Hi Experts,
User created sales order with 3 line items and billing document. but problem is that there is difference in value of sale order and billing only for line item 10. The remaining items values are same in sales order & billing doc.if I check in sales order condition I found that VPRS condition is used and the value is 692.13and the amount is 3245.26in sales order. But if suppose I check the same value in billing doc the value is 0.69 and the amount is 3245.28. Can u suggest me which configuration I have to check for this.
I also checked change lock but there is no change in sales and billing document & Material
Regards
Sunina agarwalMorning Sunina
Now consider this scenario
Item a - 10
Item b - 20
Item c - 30
and the validity of condition rec for item C is 31st of Jan
after 31st JAN the record changes or there isn't any.
In Copy control the pricing type is 'B' i.e., carry out new pricing.
Now if the document is created in January it will take all the above prices. and this document is then billed in Feb. Now the copycontrol, whilst copying the prices, will predetermine the same.
Now your task is to check if there was user intervention, check the pricing in order and check what condition types got affected in order and in billing.
If your scenario is still not amongst the above cases...
I don't know what to do, if you figure out please let us also know, god know when we would face the same scenario....
Take care -
How to find all purchase documents for project with tcode CNMM
Hi all,
I have some PRs generated for project by MRP running, and i can't these PRs with tcode CNMM .
How to set the system to show them ?
Thanks .Hi Wayne Weng,
CNMM transaction is for PROMAN.
To get the PRs against a project please try ME5J transaction. This will provide you with all the Purchase Requisitions against a project.
To get the POs against a project you may try ME2J.
Hope this will help you.
Venu -
How to find out Last Changed Fields for a line item of a PO
Dear All,
Pls let me know is there any FM or procedure to find the last changed fields for each line item of a PO. I should be able to get the details on the basis of Last changed Date. Can u pls guide me in this?Hello,
Check the table CDHDR,CDPOS for PO items,
Check this code:
REPORT ZV_GET_LATEST_SO .
DATA: BEGIN OF ITAB OCCURS 0,
OBJECTCLAS TYPE CDHDR-OBJECTCLAS,
OBJECTID TYPE CDHDR-OBJECTID,
CHANGENR TYPE CDHDR-CHANGENR,
USERNAME TYPE CDHDR-USERNAME,
UDATE TYPE CDHDR-UDATE,
UTIME TYPE CDHDR-UTIME,
TCODE TYPE CDHDR-TCODE,
TABNAME TYPE CDPOS-TABNAME,
TABKEY TYPE CDPOS-TABKEY,
FNAME TYPE CDPOS-FNAME,
CHNGIND TYPE CDPOS-CHNGIND,
END OF ITAB.
TABLES: CDHDR,CDPOS.
DATA: LT_CDHDR LIKE CDHDR OCCURS 0 WITH HEADER LINE,
LT_CDPOS LIKE CDPOS OCCURS 0 WITH HEADER LINE.
*REFRESH AUSG.
CLEAR CDHDR.
CLEAR CDPOS.
CDHDR-OBJECTCLAS = 'EINKBELEG'.
CDHDR-OBJECTID = '0000001784'. " Purchase order number
**SELECT A~OBJECTCLASS A~OBJECTID A~CHANGENR A~USERNAME A~UDATE A~UNAME
**B~TCODE
**B~TABNAME B~TABKEY B~FNAME B~CHNGIND INTO TABLE ITAB FROM CDHDR AS A
**INNER JOIN CDPOS AS B ON A~OBJECTCLASS = B~OBJECTCLASS
** A~OBJECTID = B~OBJECTID
** A~CHANGENR = B~CHANGENR
** WHERE OBJECTCLAS = 'VERKBELEG'
** AND OBJECTID = '0000001784'.
*SELECT * FROM CDPOS INTO TABLE LT_CDPOS WHERE OBJECTCLAS = 'VERKBELEG'
* AND OBJECTID = '0000001784'.
*IF NOT LT_CDPOS[] IS INITIAL.
* SELECT *
* INTO TABLE LT_CDHDR
* FROM CDHDR
* FOR ALL ENTRIES IN LT_CDPOS
* WHERE OBJECTCLAS = LT_CDPOS-OBJECTCLAS
* AND OBJECTID = LT_CDPOS-OBJECTID
* AND CHANGENR = LT_CDPOS-CHANGENR.
*ENDIF.
** SORT ITAB BY OBJECTCLAS ODJECTID DESCENDING.
*LOOP AT ITAB.
* WRITE: ITAB-UDATE."ITAB-UNAME.
*ENDLOOP.
*--- Interne Tabellen -------------------------------------------------
DATA: BEGIN OF ICDSHW OCCURS 50. "Ausgabeaufbereitung
INCLUDE STRUCTURE CDSHW. "Zwischendatei
DATA: END OF ICDSHW.
CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
EXPORTING
DATE_OF_CHANGE = CDHDR-UDATE
OBJECTCLASS = CDHDR-OBJECTCLAS
OBJECTID = CDHDR-OBJECTID
TIME_OF_CHANGE = CDHDR-UTIME
USERNAME = CDHDR-USERNAME
TABLES
I_CDHDR = LT_CDHDR
EXCEPTIONS
NO_POSITION_FOUND = 1
OTHERS = 2.
LOOP AT LT_CDHDR.
CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
EXPORTING
* ARCHIVE_HANDLE = 0
CHANGENUMBER = LT_CDHDR-CHANGENR
* TABLEKEY = '00000000 '
* TABLENAME = ' '
* IMPORTING
* HEADER =
TABLES
EDITPOS = ICDSHW
* EDITPOS_WITH_HEADER =
* EXCEPTIONS
* NO_POSITION_FOUND = 1
* WRONG_ACCESS_TO_ARCHIVE = 2
* OTHERS = 3
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT ICDSHW.
IF ICDSHW-TABKEY+3(10) = '0000001784'
AND ICDSHW-TABKEY+13(6) = '000001'.
ENDIF.
ENDLOOP.
ENDLOOP.
Vasanth -
Fi document: different tax code for each line item
Dear All,
Our FI department needs to post FI documents by uploading the list of line items. For each line item (even when they have the same g/l account) tax code may be different from 0 to 10%. Also the tax code needs to be entered in EUR not in %. So for example they may need to post the folowing document:
PstKey Account Amount Tax amt
001 21 Vendor 95 EUR Tax amount 5 EUR
002 50 GRIR 100 EUR
003 21 Vendor 90 EUR Tax amount 10 EUR
004 50 GRIR 100 EUR
At the moment users have to post it manually. Tax rate cannot be restricted to allow tax from 0 to 10%.
Can you please advice what would be the best approach for them to make it? Providing they do want to upload the document not enter the items manually..
Thanks a lot in advance for your help!Hi,
are there some messages during this process? Upload this list in foreground batch input execution. Verify if in stop point displays any messagem. If it is the case, go to OBA5 to change its status.
Let me know results.
regards -
Can we link all the documents for a particular requirements document
Hi,
As of now, In Solution Manager we can able to find the document only if we know the document name or any of other details. Can we do in such a manner, If we have requirements document and can we link all related documents (Functional Spec, Technical Spec, Code Review, Test Documents) to the requirements document. If we find the requirement document, we should be able to see all related documents for that specific requirement.
Can we do like this? Is is possible to go in this way. This is my client requirement can anybody help me to achive this.
Thanks and Regards,
Sreekala Rapuru.Hi Sreekala,
In the implementation area, for the documents in your projects (SOLAR01/SOLAR02) you are able to create these links in the attributes of each document. You just have to navigate through the structure of your project in the solar01/02 transactions. Select the row of the document and click in the button attributes. There you'll see a tab named "Links". In this tab you can create such links.
Kind regards,
Fabricius -
Excise duty for some line item of material document is not posted
Dear CIN Exerts,
In my Scenario user is Posting Excise invoice for every GR (105) by J1IEX to generate Excise invoice.
In some Past cases, if there are more then one line item in a GR then Excise value for some material is not showing (May be that time user not Did J1ID (Excise rate maintenance ).
Now the problem is that we wants to post excise Duty for those material WRT material document for whom it was not posted.
Please let me know that how can we do so (excise posting against Material document) so that it get reflected (for those line items for which Excise deuty is not posted) in MIGO > Document Display> Excise items tab .
Regards,
AshutoshExcise posting is not recommended by sap for movements 103 or 105.
Refer or search for SAP notes with subject CIN Limited functionalities. -
I have a number of old 3.5 floppy that i'd like to convert to a format that can be read by my iMAC. These are all Word documents for MAC that are as old as 20 years. Do you have suggestions other than the conversion services that are rather costly?
I don't think any conversions are needed, just get yourself an external USB 3.5" floppy drive and drag the documents onto your iMac's HD. You should be able to locate one on Ebay or maybe even Amazon. To open them you will need something that reads .doc files like Pages, MS Word for Mac etc..
-
Vendor field empty for RE line items in FBL3N
dear all-
I'm experiencing a strange situation. Instead of using the MM-report, I want to do a GRIR analysis in FI. When I run FBL3N for the GRIR account I see that for the goods-receipt related documents (doc type WE) field like puchase order and vendor number are populated (and contain a value). However for the line items that come from the invoice the field purchase order is filled but the field vendor is blank.
I did have a look at the BSEG table for the WE- and RE-related documents: for all line items of the WE document (goods receipt) the fields purchase order and vendor contained a value, for the RE document (invoice receipt) all line items have a value for purchase order but only the first line item (vendor line) has a value for the field vendor. On all the other line items the vendor field is blank.
Looks pretty strange to me, who has a good solution?
thx
Benhi Vishal-
Thanks for the BSIK, BSIS tip!
In the meantime I did find report RFWERE00. I was able to generate a list that indeed showed the vendor number on the GRIR account both from the GR- and RE-document. Didn't have time yet to go over the code to figure out where this report gets its data from.
The report offers options to do actual clearing and do postings ... I'm not interested in that. Only in the list. I have a start now ...
... If you have another I idea that prevents me from creating a customer report ... I'm eager to hear it!
rgds
Ben -
Reason for rejection For open line items
Hi Experts ..
I Have checked in Google and in scn But Not able to find exact one
How to achieve This Issue
Created sales order line item ---150 qnty Now delivered---100 qnty PGI As well as
Now Clint wants to give reason For rejection For 50 qnty
Now Generally what we are doing is Just changing the qnty in sales order change mode VA02 --100
But some times they have so many open line items are there and not possible to change in all line items exact number
So now i trying to give reason for rejection Line item For full 150 qnty Because Automatically 50 qnty Will be reduced in MD04
But when i am Giving reason For rejection To line item system is giving error msg that subsequent document is being processed
So any Enhancement shall we do To skip this
Thank a lotDear T.W Sir Thanks a lot For your replay
But I can not see that the excess qty (not delivered) is being deducted from MRP, when Reason for Rejection is set.
Sir we can see ...May be it will take 5 mnts time To be updated ( MD04)
By the By , sir you have any idea To control This pop-up Message ( In your case it may be information msg But some times We are getting Error Msg )
so Where we can control Warning to Error like this
or it is related to enhancement issue -
Table for GL line items.
Hi ,
Can anybody tell me what is the table for GL line items in R3 side.
Regards,Thanks Voodi and Roberto,
Actually I am in need of following.
I need to take all fields from 0FI_AR_3 DS and Additional fields as follows.
Profit centre
Net Due date
FI Document number
Document line number
End customer country code
Group currency (USD)
customer no
End customer country
document no
line item
Note: Only pull in AR documents into the structure that have status of OPEN.
Can I find out all these fields from both these tables?
Regards,
Maybe you are looking for
-
my iphone 4s has been reporting invalid sim/sim card failure intermittently for a week. I thought it was a one/two-time thing, so had to manually eject SIM card and put back in. Today, after it happened twice in 12 hours, someone told me to reset -
-
How can i send an ibook to a friend?
How can I send an iBook to a friend?
-
6th Gen Nano not found in windows 7
Ok so i just got a 6th gene iPod nano, i have been trying to set it up, but my computer won't recongize it (windows 7). I have tried everything, i have uninstalled and reinstall itunes, i have done the misconfig, i have reset the ipod, i have used di
-
Aperture library lost after deleting preferences/repair?
Hi: I tried opening Aperture this morning and got an error message saying: "There was an error opening the database for the library <library_name>." I found this article from Apple support (http://support.apple.com/kb/HT3805) on the problem. I wasn
-
Where are document ranges defined in SAP? Specifically I am looking for two: 1) Document Range for Goods Receipt from PO 2) Document Range for Good Receipt from Process Order. Thank you